File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
PWGLF/TableProducer/Strangeness Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,7 @@ struct cascadeFlow {
264264 Configurable<float > v0radiusMax{" v0radiusMax" , 1E5 , " maximum V0 radius (cm)" };
265265 Configurable<float > rapidityLambda{" rapidityLambda" , 0.5 , " rapidityLambda" };
266266 Configurable<float > etaLambda{" etaLambda" , 0.8 , " etaLambda" };
267+ Configurable<float > dauTrackV0Eta{" dauTrackV0Eta" , 0.8 , " dauTrackV0Eta" };
267268 Configurable<bool > isPositiveEta{" isPositiveEta" , 0 , " isPositiveEta" };
268269 Configurable<bool > isNegativeEta{" isNegativeEta" , 0 , " isNegativeEta" };
269270 } V0Configs;
@@ -484,6 +485,12 @@ struct cascadeFlow {
484485 return false ;
485486 if (std::abs (v0.eta ()) > V0Configs.etaLambda )
486487 return false ;
488+ Float_t posDauEta = RecoDecay::eta (std::array{v0.pxpos (), v0.pypos (), v0.pzpos ()});
489+ Float_t negDauEta = RecoDecay::eta (std::array{v0.pxneg (), v0.pyneg (), v0.pzneg ()});
490+ if (std::abs (posDauEta) > V0Configs.dauTrackV0Eta )
491+ return false ;
492+ if (std::abs (negDauEta) > V0Configs.dauTrackV0Eta )
493+ return false ;
487494 if (V0Configs.isPositiveEta ) { // v0 and daughter tracks required to have positive eta
488495 if (v0.pzpos () <= 0 )
489496 return false ;
You can’t perform that action at this time.
0 commit comments