Skip to content

Commit 4ee4ed2

Browse files
alibuildAnkur Yadav
authored andcommitted
Please consider the following formatting changes
1 parent 7defc81 commit 4ee4ed2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

PWGDQ/TableProducer/tableMaker_withAssoc.cxx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -294,10 +294,10 @@ struct TableMaker {
294294
Configurable<bool> fConfigSaveElectronSample{"cfgSaveElectronSample", false, "If true, only save electron sample"};
295295
} fConfigPostCalibTPC;
296296

297-
//
297+
//
298298
struct : ConfigurableGroup {
299299
Configurable<bool> fConfigFT0CCumulant{"cfgFT0CCumulant", false, "If true, compute RefFlow cumulants from FT0C amplitudes (requires FT0s subscription)"};
300-
Configurable<std::string> fConfigQvecCalibPath{"cfgQvecCalibPath","Analysis/EventPlane/QVecCorrections","CCDB path for qvector calibration objects; used only to check availability per run"};
300+
Configurable<std::string> fConfigQvecCalibPath{"cfgQvecCalibPath", "Analysis/EventPlane/QVecCorrections", "CCDB path for qvector calibration objects; used only to check availability per run"};
301301
} fConfigQvector;
302302

303303
struct : ConfigurableGroup {
@@ -335,7 +335,7 @@ struct TableMaker {
335335

336336
bool fDoDetailedQA = false; // Bool to set detailed QA true, if QA is set true
337337
int fCurrentRun; // needed to detect if the run changed and trigger update of calibrations etc.
338-
bool fQvectCalibAvailable = false; // Whether the Q-vector calibration is available for the current run
338+
bool fQvectCalibAvailable = false; // Whether the Q-vector calibration is available for the current run
339339

340340
// maps used to store index info; NOTE: std::map are sorted in ascending order by default (needed for track to collision indices)
341341
std::map<uint32_t, uint32_t> fCollIndexMap; // key: old collision index, value: skimmed collision index
@@ -1193,7 +1193,7 @@ struct TableMaker {
11931193
if constexpr ((TEventFillMap & VarManager::ObjTypes::CollisionQvectCentr) > 0) {
11941194
if (fQvectCalibAvailable) {
11951195
qvecGroup.eventQvectorCentr(collision.qvecFT0ARe(), collision.qvecFT0AIm(), collision.qvecFT0CRe(), collision.qvecFT0CIm(), collision.qvecFT0MRe(), collision.qvecFT0MIm(), collision.qvecFV0ARe(), collision.qvecFV0AIm(), collision.qvecTPCposRe(), collision.qvecTPCposIm(), collision.qvecTPCnegRe(), collision.qvecTPCnegIm(),
1196-
collision.sumAmplFT0A(), collision.sumAmplFT0C(), collision.sumAmplFT0M(), collision.sumAmplFV0A(), collision.nTrkTPCpos(), collision.nTrkTPCneg());
1196+
collision.sumAmplFT0A(), collision.sumAmplFT0C(), collision.sumAmplFT0M(), collision.sumAmplFV0A(), collision.nTrkTPCpos(), collision.nTrkTPCneg());
11971197
qvecGroup.eventQvectorCentrExtra(collision.qvecTPCallRe(), collision.qvecTPCallIm(), collision.nTrkTPCall());
11981198

11991199
if (fConfigQvector.fConfigFT0CCumulant) {
@@ -1214,7 +1214,7 @@ struct TableMaker {
12141214
float M11REF = S21C - S12C;
12151215
std::complex<double> Q21C(collision.qvecFT0CRe() * S11C, collision.qvecFT0CIm() * S11C);
12161216
float CORR2REF = (std::norm(Q21C) - S12C) / M11REF;
1217-
1217+
12181218
if (std::isnan(M11REF) || std::isinf(M11REF) || std::isnan(CORR2REF) || std::isinf(CORR2REF)) {
12191219
M11REF = 0.f;
12201220
CORR2REF = 0.f;
@@ -1773,7 +1773,7 @@ struct TableMaker {
17731773
}
17741774
std::map<std::string, std::string> metadataRCT, header;
17751775
header = fCCDBApi.retrieveHeaders(Form("RCT/Info/RunInformation/%i", bcs.begin().runNumber()), metadataRCT, -1);
1776-
1776+
17771777
// Check if qvector calibration objects are available in CCDB for this run
17781778
if constexpr ((TEventFillMap & VarManager::ObjTypes::CollisionQvectCentr) > 0) {
17791779
std::map<std::string, std::string> metadataQvect;
@@ -1782,10 +1782,10 @@ struct TableMaker {
17821782
for (const auto& sub : subfolders) {
17831783
std::string fullPath = fConfigQvector.fConfigQvecCalibPath.value + "/" + sub;
17841784
auto headers = fCCDBApi.retrieveHeaders(fullPath, metadataQvect, bcs.begin().timestamp());
1785-
if (headers.empty()) {
1786-
LOG(warn) << "Qvector calibration not found at CCDB path '" << fullPath
1787-
<< "' for run " << bcs.begin().runNumber();
1788-
} else {
1785+
if (headers.empty()) {
1786+
LOG(warn) << "Qvector calibration not found at CCDB path '" << fullPath
1787+
<< "' for run " << bcs.begin().runNumber();
1788+
} else {
17891789
anyFound = true;
17901790
}
17911791
}

0 commit comments

Comments
 (0)