Skip to content

Commit 85052d3

Browse files
committed
Please consider the following formatting changes
1 parent abe6cd1 commit 85052d3

1 file changed

Lines changed: 13 additions & 16 deletions

File tree

PWGLF/Tasks/QC/v0cascadesqa.cxx

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
#include <cmath>
2323
// #include <cstdlib>
24-
#include "PWGLF/DataModel/LFStrangenessTables.h"
2524
#include "PWGLF/DataModel/LFStrangenessPIDTables.h"
25+
#include "PWGLF/DataModel/LFStrangenessTables.h"
2626

2727
#include "Common/CCDB/ctpRateFetcher.h"
2828
#include "Common/Core/TrackSelection.h"
@@ -55,7 +55,7 @@ enum ParticleType : uint8_t { kPhoton = 0,
5555
kXiM,
5656
kXiP,
5757
kOmegaM,
58-
kOmegaP};
58+
kOmegaP };
5959

6060
// using DaughterTracks = soa::Join<aod::Tracks, aod::TracksExtra, aod::TracksDCA, aod::pidTOFPi, aod::pidTPCPi, aod::pidTOFPr, aod::pidTPCPr, aod::pidTOFKa, aod::pidTPCKa>;
6161
using DaughterTracks = soa::Join<aod::TracksIU, aod::TracksExtra, aod::TracksDCA, aod::pidTPCPi, aod::pidTPCPr, aod::pidTPCKa>;
@@ -66,7 +66,6 @@ struct v0cascadesQA {
6666
HistogramRegistry histos_event{"histos_event", {}, OutputObjHandlingPolicy::AnalysisObject};
6767
HistogramRegistry histos_V0{"histos_V0", {}, OutputObjHandlingPolicy::AnalysisObject};
6868
HistogramRegistry histos_Casc{"histos_Casc", {}, OutputObjHandlingPolicy::AnalysisObject};
69-
7069

7170
// configurable event properties
7271
bool isMC = false;
@@ -283,7 +282,7 @@ struct v0cascadesQA {
283282
ConfigurableAxis axisCascDCABachToPV{"axisCascDCABachToPV", {100, -1.0f, 1.0f}, "DCA bach. to PV (cm)"};
284283
ConfigurableAxis axisInvMassXi{"axisInvMassXi", {80, 1.28f, 1.36f}, "Inv. mass (GeV/#it{c}%{2})"};
285284
ConfigurableAxis axisInvMassOmega{"axisInvMassOmega", {80, 1.63f, 1.71f}, "Inv. mass (GeV/#it{c}%{2})"};
286-
285+
287286
} axisConfigurations;
288287

289288
int dauEtaFlag = 0;
@@ -679,7 +678,7 @@ struct v0cascadesQA {
679678
if (negTrackExtra.itsChi2NCl() > v0Selections.maxITSchi2PerNcls)
680679
return false;
681680

682-
// ITS only tag
681+
// ITS only tag
683682
if (v0Selections.requirePosITSonly) {
684683
if (posTrackExtra.tpcNClsCrossedRows() > 0)
685684
return false;
@@ -701,7 +700,7 @@ struct v0cascadesQA {
701700
if (negTrackExtra.tpcChi2NCl() > v0Selections.maxTPCchi2PerNcls)
702701
return false;
703702

704-
// check the maximum fraction of allowed shared TPC
703+
// check the maximum fraction of allowed shared TPC
705704
if (posTrackExtra.tpcFractionSharedCls() > v0Selections.maxFractionTPCSharedClusters)
706705
return false;
707706
if (negTrackExtra.tpcFractionSharedCls() > v0Selections.maxFractionTPCSharedClusters)
@@ -734,7 +733,7 @@ struct v0cascadesQA {
734733
if (std::fabs(negTrackExtra.tpcNSigmaPr()) > v0Selections.tpcPidNsigmaCutLaPr)
735734
return false;
736735
}
737-
736+
738737
// TOF Requirement checks
739738
if (v0Selections.requirePosHasTOF && !v0.positiveHasTOF()) {
740739
return false;
@@ -797,7 +796,7 @@ struct v0cascadesQA {
797796
if (negTrackExtra.hasTRD() && negTRDhits < v0Selections.minTRDclusters) {
798797
return false;
799798
}
800-
799+
801800
return true;
802801
}
803802

@@ -1021,7 +1020,7 @@ struct v0cascadesQA {
10211020
{
10221021
if (!v0.isPhysicalPrimary())
10231022
return false;
1024-
1023+
10251024
bool isPositiveProton = v0.pdgCodePositive() == PDG_t::kProton;
10261025
bool isPositivePion = v0.pdgCodePositive() == PDG_t::kPiPlus || (doTreatPiToMuon && v0.pdgCodePositive() == PDG_t::kMuonPlus);
10271026
bool isNegativeProton = v0.pdgCodeNegative() == PDG_t::kProtonBar;
@@ -1045,7 +1044,7 @@ struct v0cascadesQA {
10451044
{
10461045
if (!casc.isPhysicalPrimary())
10471046
return false;
1048-
1047+
10491048
bool isBachelorPionPlus = casc.pdgCodeBachelor() == PDG_t::kPiPlus || (doTreatPiToMuon && casc.pdgCodeBachelor() == PDG_t::kMuonPlus);
10501049
bool isBachelorKaonPlus = casc.pdgCodeBachelor() == PDG_t::kKPlus;
10511050
bool isBachelorPionMinus = casc.pdgCodeBachelor() == PDG_t::kPiMinus || (doTreatPiToMuon && casc.pdgCodeBachelor() == PDG_t::kMuonMinus);
@@ -1083,7 +1082,7 @@ struct v0cascadesQA {
10831082
histos.fill(HIST("histos_event/hEventCounter"), 1.5);
10841083

10851084
for (const auto& v0 : fullV0s) {
1086-
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
1085+
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
10871086
std::abs(v0.positiveeta()) > v0Selections.daughterEtaCut)
10881087
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
10891088

@@ -1189,7 +1188,7 @@ struct v0cascadesQA {
11891188
}
11901189

11911190
for (const auto& casc : fullCascades) {
1192-
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
1191+
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
11931192
std::abs(casc.positiveeta()) > cascSelections.daughterEtaCut ||
11941193
std::abs(casc.bacheloreta()) > cascSelections.daughterEtaCut)
11951194
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
@@ -1244,7 +1243,6 @@ struct v0cascadesQA {
12441243
}
12451244
}
12461245
}
1247-
12481246

12491247
////////////////////////////////
12501248
////////// QA - MC /////////////
@@ -1270,7 +1268,7 @@ struct v0cascadesQA {
12701268
}
12711269

12721270
for (const auto& v0 : fullV0s) {
1273-
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
1271+
if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut ||
12741272
std::abs(v0.positiveeta()) > v0Selections.daughterEtaCut)
12751273
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
12761274

@@ -1297,7 +1295,7 @@ struct v0cascadesQA {
12971295
}
12981296

12991297
for (const auto& casc : fullCascades) {
1300-
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
1298+
if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut ||
13011299
std::abs(casc.positiveeta()) > cascSelections.daughterEtaCut ||
13021300
std::abs(casc.bacheloreta()) > cascSelections.daughterEtaCut)
13031301
continue; // remove acceptance that's badly reproduced by MC / superfluous in future
@@ -1414,7 +1412,6 @@ struct v0cascadesQA {
14141412
}
14151413
}
14161414

1417-
14181415
PROCESS_SWITCH(v0cascadesQA, processReconstructed, "Process reconstructed event and V0s+cascades in data", true);
14191416
PROCESS_SWITCH(v0cascadesQA, processMonteCarlo, "Process reconstructed event and V0s+cascades in MC", false);
14201417
PROCESS_SWITCH(v0cascadesQA, processGenerated, "Process MC level event and V0s+cascades in MC", false);

0 commit comments

Comments
 (0)