Skip to content

Commit bc64833

Browse files
[PWGLF] Improvements in sigma0 tasks (AliceO2Group#10981)
Co-authored-by: ALICE Action Bot <[email protected]>
1 parent f180217 commit bc64833

File tree

5 files changed

+1247
-1189
lines changed

5 files changed

+1247
-1189
lines changed

PWGLF/DataModel/LFSigmaTables.h

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ DECLARE_SOA_COLUMN(SigmaOPAngle, sigmaOPAngle, float);
3636
DECLARE_SOA_COLUMN(SigmaCentrality, sigmaCentrality, float);
3737
DECLARE_SOA_COLUMN(SigmaRunNumber, sigmaRunNumber, int);
3838
DECLARE_SOA_COLUMN(SigmaTimestamp, sigmaTimestamp, uint64_t);
39+
DECLARE_SOA_COLUMN(SigmaIR, sigmaIR, float);
3940

4041
} // namespace sigma0Core
4142

@@ -46,7 +47,8 @@ DECLARE_SOA_TABLE(Sigma0Cores, "AOD", "SIGMA0CORES",
4647
sigma0Core::SigmaOPAngle,
4748
sigma0Core::SigmaCentrality,
4849
sigma0Core::SigmaRunNumber,
49-
sigma0Core::SigmaTimestamp);
50+
sigma0Core::SigmaTimestamp,
51+
sigma0Core::SigmaIR);
5052

5153
// For Photon extra info
5254
namespace sigmaPhotonExtra
@@ -81,6 +83,8 @@ DECLARE_SOA_COLUMN(PhotonPosITSCls, photonPosITSCls, int);
8183
DECLARE_SOA_COLUMN(PhotonNegITSCls, photonNegITSCls, int);
8284
DECLARE_SOA_COLUMN(PhotonPosITSChi2PerNcl, photonPosITSChi2PerNcl, float);
8385
DECLARE_SOA_COLUMN(PhotonNegITSChi2PerNcl, photonNegITSChi2PerNcl, float);
86+
DECLARE_SOA_COLUMN(PhotonPosTrackCode, photonPosTrackCode, uint8_t);
87+
DECLARE_SOA_COLUMN(PhotonNegTrackCode, photonNegTrackCode, uint8_t);
8488
DECLARE_SOA_COLUMN(PhotonV0Type, photonV0Type, uint8_t);
8589
DECLARE_SOA_COLUMN(GammaBDTScore, gammaBDTScore, float);
8690

@@ -117,6 +121,8 @@ DECLARE_SOA_TABLE(SigmaPhotonExtras, "AOD", "SIGMA0PHOTON",
117121
sigmaPhotonExtra::PhotonNegITSCls,
118122
sigmaPhotonExtra::PhotonPosITSChi2PerNcl,
119123
sigmaPhotonExtra::PhotonNegITSChi2PerNcl,
124+
sigmaPhotonExtra::PhotonPosTrackCode,
125+
sigmaPhotonExtra::PhotonNegTrackCode,
120126
sigmaPhotonExtra::PhotonV0Type,
121127
sigmaPhotonExtra::GammaBDTScore);
122128

@@ -159,6 +165,8 @@ DECLARE_SOA_COLUMN(LambdaPosITSCls, lambdaPosITSCls, int);
159165
DECLARE_SOA_COLUMN(LambdaNegITSCls, lambdaNegITSCls, int);
160166
DECLARE_SOA_COLUMN(LambdaPosITSChi2PerNcl, lambdaPosChi2PerNcl, float);
161167
DECLARE_SOA_COLUMN(LambdaNegITSChi2PerNcl, lambdaNegChi2PerNcl, float);
168+
DECLARE_SOA_COLUMN(LambdaPosTrackCode, lambdaPosTrackCode, uint8_t);
169+
DECLARE_SOA_COLUMN(LambdaNegTrackCode, lambdaNegTrackCode, uint8_t);
162170
DECLARE_SOA_COLUMN(LambdaV0Type, lambdaV0Type, uint8_t);
163171
DECLARE_SOA_COLUMN(LambdaBDTScore, lambdaBDTScore, float);
164172
DECLARE_SOA_COLUMN(AntiLambdaBDTScore, antilambdaBDTScore, float);
@@ -202,6 +210,8 @@ DECLARE_SOA_TABLE(SigmaLambdaExtras, "AOD", "SIGMA0LAMBDA",
202210
sigmaLambdaExtra::LambdaNegITSCls,
203211
sigmaLambdaExtra::LambdaPosITSChi2PerNcl,
204212
sigmaLambdaExtra::LambdaNegITSChi2PerNcl,
213+
sigmaLambdaExtra::LambdaPosTrackCode,
214+
sigmaLambdaExtra::LambdaNegTrackCode,
205215
sigmaLambdaExtra::LambdaV0Type,
206216
sigmaLambdaExtra::LambdaBDTScore,
207217
sigmaLambdaExtra::AntiLambdaBDTScore);
@@ -216,10 +226,12 @@ DECLARE_SOA_COLUMN(PhotonCandPDGCode, photonCandPDGCode, int);
216226
DECLARE_SOA_COLUMN(PhotonCandPDGCodeMother, photonCandPDGCodeMother, int);
217227
DECLARE_SOA_COLUMN(IsPhotonCandPrimary, isPhotonCandPrimary, bool);
218228
DECLARE_SOA_COLUMN(PhotonMCPt, photonMCPt, float);
229+
DECLARE_SOA_COLUMN(PhotonIsCorrectlyAssoc, photonIsCorrectlyAssoc, bool);
219230
DECLARE_SOA_COLUMN(LambdaCandPDGCode, lambdaCandPDGCode, int);
220231
DECLARE_SOA_COLUMN(LambdaCandPDGCodeMother, lambdaCandPDGCodeMother, int);
221232
DECLARE_SOA_COLUMN(IsLambdaCandPrimary, isLambdaCandPrimary, bool);
222233
DECLARE_SOA_COLUMN(LambdaMCPt, lambdaMCPt, float);
234+
DECLARE_SOA_COLUMN(LambdaIsCorrectlyAssoc, lambdaIsCorrectlyAssoc, bool);
223235

224236
} // namespace sigmaMCCore
225237

@@ -231,10 +243,12 @@ DECLARE_SOA_TABLE(SigmaMCCores, "AOD", "SIGMA0MCCORES",
231243
sigmaMCCore::PhotonCandPDGCodeMother,
232244
sigmaMCCore::IsPhotonCandPrimary,
233245
sigmaMCCore::PhotonMCPt,
246+
sigmaMCCore::PhotonIsCorrectlyAssoc,
234247
sigmaMCCore::LambdaCandPDGCode,
235248
sigmaMCCore::LambdaCandPDGCodeMother,
236249
sigmaMCCore::IsLambdaCandPrimary,
237-
sigmaMCCore::LambdaMCPt);
250+
sigmaMCCore::LambdaMCPt,
251+
sigmaMCCore::LambdaIsCorrectlyAssoc);
238252
} // namespace o2::aod
239253

240254
#endif // PWGLF_DATAMODEL_LFSIGMATABLES_H_

PWGLF/TableProducer/Strangeness/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ o2physics_add_dpl_workflow(cascademlselection
149149

150150
o2physics_add_dpl_workflow(sigma0builder
151151
SOURCES sigma0builder.cxx
152-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::MLCore
152+
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::MLCore O2Physics::AnalysisCCDB
153153
COMPONENT_NAME Analysis)
154154

155155
o2physics_add_dpl_workflow(lambdajetpolarizationbuilder

0 commit comments

Comments
 (0)