Skip to content

Commit 6878cc7

Browse files
committed
Please consider the following formatting changes
1 parent 1735e58 commit 6878cc7

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

PWGLF/Tasks/QC/v0cascadesqa.cxx

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ enum ParticleType : uint8_t { kPhoton = 0,
6868
kXiM,
6969
kXiP,
7070
kOmegaM,
71-
kOmegaP};
71+
kOmegaP };
7272

7373
// using DaughterTracks = soa::Join<aod::Tracks, aod::TracksExtra, aod::TracksDCA, aod::pidTOFPi, aod::pidTPCPi, aod::pidTOFPr, aod::pidTPCPr, aod::pidTOFKa, aod::pidTPCKa>;
7474
using DaughterTracks = soa::Join<aod::TracksIU, aod::TracksExtra, aod::TracksDCA, aod::pidTPCPi, aod::pidTPCPr, aod::pidTPCKa>;
@@ -292,7 +292,7 @@ struct v0cascadesQA {
292292
ConfigurableAxis axisCascDCABachToPV{"axisCascDCABachToPV", {100, -1.0f, 1.0f}, "DCA bach. to PV (cm)"};
293293
ConfigurableAxis axisInvMassXi{"axisInvMassXi", {80, 1.28f, 1.36f}, "Inv. mass (GeV/#it{c}%{2})"};
294294
ConfigurableAxis axisInvMassOmega{"axisInvMassOmega", {80, 1.63f, 1.71f}, "Inv. mass (GeV/#it{c}%{2})"};
295-
295+
296296
} axisConfigurations;
297297

298298
int dauEtaFlag = 0;
@@ -688,7 +688,7 @@ struct v0cascadesQA {
688688
if (negTrackExtra.itsChi2NCl() > v0Selections.maxITSchi2PerNcls)
689689
return false;
690690

691-
// ITS only tag
691+
// ITS only tag
692692
if (v0Selections.requirePosITSonly) {
693693
if (posTrackExtra.tpcNClsCrossedRows() > 0)
694694
return false;
@@ -710,7 +710,7 @@ struct v0cascadesQA {
710710
if (negTrackExtra.tpcChi2NCl() > v0Selections.maxTPCchi2PerNcls)
711711
return false;
712712

713-
// check the maximum fraction of allowed shared TPC
713+
// check the maximum fraction of allowed shared TPC
714714
if (posTrackExtra.tpcFractionSharedCls() > v0Selections.maxFractionTPCSharedClusters)
715715
return false;
716716
if (negTrackExtra.tpcFractionSharedCls() > v0Selections.maxFractionTPCSharedClusters)
@@ -743,7 +743,7 @@ struct v0cascadesQA {
743743
if (std::fabs(negTrackExtra.tpcNSigmaPr()) > v0Selections.tpcPidNsigmaCutLaPr)
744744
return false;
745745
}
746-
746+
747747
// TOF Requirement checks
748748
if (v0Selections.requirePosHasTOF && !v0.positiveHasTOF()) {
749749
return false;
@@ -806,7 +806,7 @@ struct v0cascadesQA {
806806
if (negTrackExtra.hasTRD() && negTRDhits < v0Selections.minTRDclusters) {
807807
return false;
808808
}
809-
809+
810810
return true;
811811
}
812812

@@ -1030,7 +1030,7 @@ struct v0cascadesQA {
10301030
{
10311031
if (!v0.isPhysicalPrimary())
10321032
return false;
1033-
1033+
10341034
bool isPositiveProton = v0.pdgCodePositive() == PDG_t::kProton;
10351035
bool isPositivePion = v0.pdgCodePositive() == PDG_t::kPiPlus || (doTreatPiToMuon && v0.pdgCodePositive() == PDG_t::kMuonPlus);
10361036
bool isNegativeProton = v0.pdgCodeNegative() == PDG_t::kProtonBar;
@@ -1054,7 +1054,7 @@ struct v0cascadesQA {
10541054
{
10551055
if (!casc.isPhysicalPrimary())
10561056
return false;
1057-
1057+
10581058
bool isBachelorPionPlus = casc.pdgCodeBachelor() == PDG_t::kPiPlus || (doTreatPiToMuon && casc.pdgCodeBachelor() == PDG_t::kMuonPlus);
10591059
bool isBachelorKaonPlus = casc.pdgCodeBachelor() == PDG_t::kKPlus;
10601060
bool isBachelorPionMinus = casc.pdgCodeBachelor() == PDG_t::kPiMinus || (doTreatPiToMuon && casc.pdgCodeBachelor() == PDG_t::kMuonMinus);
@@ -1092,7 +1092,7 @@ struct v0cascadesQA {
10921092
histos.fill(HIST("histos_event/hEventCounter"), 1.5);
10931093

10941094
for (const auto& v0 : fullV0s) {
1095-
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
1095+
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
10961096
std::abs(v0.positiveeta()) > v0Selections.daughterEtaCut)
10971097
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
10981098

@@ -1198,7 +1198,7 @@ struct v0cascadesQA {
11981198
}
11991199

12001200
for (const auto& casc : fullCascades) {
1201-
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
1201+
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
12021202
std::abs(casc.positiveeta()) > cascSelections.daughterEtaCut ||
12031203
std::abs(casc.bacheloreta()) > cascSelections.daughterEtaCut)
12041204
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
@@ -1253,7 +1253,6 @@ struct v0cascadesQA {
12531253
}
12541254
}
12551255
}
1256-
12571256

12581257
////////////////////////////////
12591258
////////// QA - MC /////////////
@@ -1279,7 +1278,7 @@ struct v0cascadesQA {
12791278
}
12801279

12811280
for (const auto& v0 : fullV0s) {
1282-
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
1281+
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
12831282
std::abs(v0.positiveeta()) > v0Selections.daughterEtaCut)
12841283
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
12851284

@@ -1306,7 +1305,7 @@ struct v0cascadesQA {
13061305
}
13071306

13081307
for (const auto& casc : fullCascades) {
1309-
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
1308+
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
13101309
std::abs(casc.positiveeta()) > cascSelections.daughterEtaCut ||
13111310
std::abs(casc.bacheloreta()) > cascSelections.daughterEtaCut)
13121311
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
@@ -1423,7 +1422,6 @@ struct v0cascadesQA {
14231422
}
14241423
}
14251424

1426-
14271425
PROCESS_SWITCH(v0cascadesQA, processReconstructed, "Process reconstructed event and V0s+cascades in data", true);
14281426
PROCESS_SWITCH(v0cascadesQA, processMonteCarlo, "Process reconstructed event and V0s+cascades in MC", false);
14291427
PROCESS_SWITCH(v0cascadesQA, processGenerated, "Process MC level event and V0s+cascades in MC", false);

0 commit comments

Comments
 (0)