Skip to content

Commit 64143aa

Browse files
committed
Please consider the following formatting changes
1 parent 27e9d4b commit 64143aa

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

PWGCF/TwoParticleCorrelations/Tasks/longRangeDihadronCor.cxx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ struct LongRangeDihadronCor {
149149
ConfigurableAxis axisPtEfficiency{"axisPtEfficiency", {VARIABLE_WIDTH, 0.2, 0.5, 1, 1.5, 2, 3, 4, 6, 10}, "pt axis for efficiency histograms"};
150150
ConfigurableAxis axisAmplitudeFt0a{"axisAmplitudeFt0a", {5000, 0, 1000}, "FT0A amplitude"};
151151
ConfigurableAxis axisChannelFt0aAxis{"axisChannelFt0aAxis", {96, 0.0, 96.0}, "FT0A channel"};
152-
152+
153153
Configurable<std::string> cfgGainEqPath{"cfgGainEqPath", "Analysis/EventPlane/GainEq", "CCDB path for gain equalization constants"};
154154
Configurable<int> cfgCorrLevel{"cfgCorrLevel", 1, "calibration step: 0 = no corr, 1 = gain corr"};
155155
ConfigurableAxis cfgaxisFITamp{"cfgaxisFITamp", {1000, 0, 5000}, ""};
@@ -278,8 +278,8 @@ struct LongRangeDihadronCor {
278278
registry.add("Trig_hist", "", {HistType::kTHnSparseF, {{axisSample, axisVertex, axisPtTrigger}}});
279279
registry.add("Assoc_amp_same", "", {HistType::kTH2D, {axisChannelFt0aAxis, axisAmplitudeFt0a}});
280280
registry.add("Assoc_amp_mixed", "", {HistType::kTH2D, {axisChannelFt0aAxis, axisAmplitudeFt0a}});
281-
registry.add("FT0Amp","", {HistType::kTH2F, {axisChID, axisFit}});
282-
registry.add("FT0AmpCorr","", {HistType::kTH2F, {axisChID, axisFit}});
281+
registry.add("FT0Amp", "", {HistType::kTH2F, {axisChID, axisFit}});
282+
registry.add("FT0AmpCorr", "", {HistType::kTH2F, {axisChID, axisFit}});
283283
}
284284

285285
registry.add("eventcount", "bin", {HistType::kTH1F, {{4, 0, 4, "bin"}}}); // histogram to see how many events are in the same and mixed event
@@ -362,28 +362,29 @@ struct LongRangeDihadronCor {
362362
}
363363
}
364364

365-
void loadGain(aod::BCsWithTimestamps::iterator const& bc) {
365+
void loadGain(aod::BCsWithTimestamps::iterator const& bc)
366+
{
366367
FT0RelGainConst.clear();
367368
FT0RelGainConst = {};
368369
std::string fullPath;
369370

370371
auto timestamp = bc.timestamp();
371-
if (cfgCorrLevel==0) {
372+
if (cfgCorrLevel == 0) {
372373
for (auto i{0u}; i < 208; i++) {
373374
FT0RelGainConst.push_back(1.);
374375
}
375376
} else {
376377
fullPath = cfgGainEqPath;
377378
fullPath += "/FT0";
378-
const auto objft0Gain = ccdb->getForTimeStamp<std::vector<float>>(fullPath, timestamp);
379+
const auto objft0Gain = ccdb->getForTimeStamp<std::vector<float>>(fullPath, timestamp);
379380
if (!objft0Gain) {
380381
for (auto i{0u}; i < 208; i++) {
381382
FT0RelGainConst.push_back(1.);
382383
}
383384
} else {
384385
FT0RelGainConst = *(objft0Gain);
385386
}
386-
}
387+
}
387388
}
388389

389390
void loadCorrection(uint64_t timestamp)

0 commit comments

Comments
 (0)