File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,8 @@ struct JflucWeightsLoader {
6060 bool useEffFromCCDB = false ;
6161 Service<o2::ccdb::BasicCCDBManager> ccdb;
6262 std::string ccdbURL = " http://alice-ccdb.cern.ch" ;
63- enum { kNUA , kEFF };
63+ enum { kNUA ,
64+ kEFF };
6465
6566 ~JflucWeightsLoader ()
6667 {
@@ -139,13 +140,12 @@ enum { kNUA, kEFF };
139140 LOGF (info, " Assuming efficiency corrections from CCDB." );
140141 useEffFromCCDB = true ;
141142 // If NUA corrections are from CCDB, use the same CCDB URL for efficiency corrections
142- if (!useNUAFromCCDB) {
143+ if (!useNUAFromCCDB) {
143144 ccdb->setURL (ccdbURL.data ()); // default CCDB URL
144145 ccdb->setCaching (true );
145146 ccdb->setLocalObjectValidityChecking ();
146147 ccdb->setFatalWhenNull (false );
147148 }
148-
149149 }
150150 }
151151
@@ -174,7 +174,8 @@ enum { kNUA, kEFF };
174174 }
175175 if (pfeff) {
176176 if (collision.runNumber () != runNumber) {
177- if (pheff) delete pheff;
177+ if (pheff)
178+ delete pheff;
178179 if (!useEffFromCCDB) {
179180 if (!(pheff = pfeff->Get <THnF>(" ccdb_object" ))) {
180181 LOGF (warning, " Efficiency correction histogram not found." );
You can’t perform that action at this time.
0 commit comments