@@ -227,15 +227,15 @@ struct AntinucleiInJets {
227227 Configurable<double > coalescenceMomentum{" coalescenceMomentum" , 0.15 , " p0 (GeV/c)" };
228228
229229 // Reweighting histograms
230- TH1F * primaryAntiprotons;
231- TH1F * primaryAntiLambda;
232- TH1F * primaryAntiSigma;
233- TH1F * primaryAntiXi;
234- TH1F * primaryAntiOmega;
235- TH1F * antiprotonsInsideJets;
236- TH1F * antiprotonsPerpCone;
237- TH1F * antideuteronsInsideJets;
238- TH1F * antideuteronsPerpCone;
230+ TH1F * primaryAntiprotons = nullptr ;
231+ TH1F * primaryAntiLambda = nullptr ;
232+ TH1F * primaryAntiSigma = nullptr ;
233+ TH1F * primaryAntiXi = nullptr ;
234+ TH1F * primaryAntiOmega = nullptr ;
235+ TH1F * antiprotonsInsideJets = nullptr ;
236+ TH1F * antiprotonsPerpCone = nullptr ;
237+ TH1F * antideuteronsInsideJets = nullptr ;
238+ TH1F * antideuteronsPerpCone = nullptr ;
239239
240240 // CCDB manager service for accessing condition data
241241 Service<o2::ccdb::BasicCCDBManager> ccdb;
@@ -781,7 +781,7 @@ struct AntinucleiInJets {
781781
782782 // Evaluate proton–neutron coalescence for deuteron formation
783783 template <typename ReducedPart>
784- bool passDeuteronCoalescence (const ReducedPart& p, const ReducedPart& n, double p0, TRandom3& mRand )
784+ bool passDeuteronCoalescence (const ReducedPart& p, const ReducedPart& n, double p0, TRandom3& random )
785785 {
786786 // Nucleon masses
787787 const double mp = o2::constants::physics::MassProton;
@@ -821,7 +821,7 @@ struct AntinucleiInJets {
821821 }
822822
823823 // Spin-statistical acceptance
824- if (mRand .Uniform () > SpinFactor) {
824+ if (random .Uniform () > SpinFactor) {
825825 return false ;
826826 }
827827 return true ;
0 commit comments