Skip to content

Commit ab0aec9

Browse files
committed
fix clang-format
1 parent af26faf commit ab0aec9

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

PWGCF/DataModel/FemtoDerived.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -660,21 +660,21 @@ namespace femtodreamMCparticle
660660
{
661661
/// Distinuishes the different particle origins
662662
enum ParticleOriginMCTruth {
663-
kPrimary, //! Primary track or V0
664-
kSecondary, //! Particle from a decay
665-
kMaterial, //! Particle from a material
666-
kNotPrimary, //! Not primary particles (kept for compatibility reasons with the FullProducer task. will be removed, since we look at "non primaries" more differentially now)
667-
kFake, //! particle, that has NOT the PDG code of the current analysed particle
668-
kWrongCollision, //! particle, that was associated wrongly to the collision
669-
kSecondaryDaughterLambda, //! Daughter from a Lambda decay
670-
kSecondaryDaughterSigmaplus, //! Daughter from a Sigma^plus decay
671-
kSecondaryDaughterSigma0, //! Daughter from a Sigma^0 decay
672-
kSecondaryDaughterXiMinus, //! Daughter from a Xi^- decay
673-
kSecondaryDaughterXi0, //! Daughter from a Xi^0 decay
674-
kSecondaryDaughterOmegaMinus,//! Daughter from a Omega^- decay
675-
kSecondaryDaughterXistar0, //! Daughter from a Xi*^0 decay
663+
kPrimary, //! Primary track or V0
664+
kSecondary, //! Particle from a decay
665+
kMaterial, //! Particle from a material
666+
kNotPrimary, //! Not primary particles (kept for compatibility reasons with the FullProducer task. will be removed, since we look at "non primaries" more differentially now)
667+
kFake, //! particle, that has NOT the PDG code of the current analysed particle
668+
kWrongCollision, //! particle, that was associated wrongly to the collision
669+
kSecondaryDaughterLambda, //! Daughter from a Lambda decay
670+
kSecondaryDaughterSigmaplus, //! Daughter from a Sigma^plus decay
671+
kSecondaryDaughterSigma0, //! Daughter from a Sigma^0 decay
672+
kSecondaryDaughterXiMinus, //! Daughter from a Xi^- decay
673+
kSecondaryDaughterXi0, //! Daughter from a Xi^0 decay
674+
kSecondaryDaughterOmegaMinus, //! Daughter from a Omega^- decay
675+
kSecondaryDaughterXistar0, //! Daughter from a Xi*^0 decay
676676
kSecondaryDaughterXistarMinus, //! Daughter from a Xi*^- decay
677-
kElse, //! none of the above; (NOTE: used to catch bugs. will be removed once MC usage is properly validated)
677+
kElse, //! none of the above; (NOTE: used to catch bugs. will be removed once MC usage is properly validated)
678678
kNOriginMCTruthTypes
679679
};
680680

PWGCF/FemtoDream/TableProducer/femtoDreamProducerTask.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ struct femtoDreamProducerTask {
636636
// check pdg code
637637
TrackRegistry.fill(HIST("AnalysisQA/getGenStatusCode"), particleMC.getGenStatusCode());
638638
TrackRegistry.fill(HIST("AnalysisQA/getProcess"), particleMC.getProcess());
639-
639+
640640
// if this fails, the particle is a fake
641641
if (abs(pdgCode) == abs(confPDGCode)) {
642642
// check first if particle is from pile up

PWGCF/FemtoDream/Tasks/femtoDreamPairTaskTrackCascade.cxx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,18 @@ struct femtoDreamPairTaskTrackCascade {
6565
Configurable<float> MultPercentileMin{"MultPercentileMin", 0, "Minimum Multiplicity Percentile"};
6666
Configurable<float> MultPercentileMax{"MultPercentileMax", 100, "Maximum Multiplicity Percentile"};
6767
} EventSel;
68-
68+
6969
Filter EventMultiplicity = aod::femtodreamcollision::multNtr >= EventSel.MultMin && aod::femtodreamcollision::multNtr <= EventSel.MultMax;
7070
Filter EventMultiplicityPercentile = aod::femtodreamcollision::multV0M >= EventSel.MultPercentileMin && aod::femtodreamcollision::multV0M <= EventSel.MultPercentileMax;
7171
/// Histogramming for Event
7272
FemtoDreamEventHisto eventHisto;
73-
//using FilteredCollisions = FDCollisions;
74-
//using FilteredMCCollisions = soa::Join<aod::FDCollisions, aod::FDMCCollLabels>;
73+
// using FilteredCollisions = FDCollisions;
74+
// using FilteredMCCollisions = soa::Join<aod::FDCollisions, aod::FDMCCollLabels>;
7575
using FilteredCollisions = soa::Filtered<FDCollisions>;
7676
using FilteredMCCollisions = soa::Filtered<soa::Join<aod::FDCollisions, aod::FDMCCollLabels>>;
7777
using FilteredCollision = FilteredCollisions::iterator;
7878
using FilteredMCCollision = FilteredMCCollisions::iterator;
79-
79+
8080
using FDMCParts = soa::Join<o2::aod::FDParticles, o2::aod::FDMCLabels>;
8181
using FDMCPart = FDMCParts::iterator;
8282
femtodreamcollision::BitMaskType BitMask = 1;
@@ -157,7 +157,7 @@ struct femtoDreamPairTaskTrackCascade {
157157
(aod::femtodreamparticle::mLambda < Cascade2.InvMassMax) &&
158158
(aod::femtodreamparticle::mAntiLambda > Cascade2.InvMassV0DaughMin) &&
159159
(aod::femtodreamparticle::mAntiLambda < Cascade2.InvMassV0DaughMax);
160-
160+
161161
Partition<FDMCParts> PartitionMCCascade2 = (aod::femtodreamparticle::partType == uint8_t(aod::femtodreamparticle::ParticleType::kCascade)) &&
162162
((aod::femtodreamparticle::cut & Cascade2.CutBit) == Cascade2.CutBit) &&
163163
(aod::femtodreamparticle::pt > Cascade2.PtMin) &&
@@ -260,7 +260,7 @@ struct femtoDreamPairTaskTrackCascade {
260260
bool checkChildCuts(PartType posChild, PartType negChild, PartType bachChild)
261261
{
262262

263-
bool passCuts = true;
263+
bool passCuts = true;
264264
if (Cascade2.UseChildCuts) {
265265
if (!(((posChild.cut() & Cascade2.ChildPos_CutBit) == Cascade2.ChildPos_CutBit) &&
266266
((negChild.cut() & Cascade2.ChildNeg_CutBit) == Cascade2.ChildNeg_CutBit) &&
@@ -350,7 +350,7 @@ struct femtoDreamPairTaskTrackCascade {
350350
doSameEvent<false>(SliceTrk1, SliceCascade2, parts, col);
351351
}
352352
PROCESS_SWITCH(femtoDreamPairTaskTrackCascade, processSameEvent, "Enable processing same event", true);
353-
353+
354354
void processSameEventMC(FilteredMCCollision const& col,
355355
o2::aod::FDMCCollisions&,
356356
FDMCParts const& parts,
@@ -389,8 +389,8 @@ struct femtoDreamPairTaskTrackCascade {
389389
const auto& posChild = parts.iteratorAt(p2.globalIndex() - 3);
390390
const auto& negChild = parts.iteratorAt(p2.globalIndex() - 2);
391391
const auto& bachChild = parts.iteratorAt(p2.globalIndex() - 1);
392-
393-
// Cuts on Cascade children still need to be applied
392+
393+
// Cuts on Cascade children still need to be applied
394394
if (!checkChildCuts(posChild, negChild, bachChild)) {
395395
continue;
396396
}

0 commit comments

Comments
 (0)