Skip to content

Commit bae1326

Browse files
First EMCal implementation on sigma0builder
1 parent 4dc666a commit bae1326

File tree

3 files changed

+510
-90
lines changed

3 files changed

+510
-90
lines changed

PWGLF/DataModel/LFSigmaTables.h

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,42 @@ DECLARE_SOA_TABLE(Sigma0PhotonExtras, "AOD", "SIGMA0PHOTON",
502502
sigma0PhotonExtra::PhotonNegTrackCode,
503503
sigma0PhotonExtra::PhotonV0Type);
504504

505+
506+
// For EMCal Photon extra info
507+
namespace sigma0EMPhoton
508+
{
509+
//______________________________________________________
510+
// REGULAR COLUMNS FOR SIGMA0EMPHOTON
511+
DECLARE_SOA_COLUMN(PhotonID, photonID, int);
512+
DECLARE_SOA_COLUMN(PhotonEnergy, photonEnergy, float);
513+
DECLARE_SOA_COLUMN(PhotonEta, photonEta, float);
514+
DECLARE_SOA_COLUMN(PhotonPhi, photonPhi, float);
515+
DECLARE_SOA_COLUMN(PhotonM02, photonM02, float);
516+
DECLARE_SOA_COLUMN(PhotonM20, photonM20, float);
517+
DECLARE_SOA_COLUMN(PhotonNCells, photonNCells, int);
518+
DECLARE_SOA_COLUMN(PhotonTime, photonTime, float);
519+
DECLARE_SOA_COLUMN(PhotonIsExotic, photonIsExotic, bool);
520+
DECLARE_SOA_COLUMN(PhotonDistToBad, photonDistToBad, float);
521+
DECLARE_SOA_COLUMN(PhotonNLM, photonNLM, int);
522+
DECLARE_SOA_COLUMN(PhotonDefinition, photonDefinition, int);
523+
524+
} // namespace sigma0PhotonExtra
525+
526+
DECLARE_SOA_TABLE(sigma0EMPhotons, "AOD", "SIGMA0EMPHOTON",
527+
sigma0EMPhoton::PhotonID,
528+
sigma0EMPhoton::PhotonEnergy,
529+
sigma0EMPhoton::PhotonEta,
530+
sigma0EMPhoton::PhotonPhi,
531+
sigma0EMPhoton::PhotonM02,
532+
sigma0EMPhoton::PhotonM20,
533+
sigma0EMPhoton::PhotonNCells,
534+
sigma0EMPhoton::PhotonTime,
535+
sigma0EMPhoton::PhotonIsExotic,
536+
sigma0EMPhoton::PhotonDistToBad,
537+
sigma0EMPhoton::PhotonNLM,
538+
sigma0EMPhoton::PhotonDefinition);
539+
540+
505541
// For Lambda extra info
506542
namespace sigma0LambdaExtra
507543
{

PWGLF/TableProducer/Strangeness/CMakeLists.txt

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

140140
o2physics_add_dpl_workflow(sigma0builder
141141
SOURCES sigma0builder.cxx
142-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::MLCore O2Physics::AnalysisCCDB
142+
PUBLIC_LINK_LIBRARIES O2::Framework O2::EMCALBase O2Physics::AnalysisCore O2Physics::MLCore O2Physics::AnalysisCCDB
143143
COMPONENT_NAME Analysis)
144144

145145
o2physics_add_dpl_workflow(lambdajetpolarizationbuilder

0 commit comments

Comments
 (0)