Skip to content

Commit 15d88f2

Browse files
committed
Add bins to helicity analysis
1 parent c7da94b commit 15d88f2

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackV0Helicity.cxx

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,16 @@ struct FemtoUniversePairTaskTrackV0Helicity {
7070

7171
/// Particle 1 (track)
7272
struct : o2::framework::ConfigurableGroup {
73-
Configurable<int> confTrkPDGCodePartOne{"confTrkPDGCodePartOne", 211, "Particle 1 (track) -- PDG code"};
74-
Configurable<int> confTrackChoicePartOne{"confTrackChoicePartOne", 1, "0: Proton, 1: Pion, 2: Kaon"};
75-
ConfigurableAxis confTrkTempFitVarBins{"confTrkTempFitVarBins", {300, -0.15, 0.15}, "TempFitVar binning in the pT vs. TempFitVar plot"};
76-
ConfigurableAxis confTrkTempFitVarpTBins{"confTrkTempFitVarpTBins", {20, 0.5, 4.05}, "pT binning in the pT vs. TempFitVar plot"};
77-
Configurable<int> confChargePart1{"confChargePart1", 0, "Particle 1 sign"};
78-
Configurable<float> confHPtPart1{"confHPtPart1", 4.0f, "Particle 1 pT higher limit"};
79-
Configurable<float> confLPtPart1{"confLPtPart1", 0.3f, "Particle 1 pT lower limit"};
80-
Configurable<float> confTOFmom{"confTOFmom", 0.5, "Momentum threshold for particle identification using TOF"};
81-
Configurable<float> confNsigmaTPCParticle{"confNsigmaTPCParticle", 3.0, "TPC nSigma for particle momentum < confTOFmom"};
82-
Configurable<float> confNsigmaCombinedParticle{"confNsigmaCombinedParticle", 3.0, "TPC and TOF nSigma (combined) for particle momentum > confTOFmom"};
73+
Configurable<int> confTrkPDGCodePartOne{"confTrkPDGCodePartOne", 211, "Particle 1 (track) -- PDG code"};
74+
Configurable<int> confTrackChoicePartOne{"confTrackChoicePartOne", 1, "0: Proton, 1: Pion, 2: Kaon"};
75+
ConfigurableAxis confTrkTempFitVarBins{"confTrkTempFitVarBins", {300, -0.15, 0.15}, "TempFitVar binning in the pT vs. TempFitVar plot"};
76+
ConfigurableAxis confTrkTempFitVarpTBins{"confTrkTempFitVarpTBins", {20, 0.5, 4.05}, "pT binning in the pT vs. TempFitVar plot"};
77+
Configurable<int> confChargePart1{"confChargePart1", 0, "Particle 1 sign"};
78+
Configurable<float> confHPtPart1{"confHPtPart1", 4.0f, "Particle 1 pT higher limit"};
79+
Configurable<float> confLPtPart1{"confLPtPart1", 0.3f, "Particle 1 pT lower limit"};
80+
Configurable<float> confTOFmom{"confTOFmom", 0.5, "Momentum threshold for particle identification using TOF"};
81+
Configurable<float> confNsigmaTPCParticle{"confNsigmaTPCParticle", 3.0, "TPC nSigma for particle momentum < confTOFmom"};
82+
Configurable<float> confNsigmaCombinedParticle{"confNsigmaCombinedParticle", 3.0, "TPC and TOF nSigma (combined) for particle momentum > confTOFmom"};
8383
} trackconfigs;
8484

8585
Filter collisionFilter = (nabs(aod::collision::posZ) < confZVertexCut);
@@ -169,7 +169,7 @@ struct FemtoUniversePairTaskTrackV0Helicity {
169169
/// Efficiency
170170
Configurable<std::string> confLocalEfficiency{"confLocalEfficiency", "", "Local path to efficiency .root file"};
171171

172-
static constexpr unsigned int V0ChildTable[][2] = {{0, 1}, {1, 0}, {1, 1}}; // table to select the V0 children
172+
static constexpr unsigned int V0ChildTable[][2] = {{0, 1}, {1, 0}, {1, 1}}; // table to select V0 children
173173

174174
/// Containers
175175
FemtoUniverseContainer<femto_universe_container::EventType::same, femto_universe_container::Observable::kstar> sameEventCont;
@@ -186,7 +186,7 @@ struct FemtoUniversePairTaskTrackV0Helicity {
186186

187187
FemtoUniverseContainer<femto_universe_container::EventType::same, femto_universe_container::Observable::kstar> sameEventContHel4;
188188
FemtoUniverseContainer<femto_universe_container::EventType::mixed, femto_universe_container::Observable::kstar> mixedEventContHel4;
189-
189+
190190
FemtoUniversePairCleaner<aod::femtouniverseparticle::ParticleType::kTrack, aod::femtouniverseparticle::ParticleType::kV0> pairCleaner;
191191
FemtoUniversePairCleaner<aod::femtouniverseparticle::ParticleType::kV0, aod::femtouniverseparticle::ParticleType::kV0> pairCleanerV0;
192192

@@ -555,19 +555,19 @@ struct FemtoUniversePairTaskTrackV0Helicity {
555555
auto groupPartsOne = partsOne->sliceByCached(aod::femtouniverseparticle::fdCollisionId, col.globalIndex(), cache);
556556
auto groupPartsTwo = partsTwo->sliceByCached(aod::femtouniverseparticle::fdCollisionId, col.globalIndex(), cache);
557557

558-
if(cfgProcessHel)
558+
if (cfgProcessHel)
559559
doSameEvent(col, parts, groupPartsOne, groupPartsTwo, 0);
560560

561-
if(cfgProcessHel1)
561+
if (cfgProcessHel1)
562562
doSameEvent(col, parts, groupPartsOne, groupPartsTwo, 1);
563563

564-
if(cfgProcessHel2)
564+
if (cfgProcessHel2)
565565
doSameEvent(col, parts, groupPartsOne, groupPartsTwo, 2);
566566

567-
if(cfgProcessHel3)
567+
if (cfgProcessHel3)
568568
doSameEvent(col, parts, groupPartsOne, groupPartsTwo, 3);
569569

570-
if(cfgProcessHel4)
570+
if (cfgProcessHel4)
571571
doSameEvent(col, parts, groupPartsOne, groupPartsTwo, 4);
572572
}
573573
PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Helicity, processSameEvent, "Enable processing same event for track - V0", false);
@@ -863,19 +863,19 @@ struct FemtoUniversePairTaskTrackV0Helicity {
863863

864864
void processMixedEvent(FilteredFDCollisions const& cols, FemtoFullParticles const& parts)
865865
{
866-
if(cfgProcessHel)
866+
if (cfgProcessHel)
867867
doMixedEvent(cols, parts, partsOne, partsTwo, 0);
868868

869-
if(cfgProcessHel1)
869+
if (cfgProcessHel1)
870870
doMixedEvent(cols, parts, partsOne, partsTwo, 1);
871871

872-
if(cfgProcessHel2)
872+
if (cfgProcessHel2)
873873
doMixedEvent(cols, parts, partsOne, partsTwo, 2);
874874

875-
if(cfgProcessHel3)
875+
if (cfgProcessHel3)
876876
doMixedEvent(cols, parts, partsOne, partsTwo, 3);
877877

878-
if(cfgProcessHel4)
878+
if (cfgProcessHel4)
879879
doMixedEvent(cols, parts, partsOne, partsTwo, 4);
880880
}
881881
PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Helicity, processMixedEvent, "Enable processing mixed event for track - V0", false);

0 commit comments

Comments
 (0)