File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -341,9 +341,9 @@ struct EmcalMcTask {
341341
342342 if (std::abs (mcPhoton1.pdgCode ()) == PDG_t::kGamma ) {
343343 fillClusterHistos<o2::em::emcal::mc::ParticleType::kPhoton >(photonEMC, mcPhoton1, centOrMult);
344- } else if (std::abs ( mcPhoton1.pdgCode () ) == PDG_t::kElectron ) {
344+ } else if (mcPhoton1.pdgCode () == PDG_t::kElectron ) {
345345 fillClusterHistos<o2::em::emcal::mc::ParticleType::kElectron >(photonEMC, mcPhoton1, centOrMult);
346- } else if (mcPhoton1.pdgCode () == - PDG_t::kElectron ) {
346+ } else if (mcPhoton1.pdgCode () == PDG_t::kPositron ) {
347347 fillClusterHistos<o2::em::emcal::mc::ParticleType::kPositron >(photonEMC, mcPhoton1, centOrMult);
348348 } else if (std::abs (mcPhoton1.pdgCode ()) == PDG_t::kPi0 ) {
349349 fillClusterHistos<o2::em::emcal::mc::ParticleType::kPi0 >(photonEMC, mcPhoton1, centOrMult);
You can’t perform that action at this time.
0 commit comments