Skip to content

Commit f43c1e7

Browse files
Add configurable for old covariance matrix calculation
1 parent 8852528 commit f43c1e7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎PWGLF/Utils/strangenessBuilderModule.h‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@ struct coreConfigurables : o2::framework::ConfigurableGroup {
334334

335335
// test the possibility of refitting with material corrections (DCA Fitter option)
336336
o2::framework::Configurable<bool> refitWithMaterialCorrection{"refitWithMaterialCorrection", false, "do refit after material corrections were applied"};
337+
338+
// enable old convariance matrix calculation until this has been fully tested
339+
o2::framework::Configurable<bool> useOldCovMatrixCalculation{"useOldCovMatrixCalculation", true, "Use old covariance matrix calculation?"};
337340
};
338341

339342
// strangenessBuilder: V0 building options
@@ -824,6 +827,9 @@ class BuilderModule
824827
// Set option to refit with material corrections
825828
straHelper.fitter.setRefitWithMatCorr(baseOpts.refitWithMaterialCorrection.value);
826829

830+
// set option to enabled the old mode
831+
straHelper.fitter.setOldMode(baseOpts.useOldCovMatrixCalculation.value);
832+
827833
// Initialise the RCTFlagsChecker
828834
if (eventSelectOpts.cfgApplyRCTrequirement) {
829835
rctFlagsChecker.init(eventSelectOpts.cfgRCTLabel.value, eventSelectOpts.cfgCheckZDC, eventSelectOpts.cfgTreatLimitedAcceptanceAsBad);

0 commit comments

Comments
 (0)