message: Mult weighting for LHC15o anchored MCs
diff: @@ -2240,8 +2240,14 @@ void AddTask_GammaConvV1_PbPb( Int_t trainConfig = 1,
  TString dataInputMultHisto = "";
  TString mcInputMultHisto = "";
  if (doMultiplicityWeighting){
  - cout << "enableling mult weighting" << endl;
  -
  + cout << "INFO enableling mult weighting" << endl;
  + if(periodNameAnchor.CompareTo("LHC15o")==0){
  + TString cutNumber = cuts.GetEventCut(i);
  + TString centCut = cutNumber(0,3); // first three digits of event cut
  + dataInputMultHisto = Form("%s_%s", periodNameAnchor.Data(), centCut.Data());
  + mcInputMultHisto = Form("%s_%s", periodName.Data(), centCut.Data());
  + cout << "INFO read " << dataInputMultHisto.Data() << " and " << mcInputMultHisto.Data() << " from " << fileNameInputForMultWeighing.Data() << endl;
  + } else {
  if(i == 0){
  dataInputMultHisto = Form("%s_0005", periodNameAnchor.Data());
  mcInputMultHisto = "LHC14a1a_0005";
  @@ -2258,9 +2264,8 @@ void AddTask_GammaConvV1_PbPb( Int_t trainConfig = 1,
  dataInputMultHisto = Form("%s_2050", periodNameAnchor.Data());
  mcInputMultHisto = "LHC14a1b_2050";
  }
  -
  + }
  analysisEventCuts[i]->SetUseWeightMultiplicityFromFile(kTRUE, fileNameInputForMultWeighing, dataInputMultHisto, mcInputMultHisto );
  -
  }
  if ( trainConfig == 1 || trainConfig == 5 || trainConfig == 9 || trainConfig == 13 || trainConfig == 17 ||
  