Skip to content

Commit 3f137bc

Browse files
authored
[PWGJE] Adding a process functions withou event weight (#11740)
1 parent d38032a commit 3f137bc

File tree

2 files changed

+198
-114
lines changed

2 files changed

+198
-114
lines changed

PWGJE/TableProducer/secondaryVertexReconstruction.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,6 @@ struct SecondaryVertexReconstruction {
210210
auto chi2PCA = df.getChi2AtPCACandidate();
211211
auto covMatrixPCA = df.calcPCACovMatrixFlat();
212212

213-
registry.fill(HIST("hDispersion"), dispersion, numProngs);
214-
215213
// get track impact parameters
216214
// This modifies track momenta!
217215
auto primaryVertex = getPrimaryVertex(collision);
@@ -288,6 +286,7 @@ struct SecondaryVertexReconstruction {
288286
double decayLengthNormalised = RecoDecay::distance(std::array{primaryVertex.getX(), primaryVertex.getY(), primaryVertex.getZ()}, std::array{secondaryVertex[0], secondaryVertex[1], secondaryVertex[2]}) / errorDecayLength;
289287
double decayLengthXYNormalised = RecoDecay::distanceXY(std::array{primaryVertex.getX(), primaryVertex.getY()}, std::array{secondaryVertex[0], secondaryVertex[1]}) / errorDecayLengthXY;
290288

289+
registry.fill(HIST("hDispersion"), dispersion, numProngs);
291290
registry.fill(HIST("hMassNProngs"), massSV, numProngs);
292291
registry.fill(HIST("hLxySNProngs"), decayLengthXYNormalised, numProngs);
293292
registry.fill(HIST("hLSNProngs"), decayLengthNormalised, numProngs);

0 commit comments

Comments
 (0)