Skip to content

Commit 3ec51be

Browse files
committed
Please consider the following formatting changes
1 parent 98cfb1e commit 3ec51be

1 file changed

Lines changed: 16 additions & 21 deletions

File tree

PWGLF/Tasks/GlobalEventProperties/PseudorapidityDensityMFT.cxx

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ AxisSpec recoTruthStatusAxis = {2, 0.5, 2.5, "status"};
102102
AxisSpec deltaVxAxis = {400, -0.5, 0.5, "#DeltaV_{x} = V_{x}^{rec}-V_{x}^{true} (cm)"};
103103
AxisSpec deltaVyAxis = {400, -0.5, 0.5, "#DeltaV_{y} = V_{y}^{rec}-V_{y}^{true} (cm)"};
104104

105-
106-
107105
static constexpr TrackSelectionFlags::flagtype TrackSelectionIts =
108106
TrackSelectionFlags::kITSNCls | TrackSelectionFlags::kITSChi2NDF |
109107
TrackSelectionFlags::kITSHits;
@@ -633,21 +631,21 @@ struct PseudorapidityDensityMFT {
633631
registry.add({"Purity/reco/PNchMFT_afterCuts",
634632
";N_{trk}^{MFT} (selected);events",
635633
{HistType::kTH1F, {multAxis}}});
636-
// MC P(Nch) objects for MFT multiplicity unfolding/correction.
637-
// Generator multiplicity: primary charged particles in the MFT acceptance,
638-
// with generated INEL>0 defined from the central estimator.
639-
// Reco multiplicity: selected reassociated MFT tracks for matched accepted reco events.
640-
registry.add({"PNchMC/gen_inelgt0",
641-
";N_{ch}^{gen,MFT};events",
642-
{HistType::kTH1F, {multAxisGenMFT}}});
643-
644-
registry.add({"PNchMC/reco_sel8_inelgt0",
645-
";N_{ch}^{reco,MFT};events",
646-
{HistType::kTH1F, {multAxisRecoMFT}}});
647-
648-
registry.add({"PNchMC/responseMatrix",
649-
";N_{ch}^{reco,MFT};N_{ch}^{gen,MFT};events",
650-
{HistType::kTH2F, {multAxisRecoMFT, multAxisGenMFT}}});
634+
// MC P(Nch) objects for MFT multiplicity unfolding/correction.
635+
// Generator multiplicity: primary charged particles in the MFT acceptance,
636+
// with generated INEL>0 defined from the central estimator.
637+
// Reco multiplicity: selected reassociated MFT tracks for matched accepted reco events.
638+
registry.add({"PNchMC/gen_inelgt0",
639+
";N_{ch}^{gen,MFT};events",
640+
{HistType::kTH1F, {multAxisGenMFT}}});
641+
642+
registry.add({"PNchMC/reco_sel8_inelgt0",
643+
";N_{ch}^{reco,MFT};events",
644+
{HistType::kTH1F, {multAxisRecoMFT}}});
645+
646+
registry.add({"PNchMC/responseMatrix",
647+
";N_{ch}^{reco,MFT};N_{ch}^{gen,MFT};events",
648+
{HistType::kTH2F, {multAxisRecoMFT, multAxisGenMFT}}});
651649

652650
registry.add({"Purity/DCAyVsDCAx_Right",
653651
";DCA_{x} (cm);DCA_{y} (cm)",
@@ -2296,7 +2294,6 @@ registry.add({"PNchMC/responseMatrix",
22962294
acceptedRecoCols.insert(recoCol);
22972295
recoCollisionIds.insert(recoCol);
22982296
trueMCCollisionIds.insert(mcCol);
2299-
23002297

23012298
if (mcCol >= 0) {
23022299
recoToMc[recoCol] = mcCol;
@@ -2478,7 +2475,6 @@ registry.add({"PNchMC/responseMatrix",
24782475
bool atLeastOneSel8VzGt0 = false; // EtaZvtxGen_gt0
24792476
bool hasRecoCollisionForPNch{false};
24802477

2481-
24822478
const auto fillGenRecoCut = [&](GenRecoCutBin bin) {
24832479
registry.fill(HIST("EventsRecoCuts_GenReco"), static_cast<int>(bin));
24842480
};
@@ -2607,7 +2603,6 @@ registry.add({"PNchMC/responseMatrix",
26072603
atLeastOneSel8VzGt0 = true;
26082604
registry.fill(HIST("EventsNtrkZvtxGen_gt0"),
26092605
perCollisionSample.size(), collision.posZ());
2610-
26112606
}
26122607
registry.fill(HIST("EventsZposDiff"),
26132608
collision.posZ() - mcCollision.posZ());
@@ -3353,4 +3348,4 @@ registry.add({"PNchMC/responseMatrix",
33533348
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
33543349
{
33553350
return WorkflowSpec{adaptAnalysisTask<PseudorapidityDensityMFT>(cfgc)};
3356-
}
3351+
}

0 commit comments

Comments
 (0)