Skip to content

Commit c9ad0a3

Browse files
committed
Please consider the following formatting changes
1 parent 410ea27 commit c9ad0a3

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

PWGLF/Tasks/QC/v0cascadesqa.cxx

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
#include <cmath>
2121
// #include <cstdlib>
22-
#include "PWGLF/DataModel/LFStrangenessTables.h"
2322
#include "PWGLF/DataModel/LFStrangenessPIDTables.h"
23+
#include "PWGLF/DataModel/LFStrangenessTables.h"
2424

2525
#include "Common/CCDB/ctpRateFetcher.h"
2626
#include "Common/Core/TrackSelection.h"
@@ -53,7 +53,7 @@ enum ParticleType : uint8_t { kPhoton = 0,
5353
kXiM,
5454
kXiP,
5555
kOmegaM,
56-
kOmegaP};
56+
kOmegaP };
5757

5858
// using DaughterTracks = soa::Join<aod::Tracks, aod::TracksExtra, aod::TracksDCA, aod::pidTOFPi, aod::pidTPCPi, aod::pidTOFPr, aod::pidTPCPr, aod::pidTOFKa, aod::pidTPCKa>;
5959
using DaughterTracks = soa::Join<aod::TracksIU, aod::TracksExtra, aod::TracksDCA, aod::pidTPCPi, aod::pidTPCPr, aod::pidTPCKa>;
@@ -279,7 +279,7 @@ struct v0cascadesQA {
279279
ConfigurableAxis axisCascDCABachToPV{"axisCascDCABachToPV", {100, -1.0f, 1.0f}, "DCA bach. to PV (cm)"};
280280
ConfigurableAxis axisInvMassXi{"axisInvMassXi", {80, 1.28f, 1.36f}, "Inv. mass (GeV/#it{c}%{2})"};
281281
ConfigurableAxis axisInvMassOmega{"axisInvMassOmega", {80, 1.63f, 1.71f}, "Inv. mass (GeV/#it{c}%{2})"};
282-
282+
283283
} axisConfigurations;
284284

285285
int dauEtaFlag = 0;
@@ -675,7 +675,7 @@ struct v0cascadesQA {
675675
if (negTrackExtra.itsChi2NCl() > v0Selections.maxITSchi2PerNcls)
676676
return false;
677677

678-
// ITS only tag
678+
// ITS only tag
679679
if (v0Selections.requirePosITSonly) {
680680
if (posTrackExtra.tpcNClsCrossedRows() > 0)
681681
return false;
@@ -697,7 +697,7 @@ struct v0cascadesQA {
697697
if (negTrackExtra.tpcChi2NCl() > v0Selections.maxTPCchi2PerNcls)
698698
return false;
699699

700-
// check the maximum fraction of allowed shared TPC
700+
// check the maximum fraction of allowed shared TPC
701701
if (posTrackExtra.tpcFractionSharedCls() > v0Selections.maxFractionTPCSharedClusters)
702702
return false;
703703
if (negTrackExtra.tpcFractionSharedCls() > v0Selections.maxFractionTPCSharedClusters)
@@ -730,7 +730,7 @@ struct v0cascadesQA {
730730
if (std::fabs(negTrackExtra.tpcNSigmaPr()) > v0Selections.tpcPidNsigmaCutLaPr)
731731
return false;
732732
}
733-
733+
734734
// TOF Requirement checks
735735
if (v0Selections.requirePosHasTOF && !v0.positiveHasTOF()) {
736736
return false;
@@ -793,7 +793,7 @@ struct v0cascadesQA {
793793
if (negTrackExtra.hasTRD() && negTRDhits < v0Selections.minTRDclusters) {
794794
return false;
795795
}
796-
796+
797797
return true;
798798
}
799799

@@ -1017,7 +1017,7 @@ struct v0cascadesQA {
10171017
{
10181018
if (!v0.isPhysicalPrimary())
10191019
return false;
1020-
1020+
10211021
bool isPositiveProton = v0.pdgCodePositive() == PDG_t::kProton;
10221022
bool isPositivePion = v0.pdgCodePositive() == PDG_t::kPiPlus || (doTreatPiToMuon && v0.pdgCodePositive() == PDG_t::kMuonPlus);
10231023
bool isNegativeProton = v0.pdgCodeNegative() == PDG_t::kProtonBar;
@@ -1041,7 +1041,7 @@ struct v0cascadesQA {
10411041
{
10421042
if (!casc.isPhysicalPrimary())
10431043
return false;
1044-
1044+
10451045
bool isBachelorPionPlus = casc.pdgCodeBachelor() == PDG_t::kPiPlus || (doTreatPiToMuon && casc.pdgCodeBachelor() == PDG_t::kMuonPlus);
10461046
bool isBachelorKaonPlus = casc.pdgCodeBachelor() == PDG_t::kKPlus;
10471047
bool isBachelorPionMinus = casc.pdgCodeBachelor() == PDG_t::kPiMinus || (doTreatPiToMuon && casc.pdgCodeBachelor() == PDG_t::kMuonMinus);
@@ -1079,7 +1079,7 @@ struct v0cascadesQA {
10791079
histos_event.fill(HIST("hEventCounter"), 1.5);
10801080

10811081
for (auto& v0 : fullV0s) {
1082-
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
1082+
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
10831083
std::abs(v0.positiveeta()) > v0Selections.daughterEtaCut)
10841084
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
10851085

@@ -1185,7 +1185,7 @@ struct v0cascadesQA {
11851185
}
11861186

11871187
for (auto& casc : fullCascades) {
1188-
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
1188+
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
11891189
std::abs(casc.positiveeta()) > cascSelections.daughterEtaCut ||
11901190
std::abs(casc.bacheloreta()) > cascSelections.daughterEtaCut)
11911191
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
@@ -1240,7 +1240,6 @@ struct v0cascadesQA {
12401240
}
12411241
}
12421242
}
1243-
12441243

12451244
////////////////////////////////
12461245
////////// QA - MC /////////////
@@ -1266,7 +1265,7 @@ struct v0cascadesQA {
12661265
}
12671266

12681267
for (auto& v0 : fullV0s) {
1269-
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
1268+
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
12701269
std::abs(v0.positiveeta()) > v0Selections.daughterEtaCut)
12711270
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
12721271

@@ -1293,7 +1292,7 @@ struct v0cascadesQA {
12931292
}
12941293

12951294
for (auto& casc : fullCascades) {
1296-
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
1295+
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
12971296
std::abs(casc.positiveeta()) > cascSelections.daughterEtaCut ||
12981297
std::abs(casc.bacheloreta()) > cascSelections.daughterEtaCut)
12991298
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
@@ -1410,7 +1409,6 @@ struct v0cascadesQA {
14101409
}
14111410
}
14121411

1413-
14141412
PROCESS_SWITCH(v0cascadesQA, processReconstructed, "Process reconstructed event and V0s+cascades in data", true);
14151413
PROCESS_SWITCH(v0cascadesQA, processMonteCarlo, "Process reconstructed event and V0s+cascades in MC", false);
14161414
PROCESS_SWITCH(v0cascadesQA, processGenerated, "Process MC level event and V0s+cascades in MC", false);

0 commit comments

Comments
 (0)