@@ -84,7 +84,7 @@ struct centralityStudy {
8484 Configurable<std::string> ccdbURL{" ccdbURL" , " http://alice-ccdb.cern.ch" , " ccdb url" };
8585 Configurable<std::string> pathGRPECSObject{" pathGRPECSObject" , " GLO/Config/GRPECS" , " Path to GRPECS object" };
8686 Configurable<std::string> irSource{" irSource" , " ZNC hadronic" , " Source of the interaction rate: (Recommended: pp --> T0VTX, Pb-Pb --> ZNC hadronic)" };
87- Configurable<bool > fIRCrashOnNull { " fIRCrashOnNull " , false , " Flag to avoid CTP RateFetcher crash." };
87+ Configurable<bool > irCrashOnNull{ " irCrashOnNull " , false , " Flag to avoid CTP RateFetcher crash." };
8888
8989 // _______________________________________
9090 // upc rejection criteria
@@ -445,7 +445,7 @@ struct centralityStudy {
445445 uint64_t startOfRunTimestamp = grpo->getTimeStart ();
446446
447447 float hoursAfterStartOfRun = static_cast <float >(bcTimestamp - startOfRunTimestamp) / 3600000.0 ;
448- float interactionRate = mRateFetcher .fetch (ccdb.service , bcTimestamp, collision.multRunNumber (), irSource.value , fIRCrashOnNull ) / 1000 .; // kHz
448+ float interactionRate = mRateFetcher .fetch (ccdb.service , bcTimestamp, collision.multRunNumber (), irSource.value , irCrashOnNull ) / 1000 .; // kHz
449449
450450 histos.fill (HIST (" hFT0AvsTime" ), hoursAfterStartOfRun, collision.multFT0A ());
451451 histos.fill (HIST (" hFT0CvsTime" ), hoursAfterStartOfRun, collision.multFT0C ());
0 commit comments