Skip to content

Commit 23e96df

Browse files
committed
formatting
1 parent baaa0e6 commit 23e96df

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

ALICE3/Core/FastTracker.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ int FastTracker::FastTrack(o2::track::TrackParCov inputTrack, o2::track::TrackPa
445445

446446
// Delphes sets this to 20, but does not count all points in the tpc as layers which we do here
447447
// Loop over all the added layers to prevent crash when adding the tpc
448-
// Should not affect efficiency calculation
448+
// Should not affect efficiency calculation
449449
const int kMaxNumberOfDetectors = layers.size();
450450

451451
int firstActiveLayer = -1; // first layer that is not inert

ALICE3/TableProducer/OTF/onTheFlyTracker.cxx

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ using namespace o2::framework;
6767
using std::array;
6868
#define getHist(type, name) std::get<std::shared_ptr<type>>(histPointers[name])
6969

70-
7170
struct OnTheFlyTracker {
7271
Produces<aod::Collisions> tableCollisions;
7372
Produces<aod::McCollisionLabels> tableMcCollisionLabels;
@@ -263,7 +262,7 @@ struct OnTheFlyTracker {
263262
// For TGenPhaseSpace seed
264263
TRandom3 rand;
265264
Service<o2::ccdb::BasicCCDBManager> ccdb;
266-
265+
267266
static constexpr int kMaxLUTConfigs = 20;
268267
void init(o2::framework::InitContext&)
269268
{
@@ -281,7 +280,7 @@ struct OnTheFlyTracker {
281280

282281
return foundNewCfg;
283282
};
284-
283+
285284
for (int icfg = 0; icfg < kMaxLUTConfigs; ++icfg) {
286285
mSmearer.emplace_back(std::make_unique<o2::delphes::DelphesO2TrackSmearer>());
287286
mSmearer[icfg]->setCcdbManager(ccdb.operator->());
@@ -302,10 +301,10 @@ struct OnTheFlyTracker {
302301
mSmearer.pop_back();
303302
break;
304303
}
305-
304+
306305
// interpolate efficiencies if requested to do so
307306
mSmearer[icfg]->interpolateEfficiency(static_cast<bool>(interpolateLutEfficiencyVsNch));
308-
307+
309308
// smear un-reco'ed tracks if asked to do so
310309
mSmearer[icfg]->skipUnreconstructed(static_cast<bool>(!processUnreconstructedTracks));
311310

@@ -320,7 +319,7 @@ struct OnTheFlyTracker {
320319
histPointers.insert({histPath + "hPtReconstructedPi", histos.add((histPath + "hPtReconstructedPi").c_str(), "hPtReconstructedPi", {kTH1D, {{axes.axisMomentum}}})});
321320
histPointers.insert({histPath + "hPtReconstructedKa", histos.add((histPath + "hPtReconstructedKa").c_str(), "hPtReconstructedKa", {kTH1D, {{axes.axisMomentum}}})});
322321
histPointers.insert({histPath + "hPtReconstructedPr", histos.add((histPath + "hPtReconstructedPr").c_str(), "hPtReconstructedPr", {kTH1D, {{axes.axisMomentum}}})});
323-
322+
324323
// Collision QA
325324
histPointers.insert({histPath + "hPVz", histos.add((histPath + "hPVz").c_str(), "hPVz", {kTH1D, {{axes.axisVertexZ}}})});
326325
histPointers.insert({histPath + "hLUTMultiplicity", histos.add((histPath + "hLUTMultiplicity").c_str(), "hLUTMultiplicity", {kTH1D, {{axes.axisMultiplicity}}})});
@@ -348,10 +347,8 @@ struct OnTheFlyTracker {
348347
// print fastTracker settings
349348
fastTracker[icfg]->Print();
350349
histPointers.insert({histPath + "hMassXi", histos.add((histPath + "hMassXi").c_str(), "hMassXi", {kTH1D, {{axes.axisXiMass}}})});
351-
352350
}
353351

354-
355352
} // end config loop
356353
}
357354

@@ -644,7 +641,6 @@ struct OnTheFlyTracker {
644641
continue;
645642
}
646643

647-
648644
getHist(TH1, histPath + "hPtGenerated")->Fill(mcParticle.pt());
649645
if (std::abs(mcParticle.pdgCode()) == kElectron)
650646
getHist(TH1, histPath + "hPtGeneratedEl")->Fill(mcParticle.pt());
@@ -1047,7 +1043,6 @@ struct OnTheFlyTracker {
10471043
getHist(TH1, histPath + "hRecoMultiplicity")->Fill(tracksAlice3.size());
10481044
getHist(TH1, histPath + "hPVz")->Fill(primaryVertex.getZ());
10491045

1050-
10511046
if (doExtraQA) {
10521047
histos.fill(HIST("hRecoVsSimMultiplicity"), multiplicityCounter, tracksAlice3.size());
10531048
}

0 commit comments

Comments
 (0)