You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Produces<aod::V0CandidateIndices> v0CandidateIndices; // contains V0 candidate indices
51
54
Produces<aod::V0CandidateCores> v0CandidateCores; // contains V0 candidate core information
52
55
53
-
Configurable<bool> mcSameMotherCheck{"mcSameMotherCheck", true, "check if tracks come from the same MC mother"};
54
-
55
56
Configurable<float> nSigmaTOF{"nSigmaTOF", 5.0f, "Nsigma for TOF PID (if enabled)"};
56
57
Configurable<float> dcaXYconstant{"dcaXYconstant", -1.0f, "[0] in |DCAxy| > [0]+[1]/pT"};
57
58
Configurable<float> dcaXYpTdep{"dcaXYpTdep", 0.0, "[1] in |DCAxy| > [0]+[1]/pT"};
58
59
60
+
// Vertexing
61
+
Configurable<bool> propagateToPCA{"propagateToPCA", false, "create tracks version propagated to PCA"};
62
+
Configurable<bool> useAbsDCA{"useAbsDCA", true, "Minimise abs. distance rather than chi2"};
63
+
Configurable<bool> useWeightedFinalPCA{"useWeightedFinalPCA", false, "Recalculate vertex position using track covariances, effective only if useAbsDCA is true"};
64
+
Configurable<double> maxR{"maxR", 150., "reject PCA's above this radius"};
auto mcParticle1 = track1.templatemcParticle_as<aod::McParticles>();
94
132
auto mcParticle2 = track2.templatemcParticle_as<aod::McParticles>();
95
-
if (!mcParticle1.has_mothers() || !mcParticle2.has_mothers())
96
-
return sameMother;
97
-
for (auto& mcParticleMother1 : mcParticle1.templatemothers_as<aod::McParticles>()) {
98
-
for (auto& mcParticleMother2 : mcParticle2.templatemothers_as<aod::McParticles>()) {
99
-
if (mcParticleMother1.globalIndex() == mcParticleMother2.globalIndex()) {
100
-
sameMother = true;
101
-
}
102
-
}
133
+
if (mcParticle2.globalIndex() == mcParticle1.globalIndex()) { // for the V0 daughters we store the mc label of the mother particle in the daughter tracks
0 commit comments