File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656#include < Math/Vector4Dfwd.h>
5757#include < TF1.h>
5858#include < TH2.h>
59+ #include < TPDGCode.h>
5960#include < TString.h>
6061
6162#include < cmath>
@@ -808,10 +809,10 @@ struct Pi0EtaToGammaGammaMC {
808809 auto photon2moth = mcparticles.iteratorAt (photon2mothid);
809810 if (photon2pdg == 22 && (o2::aod::pwgem::photonmeson::utils::mcutil::isGammaGammaDecay (photon2moth, mcparticles))) {
810811 int mothID = o2::aod::pwgem::dilepton::utils::mcutil::getMotherPDGCode (photon2, mcparticles);
811- if (mothID == 221 ) {
812+ if (mothID == o2::constants::physics::Pdg:: kEta ) {
812813 fRegistry .fill (HIST (" Event/hNGGContamEta" ), photon2moth.pt ());
813814 }
814- if (mothID == 111 ) {
815+ if (mothID == PDG_t:: kPi0 ) {
815816 fRegistry .fill (HIST (" Event/hNGGContamPion" ), photon2moth.pt ());
816817 }
817818 }
You can’t perform that action at this time.
0 commit comments