@@ -148,9 +148,9 @@ struct HeavyNeutralMeson {
148148 HistogramRegistry mHistManager {" HeavyNeutralMesonHistograms" , {}, OutputObjHandlingPolicy::AnalysisObject};
149149
150150 // Prepare vectors for different species
151- std::vector<hnmutilities::GammaGammaPair> vGGs ;
152- std::vector<hnmutilities::HeavyNeutralMeson> vHNMs ;
153- std::vector<ROOT ::Math::PtEtaPhiMVector> etaPrimeEMC, etaPrimePCM, omegaEMC, omegaPCM, proton, antiproton, deuteron, antideuteron, pion, antipion;
151+ std::vector<hnmutilities::GammaGammaPair> mvGGs ;
152+ std::vector<hnmutilities::HeavyNeutralMeson> mvHNMs ;
153+ std::vector<ROOT ::Math::PtEtaPhiMVector> etaPrimeEMC, etaPrimePCM, omegaEMC, omegaPCM, pion, antipion;
154154 float mMassProton = constants::physics::MassProton;
155155 float mMassDeuteron = constants::physics::MassDeuteron;
156156 float mMassOmega = 0.782 ;
@@ -371,7 +371,7 @@ struct HeavyNeutralMeson {
371371 // clean vecs
372372 pion.clear ();
373373 antipion.clear ();
374- vHNMs .clear ();
374+ mvHNMs .clear ();
375375 // vGGs vector is cleared in reconstructGGs.
376376
377377 // ---------------------------------> EMCal event QA <----------------------------------
@@ -408,9 +408,9 @@ struct HeavyNeutralMeson {
408408
409409 std::vector<hnmutilities::Photon> vGammas;
410410 hnmutilities::storeGammasInVector (clustersInThisCollision, v0sInThisCollision, vGammas, emcEtaShift, emcPhiShift);
411- hnmutilities::reconstructGGs (vGammas, vGGs );
411+ hnmutilities::reconstructGGs (vGammas, mvGGs );
412412 vGammas.clear ();
413- processGGs (vGGs );
413+ processGGs (mvGGs );
414414
415415 // ------------------------------> Loop over all tracks <-------------------------------
416416 // - Sort them into vectors based on PID ((anti)protons, (anti)deuterons, (anti)pions)
@@ -502,7 +502,7 @@ struct HeavyNeutralMeson {
502502 for (const auto & posPion : pion) {
503503 for (const auto & negPion : antipion) {
504504 ROOT ::Math::PtEtaPhiMVector vecPiPlPiMi = posPion + negPion;
505- hnmutilities::reconstructHeavyNeutralMesons (vecPiPlPiMi, vGGs, vHNMs );
505+ hnmutilities::reconstructHeavyNeutralMesons (vecPiPlPiMi, mvGGs, mvHNMs );
506506
507507 mHistManager .fill (HIST (" HNM/Before/PiPlPiMi/fInvMassVsPt" ), vecPiPlPiMi.M (), vecPiPlPiMi.pt ());
508508 mHistManager .fill (HIST (" HNM/Before/PiPlPiMi/fEta" ), vecPiPlPiMi.eta ());
@@ -523,7 +523,7 @@ struct HeavyNeutralMeson {
523523 // ---------------------------> Process HNM candidates <--------------------------------
524524 // - Fill invMassVsPt histograms separated into HNM types (based on GG mass) and gamma reco method
525525 // -------------------------------------------------------------------------------------
526- processHNMs (vHNMs );
526+ processHNMs (mvHNMs );
527527 }
528528
529529 // / \brief Loop over the GG candidates, fill the mass/pt histograms and set the isPi0/isEta flags based on the reconstructed mass
0 commit comments