Skip to content

Commit afd5715

Browse files
authored
Update strangenessBuilderModule.h
1 parent 044f765 commit afd5715

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

PWGLF/Utils/strangenessBuilderModule.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,9 @@ struct coreConfigurables : o2::framework::ConfigurableGroup {
277277
o2::framework::Configurable<bool> useV0BufferForCascades{"useV0BufferForCascades", false, "store array of V0s for cascades or not. False (default): save RAM, use more CPU; true: save CPU, use more RAM"};
278278

279279
o2::framework::Configurable<int> mc_findableMode{"mc_findableMode", 0, "0: disabled; 1: add findable-but-not-found to existing V0s from AO2D; 2: reset V0s and generate only findable-but-not-found"};
280+
281+
// test the possibility of refitting with material corrections (DCA Fitter option)
282+
o2::framework::Configurable<bool> refitWithMaterialCorrection{"refitWithMaterialCorrection", false, "do refit after material corrections were applied"};
280283
};
281284

282285
// strangenessBuilder: V0 building options
@@ -697,6 +700,9 @@ class BuilderModule
697700
straHelper.cascadeselections.dcacascdau = cascadeBuilderOpts.dcacascdau;
698701
straHelper.cascadeselections.lambdaMassWindow = cascadeBuilderOpts.lambdaMassWindow;
699702
straHelper.cascadeselections.maxDaughterEta = cascadeBuilderOpts.maxDaughterEta;
703+
704+
// Set option to refit with material corrections
705+
straHelper.fitter.setRefitWithMatCorr(baseOpts.refitWithMaterialCorrection.value);
700706
}
701707

702708
// for sorting

0 commit comments

Comments
 (0)