Skip to content

Commit 6d6370a

Browse files
committed
formatting
1 parent e7101fa commit 6d6370a

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

@@ -322,7 +321,7 @@ struct OnTheFlyTracker {
322321
histPointers.insert({histPath + "hPtReconstructedPi", histos.add((histPath + "hPtReconstructedPi").c_str(), "hPtReconstructedPi", {kTH1D, {{axes.axisMomentum}}})});
323322
histPointers.insert({histPath + "hPtReconstructedKa", histos.add((histPath + "hPtReconstructedKa").c_str(), "hPtReconstructedKa", {kTH1D, {{axes.axisMomentum}}})});
324323
histPointers.insert({histPath + "hPtReconstructedPr", histos.add((histPath + "hPtReconstructedPr").c_str(), "hPtReconstructedPr", {kTH1D, {{axes.axisMomentum}}})});
325-
324+
326325
// Collision QA
327326
histPointers.insert({histPath + "hPVz", histos.add((histPath + "hPVz").c_str(), "hPVz", {kTH1D, {{axes.axisVertexZ}}})});
328327
histPointers.insert({histPath + "hLUTMultiplicity", histos.add((histPath + "hLUTMultiplicity").c_str(), "hLUTMultiplicity", {kTH1D, {{axes.axisMultiplicity}}})});
@@ -350,10 +349,8 @@ struct OnTheFlyTracker {
350349
// print fastTracker settings
351350
fastTracker[icfg]->Print();
352351
histPointers.insert({histPath + "hMassXi", histos.add((histPath + "hMassXi").c_str(), "hMassXi", {kTH1D, {{axes.axisXiMass}}})});
353-
354352
}
355353

356-
357354
} // end config loop
358355
}
359356

@@ -646,7 +643,6 @@ struct OnTheFlyTracker {
646643
continue;
647644
}
648645

649-
650646
getHist(TH1, histPath + "hPtGenerated")->Fill(mcParticle.pt());
651647
getHist(TH1, histPath + "hPhiGenerated")->Fill(mcParticle.phi());
652648
if (std::abs(mcParticle.pdgCode()) == kElectron)
@@ -1050,7 +1046,6 @@ struct OnTheFlyTracker {
10501046
getHist(TH1, histPath + "hRecoMultiplicity")->Fill(tracksAlice3.size());
10511047
getHist(TH1, histPath + "hPVz")->Fill(primaryVertex.getZ());
10521048

1053-
10541049
if (doExtraQA) {
10551050
histos.fill(HIST("hRecoVsSimMultiplicity"), multiplicityCounter, tracksAlice3.size());
10561051
}

0 commit comments

Comments
 (0)