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
Update KF output tables in treeCreatorXicToXiPiPi:
- Add missing trigger features to KF output trees
- Remove unused variables and uptdate naming convention of chi2 deviations
LF strangenessbuilder: store unconstrained V0 and cascade mass in cascKF outpuut table in all cases
Configurable<bool> useAbsDCA{"useAbsDCA", false, "Minimise abs. distance rather than chi2"};
108
108
Configurable<bool> useWeightedFinalPCA{"useWeightedFinalPCA", false, "Recalculate vertex position using track covariances, effective only if useAbsDCA is true"};
109
109
// KFParticle
110
-
Configurable<bool> useXiMassConstraint{"useXiMassConstraint", true, "Use mass constraint for Xi"};
110
+
Configurable<bool> useXiMassConstraint{"useXiMassConstraint", true, "Use mass constraint for Xi. WARNING: Only disable if you know what you are doing!"};
111
111
Configurable<bool> constrainXicPlusToPv{"constrainXicPlusToPv", false, "Constrain XicPlus to PV"};
112
112
Configurable<int> kfConstructMethod{"kfConstructMethod", 2, "Construct method of XicPlus: 0 fast mathematics without constraint of fixed daughter particle masses, 2 daughter particle masses stay fixed in construction process"};
113
113
Configurable<bool> rejDiffCollTrack{"rejDiffCollTrack", true, "Reject tracks coming from different collisions (effective only for KFParticle w/o derived data)"};
// README: The Xi KFParticle in this case is constructed from the parameters stored in the LF cascade table.
606
+
// The LF strangenessbuilder should in this case be run WITHOUT the mass constraint on the Xi to consistently store the unconstrained parameters and invariant mass of the Xi.
607
+
// The mass constraint on the Xi is applied here only after the KFParticle object was created from the unconstrained parameters and covariance matrix of the Xi.
608
+
// WARNING: If the Xi gets already constrained in the LF strangenessbuilder, the parameters and cov matrix passed to the KFParticle.Create() function will be constrained while the mass won't be. The stored energy, mass, and momentum will not be correctly related anymore!
@@ -1117,9 +1122,18 @@ class strangenessBuilderHelper
1117
1122
cascade = {};
1118
1123
returnfalse;
1119
1124
}
1125
+
1126
+
// Calculate masses a priori before potentially applying mass constraint --> this is the invariant mass of the decay products, not the mass-constrained value
1127
+
float MXi, SigmaXi, MOmega, SigmaOmega;
1128
+
KFXi.GetMass(MXi, SigmaXi);
1129
+
KFOmega.GetMass(MOmega, SigmaOmega);
1130
+
cascade.massXi = MXi;
1131
+
cascade.massOmega = MOmega;
1132
+
1120
1133
if (kfUseCascadeMassConstraint) {
1121
1134
// set mass constraint if requested
1122
1135
// WARNING: this is only adequate for decay chains, i.e. XiC -> Xi or OmegaC -> Omega
1136
+
// WARNING: be aware of the fact that if enabled, the stored particle momentum and covariance matrix will be mass-constrained while the stored mass will be the invariant mass of the decay products (i.e. not mass-constrained)
0 commit comments