|
9 | 9 | // granted to it by virtue of its status as an Intergovernmental Organization |
10 | 10 | // or submit itself to any jurisdiction. |
11 | 11 |
|
12 | | -#include <vector> |
13 | | -#include "Framework/AnalysisDataModel.h" |
14 | | -#include "Common/DataModel/PIDResponse.h" |
| 12 | +#include "Common/DataModel/Centrality.h" |
15 | 13 | #include "Common/DataModel/EventSelection.h" |
16 | | -#include "Common/DataModel/TrackSelectionTables.h" |
17 | 14 | #include "Common/DataModel/Multiplicity.h" |
18 | | -#include "Common/DataModel/Centrality.h" |
| 15 | +#include "Common/DataModel/PIDResponse.h" |
| 16 | +#include "Common/DataModel/TrackSelectionTables.h" |
| 17 | + |
| 18 | +#include "Framework/AnalysisDataModel.h" |
| 19 | + |
| 20 | +#include <vector> |
19 | 21 |
|
20 | 22 | #ifndef PWGEM_DILEPTON_DATAMODEL_LMEEMLTABLES_H_ |
21 | 23 | #define PWGEM_DILEPTON_DATAMODEL_LMEEMLTABLES_H_ |
22 | 24 |
|
23 | 25 | namespace o2::aod |
24 | 26 | { |
25 | 27 |
|
26 | | -namespace pwgem::dilepton |
| 28 | +namespace pwgem::dilepton::ml |
27 | 29 | { |
28 | | -enum class PID_Label : int { |
29 | | - kUnDef = -1, |
| 30 | +enum class PID_Label : uint8_t { |
30 | 31 | kElectron = 0, |
31 | 32 | kMuon = 1, |
32 | 33 | kPion = 2, |
33 | 34 | kKaon = 3, |
34 | 35 | kProton = 4, |
35 | 36 | }; // this can be used for eID. |
36 | 37 |
|
37 | | -enum class Track_Type : int { |
| 38 | +enum class Track_Type : uint8_t { |
38 | 39 | kPrimary = 0, |
39 | 40 | kSecondary = 1, |
40 | 41 | }; // this can be used for selecting electron from primary or photon conversion. |
41 | 42 |
|
42 | | -} // namespace pwgem::dilepton |
| 43 | +} // namespace pwgem::dilepton::ml |
43 | 44 |
|
44 | 45 | namespace emprimarytrack |
45 | 46 | { |
46 | | -DECLARE_SOA_COLUMN(CollisionId, collisionId, int); //! |
| 47 | +// DECLARE_SOA_COLUMN(CollisionId, collisionId, int); //! |
47 | 48 | DECLARE_SOA_COLUMN(PIDLabel, pidlabel, int); //! |
48 | 49 | DECLARE_SOA_COLUMN(TrackType, tracktype, int); //! |
49 | 50 | DECLARE_SOA_COLUMN(TPCNClsFound, tpcNClsFound, int); //! |
50 | 51 | DECLARE_SOA_COLUMN(TPCNClsCrossedRows, tpcNClsCrossedRows, int); //! |
51 | 52 | DECLARE_SOA_COLUMN(IsForValidation, isForValidation, bool); //! |
| 53 | +DECLARE_SOA_COLUMN(Sign, sign, short); //! |
52 | 54 | DECLARE_SOA_DYNAMIC_COLUMN(P, p, [](float pt, float eta) -> float { return pt * std::cosh(eta); }); |
53 | 55 | DECLARE_SOA_DYNAMIC_COLUMN(MeanClusterSizeITS, meanClusterSizeITS, [](uint32_t itsClusterSizes) -> float { |
54 | 56 | int total_cluster_size = 0, nl = 0; |
@@ -84,8 +86,8 @@ DECLARE_SOA_DYNAMIC_COLUMN(MeanClusterSizeITSob, meanClusterSizeITSob, [](uint32 |
84 | 86 |
|
85 | 87 | // reconstructed track information |
86 | 88 | DECLARE_SOA_TABLE(EMPrimaryTracks, "AOD", "EMPTRACK", //! |
87 | | - o2::soa::Index<>, emprimarytrack::CollisionId, collision::PosZ, collision::NumContrib, evsel::NumTracksInTimeRange, evsel::SumAmpFT0CInTimeRange, |
88 | | - track::Pt, track::Eta, track::Phi, track::Tgl, track::Signed1Pt, |
| 89 | + o2::soa::Index<>, collision::PosZ, collision::NumContrib, evsel::NumTracksInTimeRange, evsel::SumAmpFT0CInTimeRange, |
| 90 | + track::Pt, track::Eta, track::Phi, track::Tgl, emprimarytrack::Sign, |
89 | 91 | track::DcaXY, track::DcaZ, track::CYY, track::CZZ, track::CZY, |
90 | 92 | track::TPCNClsFindable, emprimarytrack::TPCNClsFound, emprimarytrack::TPCNClsCrossedRows, |
91 | 93 | track::TPCChi2NCl, track::TPCInnerParam, |
|
0 commit comments