Skip to content

Commit 246d3a0

Browse files
committed
Please consider the following formatting changes
1 parent 07c8b97 commit 246d3a0

1 file changed

Lines changed: 12 additions & 15 deletions

File tree

PWGLF/Tasks/QC/v0cascadesqa.cxx

Lines changed: 12 additions & 15 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>;
@@ -79,7 +79,6 @@ struct v0cascadesQA {
7979
HistogramRegistry histos_event{"histos_event", {}, OutputObjHandlingPolicy::AnalysisObject};
8080
HistogramRegistry histos_V0{"histos_V0", {}, OutputObjHandlingPolicy::AnalysisObject};
8181
HistogramRegistry histos_Casc{"histos_Casc", {}, OutputObjHandlingPolicy::AnalysisObject};
82-
8382

8483
// configurable event properties
8584
bool isMC = false;
@@ -296,7 +295,7 @@ struct v0cascadesQA {
296295
ConfigurableAxis axisCascDCABachToPV{"axisCascDCABachToPV", {100, -1.0f, 1.0f}, "DCA bach. to PV (cm)"};
297296
ConfigurableAxis axisInvMassXi{"axisInvMassXi", {80, 1.28f, 1.36f}, "Inv. mass (GeV/#it{c}%{2})"};
298297
ConfigurableAxis axisInvMassOmega{"axisInvMassOmega", {80, 1.63f, 1.71f}, "Inv. mass (GeV/#it{c}%{2})"};
299-
298+
300299
} axisConfigurations;
301300

302301
int dauEtaFlag = 0;
@@ -692,7 +691,7 @@ struct v0cascadesQA {
692691
if (negTrackExtra.itsChi2NCl() > v0Selections.maxITSchi2PerNcls)
693692
return false;
694693

695-
// ITS only tag
694+
// ITS only tag
696695
if (v0Selections.requirePosITSonly) {
697696
if (posTrackExtra.tpcNClsCrossedRows() > 0)
698697
return false;
@@ -714,7 +713,7 @@ struct v0cascadesQA {
714713
if (negTrackExtra.tpcChi2NCl() > v0Selections.maxTPCchi2PerNcls)
715714
return false;
716715

717-
// check the maximum fraction of allowed shared TPC
716+
// check the maximum fraction of allowed shared TPC
718717
if (posTrackExtra.tpcFractionSharedCls() > v0Selections.maxFractionTPCSharedClusters)
719718
return false;
720719
if (negTrackExtra.tpcFractionSharedCls() > v0Selections.maxFractionTPCSharedClusters)
@@ -747,7 +746,7 @@ struct v0cascadesQA {
747746
if (std::fabs(negTrackExtra.tpcNSigmaPr()) > v0Selections.tpcPidNsigmaCutLaPr)
748747
return false;
749748
}
750-
749+
751750
// TOF Requirement checks
752751
if (v0Selections.requirePosHasTOF && !v0.positiveHasTOF()) {
753752
return false;
@@ -810,7 +809,7 @@ struct v0cascadesQA {
810809
if (negTrackExtra.hasTRD() && negTRDhits < v0Selections.minTRDclusters) {
811810
return false;
812811
}
813-
812+
814813
return true;
815814
}
816815

@@ -1034,7 +1033,7 @@ struct v0cascadesQA {
10341033
{
10351034
if (!v0.isPhysicalPrimary())
10361035
return false;
1037-
1036+
10381037
bool isPositiveProton = v0.pdgCodePositive() == PDG_t::kProton;
10391038
bool isPositivePion = v0.pdgCodePositive() == PDG_t::kPiPlus || (doTreatPiToMuon && v0.pdgCodePositive() == PDG_t::kMuonPlus);
10401039
bool isNegativeProton = v0.pdgCodeNegative() == PDG_t::kProtonBar;
@@ -1058,7 +1057,7 @@ struct v0cascadesQA {
10581057
{
10591058
if (!casc.isPhysicalPrimary())
10601059
return false;
1061-
1060+
10621061
bool isBachelorPionPlus = casc.pdgCodeBachelor() == PDG_t::kPiPlus || (doTreatPiToMuon && casc.pdgCodeBachelor() == PDG_t::kMuonPlus);
10631062
bool isBachelorKaonPlus = casc.pdgCodeBachelor() == PDG_t::kKPlus;
10641063
bool isBachelorPionMinus = casc.pdgCodeBachelor() == PDG_t::kPiMinus || (doTreatPiToMuon && casc.pdgCodeBachelor() == PDG_t::kMuonMinus);
@@ -1096,7 +1095,7 @@ struct v0cascadesQA {
10961095
histos.fill(HIST("histos_event/hEventCounter"), 1.5);
10971096

10981097
for (const auto& v0 : fullV0s) {
1099-
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
1098+
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
11001099
std::abs(v0.positiveeta()) > v0Selections.daughterEtaCut)
11011100
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
11021101

@@ -1202,7 +1201,7 @@ struct v0cascadesQA {
12021201
}
12031202

12041203
for (const auto& casc : fullCascades) {
1205-
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
1204+
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
12061205
std::abs(casc.positiveeta()) > cascSelections.daughterEtaCut ||
12071206
std::abs(casc.bacheloreta()) > cascSelections.daughterEtaCut)
12081207
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
@@ -1257,7 +1256,6 @@ struct v0cascadesQA {
12571256
}
12581257
}
12591258
}
1260-
12611259

12621260
////////////////////////////////
12631261
////////// QA - MC /////////////
@@ -1283,7 +1281,7 @@ struct v0cascadesQA {
12831281
}
12841282

12851283
for (const auto& v0 : fullV0s) {
1286-
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
1284+
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
12871285
std::abs(v0.positiveeta()) > v0Selections.daughterEtaCut)
12881286
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
12891287

@@ -1310,7 +1308,7 @@ struct v0cascadesQA {
13101308
}
13111309

13121310
for (const auto& casc : fullCascades) {
1313-
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
1311+
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
13141312
std::abs(casc.positiveeta()) > cascSelections.daughterEtaCut ||
13151313
std::abs(casc.bacheloreta()) > cascSelections.daughterEtaCut)
13161314
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
@@ -1427,7 +1425,6 @@ struct v0cascadesQA {
14271425
}
14281426
}
14291427

1430-
14311428
PROCESS_SWITCH(v0cascadesQA, processReconstructed, "Process reconstructed event and V0s+cascades in data", true);
14321429
PROCESS_SWITCH(v0cascadesQA, processMonteCarlo, "Process reconstructed event and V0s+cascades in MC", false);
14331430
PROCESS_SWITCH(v0cascadesQA, processGenerated, "Process MC level event and V0s+cascades in MC", false);

0 commit comments

Comments
 (0)