diff --git a/PWGJE/DataModel/GammaJetAnalysisTree.h b/PWGJE/DataModel/GammaJetAnalysisTree.h index d734a8057a5..702cf32596a 100644 --- a/PWGJE/DataModel/GammaJetAnalysisTree.h +++ b/PWGJE/DataModel/GammaJetAnalysisTree.h @@ -106,8 +106,8 @@ namespace gjgammamcinfo { DECLARE_SOA_COLUMN(Origin, origin, uint16_t); DECLARE_SOA_COLUMN(LeadingEnergyFraction, leadingEnergyFraction, float); // fraction of energy from the leading MC particle -// further information about the particle that produced this cluster, one could also linnk to mcgen particle table -// but for now this is easier as the MCgen table is filtered and I do not want to deal with ensuring the filered table exists and +// further information about the particle that produced this cluster, one could also linnk to mcgen particle table +// but for now this is easier as the MCgen table is filtered and I do not want to deal with ensuring the filered table exists and // does not filter out a mother DECLARE_SOA_COLUMN(Eta, eta, float); DECLARE_SOA_COLUMN(Phi, phi, float); @@ -196,7 +196,6 @@ DECLARE_SOA_COLUMN(Theta, theta, std::vector); //! opening } // namespace gjmcjetsubstructure DECLARE_SOA_TABLE(GjMCJetSubstructures, "AOD", "GJMCJETSUBSTR", gjgamma::GjEventId, gjmcjetsubstructure::EnergyMother, gjmcjetsubstructure::PtLeading, gjmcjetsubstructure::PtSubLeading, gjmcjetsubstructure::Theta) - } // namespace o2::aod #endif // PWGJE_DATAMODEL_GAMMAJETANALYSISTREE_H_ diff --git a/PWGJE/Tasks/gammaJetTreeProducer.cxx b/PWGJE/Tasks/gammaJetTreeProducer.cxx index 64b68692383..5c8a2388de8 100644 --- a/PWGJE/Tasks/gammaJetTreeProducer.cxx +++ b/PWGJE/Tasks/gammaJetTreeProducer.cxx @@ -1009,7 +1009,6 @@ struct GammaJetTreeProducer { LOG(debug) << "Cluster is a merged pi0"; // if this is a merged pion decay, it should return the MC index of the pi0 mother (it is ensured that this is properly returned otherwise we would not be in this if statement) returnMCIndex = getIndexMotherChain(mcParticles.iteratorAt(inducerIDs[0]), mcParticles, PDG_t::kPi0); - } if (isMergedFromPDGDecay(cluster, mcParticles, Pdg::kEta)) { SETBIT(origin, static_cast(gjanalysis::ClusterOrigin::kMergedEta)); @@ -1017,7 +1016,6 @@ struct GammaJetTreeProducer { returnMCIndex = getIndexMotherChain(mcParticles.iteratorAt(inducerIDs[0]), mcParticles, Pdg::kEta); } - // check if photon conversion // check that leading contribution is an electron or positron LOG(debug) << "Checking if cluster is a converted photon";