@@ -75,7 +75,7 @@ struct CascadeAnalysisLightIonsDerivedData {
7575
7676 o2::ccdb::CcdbApi ccdbApi;
7777 Service<o2::ccdb::BasicCCDBManager> ccdb;
78- int mRunNumber ;
78+ int mRunNumber {- 1 } ;
7979
8080 // Define histogram registries
8181 HistogramRegistry registryData{" registryData" , {}, OutputObjHandlingPolicy::AnalysisObject, true , true };
@@ -856,7 +856,7 @@ struct CascadeAnalysisLightIonsDerivedData {
856856 registryData.fill (HIST (" number_of_events_data_vs_centrality" ), 9 , centrality);
857857
858858 if (!rctConfigurations.cfgRCTLabel .value .empty () && !rctFlagsChecker (collision)) {
859- return false ;
859+ return ;
860860 }
861861 registryData.fill (HIST (" number_of_events_data" ), 10 /* Pass CBT condition */ );
862862 registryData.fill (HIST (" number_of_events_data_vs_centrality" ), 10 , centrality);
@@ -1010,8 +1010,8 @@ struct CascadeAnalysisLightIonsDerivedData {
10101010 registryMC.fill (HIST (" number_of_events_mc_rec" ), 9 /* Not at same bunch pile-up */ );
10111011 registryMC.fill (HIST (" number_of_events_mc_rec_vs_centrality" ), 9 , centralityMcRec);
10121012
1013- if (!rctConfigurations.cfgRCTLabel .value .empty () && !rctFlagsChecker (collision )) {
1014- return false ;
1013+ if (!rctConfigurations.cfgRCTLabel .value .empty () && !rctFlagsChecker (RecCol )) {
1014+ return ;
10151015 }
10161016 registryMC.fill (HIST (" number_of_events_mc_rec" ), 10 /* Pass CBT condition */ );
10171017 registryMC.fill (HIST (" number_of_events_mc_rec_vs_centrality" ), 10 , centralityMcRec);
@@ -1092,7 +1092,7 @@ struct CascadeAnalysisLightIonsDerivedData {
10921092 bool isTrueMCCascadeDecay = false ;
10931093 bool isCorrectLambdaDecay = false ;
10941094
1095- if (isPhysPrim && ( isXiMC || isOmegaMC) )
1095+ if (isXiMC || isOmegaMC)
10961096 isTrueMCCascade = true ;
10971097 if (isTrueMCCascade && ((casc.sign () > 0 && cascMC.pdgCodePositive () == PDG_t::kPiPlus && cascMC.pdgCodeNegative () == PDG_t::kProtonBar ) || (casc.sign () < 0 && cascMC.pdgCodePositive () == PDG_t::kProton && cascMC.pdgCodeNegative () == PDG_t::kPiMinus )))
10981098 isCorrectLambdaDecay = true ;
0 commit comments