diff --git a/PWGEM/PhotonMeson/TableProducer/skimmerGammaConversion.cxx b/PWGEM/PhotonMeson/TableProducer/skimmerGammaConversion.cxx index fffe798d0fb..51272b839a6 100644 --- a/PWGEM/PhotonMeson/TableProducer/skimmerGammaConversion.cxx +++ b/PWGEM/PhotonMeson/TableProducer/skimmerGammaConversion.cxx @@ -66,7 +66,7 @@ struct skimmerGammaConversion { Configurable grpmagPath{"grpmagPath", "GLO/Config/GRPMagField", "path to the GRPMagField object"}; Configurable lutPath{"lutPath", "GLO/Param/MatLUT", "Path of the Lut parametrization"}; Configurable ccdbUrl{"ccdb-url", "http://alice-ccdb.cern.ch", "url of the ccdb repository"}; - Configurable kfMassConstrain{"KFParticleMassConstrain", 0.f, "mass constrain for the KFParticle mother particle"}; + Configurable kfMassConstrain{"KFParticleMassConstrain", -1.f, "mass constrain for the KFParticle mother particle"}; Configurable mincrossedrows{"mincrossedrows", 10, "min. crossed rows"}; Configurable maxchi2tpc{"maxchi2tpc", 4.0, "max. chi2/NclsTPC"}; @@ -258,8 +258,9 @@ struct skimmerGammaConversion { KFParticle gammaKF; gammaKF.SetConstructMethod(2); gammaKF.Construct(GammaDaughters, 2); - gammaKF.SetNonlinearMassConstraint(kfMassConstrain); - + if (kfMassConstrain > -0.1) { + gammaKF.SetNonlinearMassConstraint(kfMassConstrain); + } KFPVertex kfpVertex = createKFPVertexFromCollision(collision); KFParticle KFPV(kfpVertex);