File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -237,14 +237,14 @@ int runMassFitter(const TString& configFileName)
237237 hMass [iSliceVar ] = inputFile -> Get < TH1 > (inputHistoName [iSliceVar ].data ());
238238 if (enableRefl ) {
239239 hMassRefl [iSliceVar ] = inputFileRefl -> Get < TH1 > (reflHistoName [iSliceVar ].data ());
240- hMassSgn [iSliceVar ] = inputFileRefl -> Get < TH1 > (fdHistoName [iSliceVar ].data ());
241- hMassSgn [iSliceVar ]-> Add (inputFileRefl -> Get < TH1 > (promptHistoName [iSliceVar ].data ()));
242240 if (hMassRefl [iSliceVar ] == nullptr ) {
243241 throw std ::runtime_error ("ERROR: MC reflection histogram not found! Exit!" );
244242 }
243+ hMassSgn [iSliceVar ] = inputFileRefl -> Get < TH1 > (fdHistoName [iSliceVar ].data ());
245244 if (hMassSgn [iSliceVar ] == nullptr ) {
246245 throw std ::runtime_error ("ERROR: MC prompt or FD histogram not found! Exit!" );
247246 }
247+ hMassSgn [iSliceVar ]-> Add (inputFileRefl -> Get < TH1 > (promptHistoName [iSliceVar ].data ()));
248248 }
249249 } else {
250250 hMass [iSliceVar ] = inputFile -> Get < TH1 > (promptHistoName [iSliceVar ].data ());
You can’t perform that action at this time.
0 commit comments