@@ -68,7 +68,7 @@ struct FlowEfficiencyCasc {
6868 O2_DEFINE_CONFIGURABLE (cfgtpccrossoverfindable, int , 0 , " minimum number of Ratio crossed rows over findable clusters" )
6969 O2_DEFINE_CONFIGURABLE (cfgcheckDauTPC, bool , true , " check daughter tracks TPC or not" )
7070 O2_DEFINE_CONFIGURABLE (cfgcheckDauTOF, bool , false , " check daughter tracks TOF or not" )
71- O2_DEFINE_CONFIGURABLE (cfgcheckMCParticleTrue , bool , false , " check the particle and deacy channel is MC true or not" )
71+ O2_DEFINE_CONFIGURABLE (cfgcheckMCParticle , bool , false , " check the particle and deacy channel is MC true or not" )
7272 O2_DEFINE_CONFIGURABLE (cfgCasc_rapidity, float , 0.5 , " rapidity" )
7373
7474 O2_DEFINE_CONFIGURABLE (cfgNSigmatpctof, std::vector<float >, (std::vector<float >{3 , 3 , 3 }), " tpc and tof NSigma for Pion Kaon Proton" )
@@ -251,7 +251,7 @@ struct FlowEfficiencyCasc {
251251 registry.fill (HIST (" QAhisto/Casc/hqadcaCascV0dauafter" ), casc.dcaV0daughters ());
252252 // Omega and antiOmega
253253 int pdgCode{cascMC.pdgCode ()};
254- if (!cfgcheckMCParticleTrue || (std::abs (pdgCode) == kOmegaMinus && std::abs (cascMC.pdgCodeV0 ()) == kLambda0 && std::abs (cascMC.pdgCodeBachelor ()) == kKPlus )) {
254+ if (!cfgcheckMCParticle || (std::abs (pdgCode) == kOmegaMinus && std::abs (cascMC.pdgCodeV0 ()) == kLambda0 && std::abs (cascMC.pdgCodeBachelor ()) == kKPlus )) {
255255 if (casc.sign () < 0 && (casc.mOmega () > 1.63 ) && (casc.mOmega () < 1.71 ) && std::fabs (casc.yOmega ()) < cfgCasc_rapidity &&
256256 (!cfgcheckDauTPC || (std::fabs (bachelor.tpcNSigmaKa ()) < cfgNSigma[2 ] && std::fabs (posdau.tpcNSigmaPr ()) < cfgNSigma[1 ] && std::fabs (negdau.tpcNSigmaPi ()) < cfgNSigma[0 ]))) {
257257 registry.fill (HIST (" h3DRecOmega" ), casc.pt (), rectracknum, casc.mOmega ());
@@ -261,7 +261,7 @@ struct FlowEfficiencyCasc {
261261 }
262262 }
263263 // Xi and antiXi
264- if (!cfgcheckMCParticleTrue || (std::abs (pdgCode) == kXiMinus && std::abs (cascMC.pdgCodeV0 ()) == kLambda0 && std::abs (cascMC.pdgCodeBachelor ()) == kPiPlus )) {
264+ if (!cfgcheckMCParticle || (std::abs (pdgCode) == kXiMinus && std::abs (cascMC.pdgCodeV0 ()) == kLambda0 && std::abs (cascMC.pdgCodeBachelor ()) == kPiPlus )) {
265265 if (casc.sign () < 0 && (casc.mXi () > 1.30 ) && (casc.mXi () < 1.37 ) && std::fabs (casc.yXi ()) < cfgCasc_rapidity &&
266266 (!cfgcheckDauTPC || (std::fabs (bachelor.tpcNSigmaPi ()) < cfgNSigma[0 ] && std::fabs (posdau.tpcNSigmaPr ()) < cfgNSigma[1 ] && std::fabs (negdau.tpcNSigmaPi ()) < cfgNSigma[0 ]))) {
267267 registry.fill (HIST (" h3DRecXi" ), casc.pt (), rectracknum, casc.mXi ());
@@ -321,7 +321,7 @@ struct FlowEfficiencyCasc {
321321
322322 int pdgCode{v0MC.pdgCode ()};
323323 // K0short
324- if (!cfgcheckMCParticleTrue || (std::abs (pdgCode) == kK0Short && v0MC.pdgCodePositive () == kPiPlus && v0MC.pdgCodeNegative () == kPiMinus )) {
324+ if (!cfgcheckMCParticle || (std::abs (pdgCode) == kK0Short && v0MC.pdgCodePositive () == kPiPlus && v0MC.pdgCodeNegative () == kPiMinus )) {
325325 if (v0.qtarm () / std::fabs (v0.alpha ()) > cfgv0_ArmPodocut && std::fabs (v0.y ()) < 0.5 && std::fabs (v0.mK0Short () - o2::constants::physics::MassK0Short) < cfgv0_mk0swindow &&
326326 (!cfgcheckDauTPC || (std::fabs (v0posdau.tpcNSigmaPi ()) < cfgNSigma[0 ] && std::fabs (v0negdau.tpcNSigmaPi ()) < cfgNSigma[0 ]))) {
327327 registry.fill (HIST (" h3DRecK0s" ), v0.pt (), rectracknum, v0.mK0Short ());
@@ -331,11 +331,11 @@ struct FlowEfficiencyCasc {
331331 // Lambda and antiLambda
332332 if (std::fabs (v0.mLambda () - o2::constants::physics::MassLambda) < cfgv0_mlambdawindow &&
333333 (!cfgcheckDauTPC || (std::fabs (v0posdau.tpcNSigmaPr ()) < cfgNSigma[1 ] && std::fabs (v0negdau.tpcNSigmaPi ()) < cfgNSigma[0 ]))) {
334- if (!cfgcheckMCParticleTrue || (std::abs (pdgCode) == kLambda0 && v0MC.pdgCodePositive () == kProton && v0MC.pdgCodeNegative () == kPiMinus ))
334+ if (!cfgcheckMCParticle || (std::abs (pdgCode) == kLambda0 && v0MC.pdgCodePositive () == kProton && v0MC.pdgCodeNegative () == kPiMinus ))
335335 registry.fill (HIST (" h3DRecLambda" ), v0.pt (), rectracknum, v0.mLambda ());
336336 } else if (std::fabs (v0.mLambda () - o2::constants::physics::MassLambda) < cfgv0_mlambdawindow &&
337337 (!cfgcheckDauTPC || (std::fabs (v0negdau.tpcNSigmaPr ()) < cfgNSigma[1 ] && std::fabs (v0posdau.tpcNSigmaPi ()) < cfgNSigma[0 ]))) {
338- if (!cfgcheckMCParticleTrue || (std::abs (pdgCode) == kLambda0 && v0MC.pdgCodePositive () == kPiPlus && v0MC.pdgCodeNegative () == kProtonBar ))
338+ if (!cfgcheckMCParticle || (std::abs (pdgCode) == kLambda0 && v0MC.pdgCodePositive () == kPiPlus && v0MC.pdgCodeNegative () == kProtonBar ))
339339 registry.fill (HIST (" h3DRecLambda" ), v0.pt (), rectracknum, v0.mLambda ());
340340 }
341341 }
0 commit comments