File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,9 @@ struct JflucWeightsLoader {
115115 LOGF (fatal, " NUA correction weights file not found: %s" , cfgPathPhiWeights.value .substr (8 ).c_str ());
116116 }
117117 useNUAFromCCDB = false ;
118+ } else if (cfgPathPhiWeights.value == " " ) {
119+ LOGF (info, " No NUA corrections provided." );
120+ useNUAFromCCDB = false ;
118121 } else {
119122 LOGF (info, " Assuming NUA corrections from CCDB." );
120123 useNUAFromCCDB = true ;
@@ -136,6 +139,9 @@ struct JflucWeightsLoader {
136139 LOGF (info, " Loaded efficiency correction histogram locally." );
137140 }
138141 useEffFromCCDB = false ;
142+ } else if (cfgPathEffWeights.value == " " ) {
143+ LOGF (info, " No efficiency corrections provided." );
144+ useEffFromCCDB = false ;
139145 } else {
140146 LOGF (info, " Assuming efficiency corrections from CCDB." );
141147 useEffFromCCDB = true ;
@@ -172,7 +178,7 @@ struct JflucWeightsLoader {
172178 runNumber = collision.runNumber ();
173179 }
174180 }
175- if (pfeff) {
181+ if (pfeff || useEffFromCCDB ) {
176182 if (collision.runNumber () != runNumber) {
177183 if (pheff)
178184 delete pheff;
You can’t perform that action at this time.
0 commit comments