Skip to content

Commit 7cc1eed

Browse files
committed
Fix using MeanVertex in the residuals monitoring workflow
1 parent 056b5f4 commit 7cc1eed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Detectors/GlobalTrackingWorkflow/study/src/CheckResid.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
// Attention: in case the residuals are checked with geometry different from the one used for initial reconstruction,
4646
// pass a --configKeyValues option for vertex refit as:
47-
// ;pvertexer.useMeanVertexConstraint=false;pvertexer.iniScale2=100;pvertexer.acceptableScale2=10.;
47+
// ;pvertexer.useMeanVertexConstraint=false;pvertexer.meanVertexExtraErrSelection=0.2;pvertexer.iniScale2=100;pvertexer.acceptableScale2=10.;
4848
// In any case, it is better to pass ;pvertexer.useMeanVertexConstraint=false;
4949

5050
namespace o2::checkresid
@@ -152,6 +152,7 @@ void CheckResidSpec::updateTimeDependentParams(ProcessingContext& pc)
152152
}
153153
if (mMeanVertexUpdated) {
154154
mMeanVertexUpdated = false;
155+
mVertexer.setMeanVertex(&mMeanVtx);
155156
mVertexer.initMeanVertexConstraint();
156157
}
157158
bool updateMaps = false;

0 commit comments

Comments
 (0)