Skip to content

Commit 548ceaf

Browse files
authored
Merge pull request #56 from alibuild/alibot-cleanup-4542
Please consider the following formatting changes to #4542
2 parents e83f8e0 + c089ee0 commit 548ceaf

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Common/TableProducer/qVectorsTable.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ struct qVectorsTable {
149149
LOGF(fatal, "Could not get the alignment parameters for FV0.");
150150
}
151151

152-
if (cfgCCDBConst==1) {
153-
if (!(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/FT0C",cfgCcdbParam.nolaterthan.value))->empty()) {
154-
cfgCorr.push_back(*(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/FT0C",cfgCcdbParam.nolaterthan.value)));
152+
if (cfgCCDBConst == 1) {
153+
if (!(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/FT0C", cfgCcdbParam.nolaterthan.value))->empty()) {
154+
cfgCorr.push_back(*(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/FT0C", cfgCcdbParam.nolaterthan.value)));
155155
} else {
156156
if (cfgFT0CCorr->size() < 48) {
157157
LOGF(fatal, "No proper correction factor assigned for FT0C");
@@ -169,7 +169,7 @@ struct qVectorsTable {
169169
}
170170
}
171171
if (!(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/FT0M",cfgCcdbParam.nolaterthan.value))->empty()) {
172-
cfgCorr.push_back(*(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/FT0M",cfgCcdbParam.nolaterthan.value)));
172+
cfgCorr.push_back(*(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/FT0M", cfgCcdbParam.nolaterthan.value)));
173173
} else {
174174
if (cfgFT0MCorr->size() < 48) {
175175
LOGF(fatal, "No proper correction factor assigned for FT0M");
@@ -178,7 +178,7 @@ struct qVectorsTable {
178178
}
179179
}
180180
if (!(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/FT0C",cfgCcdbParam.nolaterthan.value))->empty()) {
181-
cfgCorr.push_back(*(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/FT0C",cfgCcdbParam.nolaterthan.value)));
181+
cfgCorr.push_back(*(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/FT0C", cfgCcdbParam.nolaterthan.value)));
182182
} else {
183183
if (cfgFV0ACorr->size() < 48) {
184184
LOGF(fatal, "No proper correction factor assigned for FV0A");
@@ -187,7 +187,7 @@ struct qVectorsTable {
187187
}
188188
} // no FV0A
189189
if (!(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/BPos",cfgCcdbParam.nolaterthan.value))->empty()) {
190-
cfgCorr.push_back(*(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/BPos",cfgCcdbParam.nolaterthan.value)));
190+
cfgCorr.push_back(*(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/BPos", cfgCcdbParam.nolaterthan.value)));
191191
} else {
192192
if (cfgBPosCorr->size() < 48) {
193193
LOGF(fatal, "No proper correction factor assigned for BPos");
@@ -196,15 +196,15 @@ struct qVectorsTable {
196196
}
197197
}
198198
if (!(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/BNeg",cfgCcdbParam.nolaterthan.value))->empty()) {
199-
cfgCorr.push_back(*(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/BNeg",cfgCcdbParam.nolaterthan.value)));
199+
cfgCorr.push_back(*(ccdb->getForTimeStamp<std::vector<float>>("Analysis/EventPlane/QVecCorrections/BNeg", cfgCcdbParam.nolaterthan.value)));
200200
} else {
201201
if (cfgBNegCorr->size() < 48) {
202202
LOGF(fatal, "No proper correction factor assigned for BNeg");
203203
} else {
204204
cfgCorr.push_back(cfgBNegCorr);
205205
}
206206
}
207-
} else if (cfgCCDBConst==2) {
207+
} else if (cfgCCDBConst == 2) {
208208
if (cfgFT0CCorr->size() < 48) {
209209
LOGF(fatal, "No proper correction factor assigned for FT0C");
210210
}

0 commit comments

Comments
 (0)