File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,16 +168,16 @@ struct HadronNucleiCorrelation {
168168 std::vector<std::shared_ptr<TH3 >> hCorrEtaPhi_SE;
169169 std::vector<std::shared_ptr<TH3 >> hCorrEtaPhi_ME;
170170
171- int nBinspT;
172- TH2F * hEffpTEta_proton;
173- TH2F * hEffpTEta_antiproton;
174- TH2F * hEffpTEta_deuteron;
175- TH2F * hEffpTEta_antideuteron;
171+ int nBinspT = 0 ;
172+ TH2F * hEffpTEta_proton = nullptr ;
173+ TH2F * hEffpTEta_antiproton = nullptr ;
174+ TH2F * hEffpTEta_deuteron = nullptr ;
175+ TH2F * hEffpTEta_antideuteron = nullptr ;
176176
177- Service<o2::ccdb::BasicCCDBManager> ccdb;
177+ Service<o2::ccdb::BasicCCDBManager> ccdb{} ;
178178 o2::ccdb::CcdbApi ccdbApi;
179179
180- Service<o2::framework::O2DatabasePDG> pdgDB;
180+ Service<o2::framework::O2DatabasePDG> pdgDB{} ;
181181
182182 void init (o2::framework::InitContext&)
183183 {
@@ -239,6 +239,8 @@ struct HadronNucleiCorrelation {
239239 case kPPbar :
240240 name = " PrAntiPr" ;
241241 break ;
242+ default :
243+ LOG (fatal) << " Unhandled case " << mode;
242244 }
243245
244246 if (!isMC) {
You can’t perform that action at this time.
0 commit comments