Skip to content

Commit 9cc52ee

Browse files
jikim1290alibuild
andauthored
[PWGLF] initial commit for heptaquark search (#9915)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 517b960 commit 9cc52ee

File tree

3 files changed

+497
-0
lines changed

3 files changed

+497
-0
lines changed
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2+
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3+
// All rights not expressly granted are reserved.
4+
//
5+
// This software is distributed under the terms of the GNU General Public
6+
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7+
//
8+
// In applying this license CERN does not waive the privileges and immunities
9+
// granted to it by virtue of its status as an Intergovernmental Organization
10+
// or submit itself to any jurisdiction.
11+
12+
///
13+
/// \author Junlee Kim <junlee.kim@cern.ch>
14+
15+
#ifndef PWGLF_DATAMODEL_REDUCEDHEPTAQUARKTABLES_H_
16+
#define PWGLF_DATAMODEL_REDUCEDHEPTAQUARKTABLES_H_
17+
18+
#include <cmath>
19+
20+
#include "Common/DataModel/Centrality.h"
21+
#include "Common/DataModel/Multiplicity.h"
22+
#include "Common/DataModel/PIDResponse.h"
23+
#include "Common/Core/RecoDecay.h"
24+
#include "Common/DataModel/TrackSelectionTables.h"
25+
#include "Framework/AnalysisDataModel.h"
26+
#include "Framework/ASoA.h"
27+
28+
namespace o2::aod
29+
{
30+
namespace redhqevent
31+
{
32+
DECLARE_SOA_COLUMN(NumPhi, numPhi, int); //! Number of negative K
33+
DECLARE_SOA_COLUMN(NumLambda, numLambda, int); //! Number of lambda
34+
} // namespace redhqevent
35+
DECLARE_SOA_TABLE(RedHQEvents, "AOD", "REDHQEVENT",
36+
o2::soa::Index<>,
37+
bc::GlobalBC,
38+
bc::RunNumber,
39+
timestamp::Timestamp,
40+
collision::PosZ,
41+
collision::NumContrib,
42+
redhqevent::NumPhi,
43+
redhqevent::NumLambda);
44+
using RedHQEvent = RedHQEvents::iterator;
45+
46+
namespace hqtrack
47+
{
48+
DECLARE_SOA_INDEX_COLUMN(RedHQEvent, redHQEvent);
49+
DECLARE_SOA_COLUMN(HQId, hqId, int); //! HQ ID
50+
DECLARE_SOA_COLUMN(HQPx, hqPx, float); //! HQ Px
51+
DECLARE_SOA_COLUMN(HQPy, hqPy, float); //! HQ Py
52+
DECLARE_SOA_COLUMN(HQPz, hqPz, float); //! HQ Pz
53+
DECLARE_SOA_COLUMN(HQd1Px, hqd1Px, float); //! HQ d1 Px
54+
DECLARE_SOA_COLUMN(HQd1Py, hqd1Py, float); //! HQ d1 Py
55+
DECLARE_SOA_COLUMN(HQd1Pz, hqd1Pz, float); //! HQ d1 Pz
56+
DECLARE_SOA_COLUMN(HQd2Px, hqd2Px, float); //! HQ d2 Px
57+
DECLARE_SOA_COLUMN(HQd2Py, hqd2Py, float); //! HQ d2 Py
58+
DECLARE_SOA_COLUMN(HQd2Pz, hqd2Pz, float); //! HQ d2 Pz
59+
DECLARE_SOA_COLUMN(HQMass, hqMass, float); //! HQ Mass
60+
DECLARE_SOA_COLUMN(HQd1Index, hqd1Index, int64_t); //! HQ d1 index
61+
DECLARE_SOA_COLUMN(HQd2Index, hqd2Index, int64_t); //! HQ d2 index
62+
DECLARE_SOA_COLUMN(HQd1Charge, hqd1Charge, float); //! HQ d1 charge
63+
DECLARE_SOA_COLUMN(HQd2Charge, hqd2Charge, float); //! HQ d1 charge
64+
DECLARE_SOA_COLUMN(HQd1TPC, hqd1TPC, float); //! TPC nsigma d1
65+
DECLARE_SOA_COLUMN(HQd2TPC, hqd2TPC, float); //! TPC nsigma d2
66+
67+
} // namespace hqtrack
68+
DECLARE_SOA_TABLE(HQTracks, "AOD", "HQTRACK",
69+
o2::soa::Index<>,
70+
hqtrack::RedHQEventId,
71+
hqtrack::HQId,
72+
hqtrack::HQPx,
73+
hqtrack::HQPy,
74+
hqtrack::HQPz,
75+
hqtrack::HQd1Px,
76+
hqtrack::HQd1Py,
77+
hqtrack::HQd1Pz,
78+
hqtrack::HQd2Px,
79+
hqtrack::HQd2Py,
80+
hqtrack::HQd2Pz,
81+
hqtrack::HQMass,
82+
hqtrack::HQd1Index,
83+
hqtrack::HQd2Index,
84+
hqtrack::HQd1Charge,
85+
hqtrack::HQd2Charge,
86+
hqtrack::HQd1TPC,
87+
hqtrack::HQd2TPC);
88+
89+
using HQTrack = HQTracks::iterator;
90+
} // namespace o2::aod
91+
#endif // PWGLF_DATAMODEL_REDUCEDHEPTAQUARKTABLES_H_

PWGLF/TableProducer/Resonances/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,8 @@ o2physics_add_dpl_workflow(reso2mergedf
4444
SOURCES LFResonanceMergeDF.cxx
4545
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsBase
4646
COMPONENT_NAME Analysis)
47+
48+
o2physics_add_dpl_workflow(heptaquarktable
49+
SOURCES HeptaQuarktable.cxx
50+
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsVertexing
51+
COMPONENT_NAME Analysis)

0 commit comments

Comments
 (0)