-
Notifications
You must be signed in to change notification settings - Fork 652
Expand file tree
/
Copy pathLFEbyeTables.h
More file actions
165 lines (150 loc) · 6.29 KB
/
LFEbyeTables.h
File metadata and controls
165 lines (150 loc) · 6.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
#include <Framework/AnalysisDataModel.h>
#include <cstdint>
#ifndef PWGLF_DATAMODEL_LFEBYETABLES_H_
#define PWGLF_DATAMODEL_LFEBYETABLES_H_
namespace o2::aod
{
namespace LFEbyeCollTable
{
DECLARE_SOA_COLUMN(Centrality, centrality, uint8_t);
DECLARE_SOA_COLUMN(Zvtx, zvtx, float);
DECLARE_SOA_COLUMN(ZvtxMask, zvtxMask, int8_t);
DECLARE_SOA_COLUMN(TriggerMask, triggerMask, uint8_t);
DECLARE_SOA_COLUMN(CBMultiplicity, cbMultiplicity, uint8_t);
DECLARE_SOA_COLUMN(Ntracks, ntracks, uint8_t);
} // namespace LFEbyeCollTable
DECLARE_SOA_TABLE(CollEbyeTables, "AOD", "COLLEBYETABLE",
o2::soa::Index<>,
LFEbyeCollTable::Centrality,
LFEbyeCollTable::Zvtx);
using CollEbyeTable = CollEbyeTables::iterator;
DECLARE_SOA_TABLE(MiniCollTables, "AOD", "MINICOLLTABLE",
o2::soa::Index<>,
LFEbyeCollTable::ZvtxMask,
LFEbyeCollTable::TriggerMask,
LFEbyeCollTable::CBMultiplicity,
LFEbyeCollTable::Centrality,
LFEbyeCollTable::Ntracks);
using MiniCollTable = MiniCollTables::iterator;
namespace LFEbyeTable
{
DECLARE_SOA_INDEX_COLUMN(CollEbyeTable, collEbyeTable);
DECLARE_SOA_INDEX_COLUMN(MiniCollTable, miniCollTable);
DECLARE_SOA_COLUMN(Pt, pt, float);
DECLARE_SOA_COLUMN(Eta, eta, float);
DECLARE_SOA_COLUMN(Mass, mass, float);
DECLARE_SOA_COLUMN(DcaPV, dcaPV, float);
DECLARE_SOA_COLUMN(TpcNcls, tpcNcls, uint8_t);
DECLARE_SOA_COLUMN(TpcNsigma, tpcNsigma, float);
DECLARE_SOA_COLUMN(TofMass, tofMass, float);
DECLARE_SOA_COLUMN(DcaV0PV, dcaV0Pv, float);
DECLARE_SOA_COLUMN(DcaNegPV, dcaNegPv, float);
DECLARE_SOA_COLUMN(DcaPosPV, dcaPosPv, float);
DECLARE_SOA_COLUMN(DcaV0Tracks, dcaV0tracks, float);
DECLARE_SOA_COLUMN(CosPA, cosPa, double);
DECLARE_SOA_COLUMN(TpcNsigmaNeg, tpcNsigmaNeg, float);
DECLARE_SOA_COLUMN(TpcNsigmaPos, tpcNsigmaPos, float);
DECLARE_SOA_COLUMN(IdNeg, idNeg, int64_t);
DECLARE_SOA_COLUMN(IdPos, idPos, int64_t);
DECLARE_SOA_COLUMN(GenPt, genPt, float);
DECLARE_SOA_COLUMN(GenEta, genEta, float);
DECLARE_SOA_COLUMN(PdgCode, pdgCode, int);
DECLARE_SOA_COLUMN(IsReco, isReco, bool);
DECLARE_SOA_COLUMN(EtaMask, etaMask, int8_t);
DECLARE_SOA_COLUMN(SelMask, selMask, int);
DECLARE_SOA_COLUMN(OuterPID, outerPID, float);
DECLARE_SOA_COLUMN(GenEtaMask, genEtaMask, int8_t);
} // namespace LFEbyeTable
DECLARE_SOA_TABLE(NucleiEbyeTables, "AOD", "NUCLEBYETABLE",
o2::soa::Index<>,
LFEbyeTable::CollEbyeTableId,
LFEbyeTable::Pt,
LFEbyeTable::Eta,
LFEbyeTable::Mass,
LFEbyeTable::DcaPV,
LFEbyeTable::TpcNcls,
LFEbyeTable::TpcNsigma,
LFEbyeTable::TofMass);
using NucleiEbyeTable = NucleiEbyeTables::iterator;
DECLARE_SOA_TABLE(McNucleiEbyeTables, "AOD", "MCNUCLEBYETABLE",
o2::soa::Index<>,
LFEbyeTable::CollEbyeTableId,
LFEbyeTable::Pt,
LFEbyeTable::Eta,
LFEbyeTable::Mass,
LFEbyeTable::DcaPV,
LFEbyeTable::TpcNcls,
LFEbyeTable::TpcNsigma,
LFEbyeTable::TofMass,
LFEbyeTable::GenPt,
LFEbyeTable::GenEta,
LFEbyeTable::PdgCode,
LFEbyeTable::IsReco);
using McNucleiEbyeTable = McNucleiEbyeTables::iterator;
DECLARE_SOA_TABLE(LambdaEbyeTables, "AOD", "LAMBEBYETABLE",
o2::soa::Index<>,
LFEbyeTable::CollEbyeTableId,
LFEbyeTable::Pt,
LFEbyeTable::Eta,
LFEbyeTable::Mass,
LFEbyeTable::DcaV0PV,
// LFEbyeTable::DcaNegPV,
// LFEbyeTable::DcaPosPV,
LFEbyeTable::DcaV0Tracks,
LFEbyeTable::CosPA,
// LFEbyeTable::TpcNsigmaNeg,
// LFEbyeTable::TpcNsigmaPos,
LFEbyeTable::IdNeg,
LFEbyeTable::IdPos);
using LambdaEbyeTable = LambdaEbyeTables::iterator;
DECLARE_SOA_TABLE(McLambdaEbyeTables, "AOD", "MCLAMBEBYETABLE",
o2::soa::Index<>,
LFEbyeTable::CollEbyeTableId,
LFEbyeTable::Pt,
LFEbyeTable::Eta,
LFEbyeTable::Mass,
LFEbyeTable::DcaV0PV,
// LFEbyeTable::DcaNegPV,
// LFEbyeTable::DcaPosPV,
LFEbyeTable::DcaV0Tracks,
LFEbyeTable::CosPA,
// LFEbyeTable::TpcNsigmaNeg,
// LFEbyeTable::TpcNsigmaPos,
LFEbyeTable::IdNeg,
LFEbyeTable::IdPos,
LFEbyeTable::GenPt,
LFEbyeTable::GenEta,
LFEbyeTable::PdgCode,
LFEbyeTable::IsReco);
using McLambdaEbyeTable = McLambdaEbyeTables::iterator;
DECLARE_SOA_TABLE(MiniTrkTables, "AOD", "MINITRKTABLE",
o2::soa::Index<>,
LFEbyeTable::MiniCollTableId,
LFEbyeTable::Pt,
LFEbyeTable::EtaMask,
LFEbyeTable::SelMask,
LFEbyeTable::OuterPID);
using MiniTrkTable = MiniTrkTables::iterator;
DECLARE_SOA_TABLE(McMiniTrkTables, "AOD", "MCMINITRKTABLE",
o2::soa::Index<>,
LFEbyeTable::MiniCollTableId,
LFEbyeTable::Pt,
LFEbyeTable::EtaMask,
LFEbyeTable::SelMask,
LFEbyeTable::OuterPID,
LFEbyeTable::GenPt,
LFEbyeTable::GenEtaMask,
LFEbyeTable::IsReco);
using McMiniTrkTable = McMiniTrkTables::iterator;
} // namespace o2::aod
#endif // PWGLF_DATAMODEL_LFEBYETABLES_H_