File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,7 +86,8 @@ struct lambdapolarization {
8686 Configurable<bool > cfgQAv0{" cfgQAv0" , false , " QA plot" };
8787
8888 Configurable<int > cfgDaughTPCnclsMin{" cfgDaughTPCnclsMin" , 70 , " minimum fired crossed rows" };
89- Configurable<float > cfgDaughPIDCutsTPC{" cfgDaughPIDCutsTPC" , 5 , " nsigma for TPC" };
89+ Configurable<float > cfgDaughPIDCutsTPCPr{" cfgDaughPIDCutsTPCPr" , 5 , " proton nsigma for TPC" };
90+ Configurable<float > cfgDaughPIDCutsTPCPi{" cfgDaughPIDCutsTPCPi" , 5 , " pion nsigma for TPC" };
9091 Configurable<float > cfgDaughEtaMin{" cfgDaughEtaMin" , -0.8 , " minimum daughter eta" };
9192 Configurable<float > cfgDaughEtaMax{" cfgDaughEtaMax" , 0.8 , " maximum daughter eta" };
9293 Configurable<float > cfgDaughPrPt{" cfgDaughPrPt" , 0.6 , " minimum daughter proton pt" };
@@ -192,7 +193,9 @@ struct lambdapolarization {
192193 {
193194 if (track.tpcNClsFound () < cfgDaughTPCnclsMin)
194195 return false ;
195- if (std::abs (track.tpcNSigmaPr ()) > cfgDaughPIDCutsTPC)
196+ if (pid == 0 && std::abs (track.tpcNSigmaPr ()) > cfgDaughPIDCutsTPCPr)
197+ return false ;
198+ if (pid == 1 && std::abs (track.tpcNSigmaPi ()) > cfgDaughPIDCutsTPCPi)
196199 return false ;
197200 if (track.eta () > cfgDaughEtaMax)
198201 return false ;
You can’t perform that action at this time.
0 commit comments