You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LOGF(fatal, "\033[1;31m%s at line %d\033[0m", __FUNCTION__, __LINE__);
649
+
LOGF(warning, "\033[1;31m%s at line %d : this crash can happen if in the output file there is no list with weights for the current runnumber = %s\033[0m", __FUNCTION__, __LINE__, runNumber);
650
+
histograms = {nullptr};
651
+
return histograms;
643
652
}
644
653
}
645
654
} elseif (bFileIsInCCDB) {
@@ -648,7 +657,6 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
648
657
// My home dir in CCDB: https://alice-ccdb.cern.ch/browse/Users/a/abilandz/ => adapt for your case
649
658
ccdb->setURL("https://alice-ccdb.cern.ch"); // to be able to use "ccdb" this object in your analysis task, see 4b/ below
LOGF(fatal, "\033[1;31m%s at line %d\033[0m", __FUNCTION__, __LINE__);
670
+
LOGF(warning, "\033[1;31m%s at line %d : this crash can happen if in the output file there is no list with weights for the current runnumber = %s\033[0m", __FUNCTION__, __LINE__, runNumber);
671
+
histograms = {nullptr};
672
+
return histograms;
663
673
}
664
674
}
665
675
@@ -683,7 +693,6 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
683
693
weightsFile->GetObject("ccdb_object", baseList);
684
694
685
695
if (!baseList) {
686
-
weightsFile->ls();
687
696
LOGF(fatal, "\033[1;31m%s at line %d\033[0m", __FUNCTION__, __LINE__);
688
697
}
689
698
@@ -693,7 +702,6 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
693
702
runNumberWithLeadingZeroes += runNumber; // another try, with "000" prepended to run number
LOGF(warning, "\033[1;31m%s at line %d : this crash can happen if in the output file there is no list with weights for the current runnumber = %s\033[0m", __FUNCTION__, __LINE__, runNumber);
698
706
histograms = {nullptr};
699
707
return histograms;
@@ -763,7 +771,7 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
if (wt.fPtMCByRunMap.find(ebye.fRunNumber) == wt.fPtMCByRunMap.end()) {
769
777
wt.fPtMCByRunMap[ebye.fRunNumber] = newTH1F(Form("hPtMC_run%d", ebye.fRunNumber), Form("pt MC sim distribution for run %d", ebye.fRunNumber), static_cast<int>(tc.fPtBins[0]), tc.fPtBins[1], tc.fPtBins[2]);
@@ -773,13 +781,13 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
773
781
774
782
// Get phi and pt weight histogram with this run number:
775
783
if (wt.fWeightSwitch && wt.fPhiWeightHistogramsMap.find(ebye.fRunNumber) == wt.fPhiWeightHistogramsMap.end()) {
0 commit comments