Skip to content

Commit f0ccae5

Browse files
authored
Merge pull request #17 from alibuild/alibot-cleanup-13102
Please consider the following formatting changes to #13102
2 parents 92aedb9 + 951bc75 commit f0ccae5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

PWGCF/JCorran/Tasks/jflucWeightsLoader.cxx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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.");

0 commit comments

Comments
 (0)