STParticle_flags - SpiRIT-Collaboration/FLowAnalysis GitHub Wiki
if( abs( apart->GetVertex().Z() - VtxMean[BeamIndex].Z() ) > 2.*VtxSigm[BeamIndex] || abs( apart->GetVertex().X() - VtxMean[BeamIndex].X() ) > 15. || abs( apart->GetVertex().Y() - VtxMean[BeamIndex].Y() ) > 20. )
apart->SetVertexAtTargetFlag(0);
STSpiRITTPCTask.cc
if( apart->GetDistanceAtVertex() > 10 ) apart->SetDistanceAtVertexFlag(0);
STSpiRITTPCTask.cc
if( apart->GetNDF() < 15) apart->SetNDFFlag(0); STSpiRITTPCTask.cc
fTargetf = fVatTargetf*fdistanceatvertexf
STParticle.hh
fgoodtrackf = fdedxf*fTargetf*fmomentumf + 10*fNDFf + 100*fclusterratiof
STParticle.hh
auto pid = apart.GetPIDLoose(); if( pid == 211 ) apart.SetReactionPlaneFlag(10);
else if( pid > 2000 && apart.GetFromTargetFlag() ) { //fTargetf = fVatTargetf*fdistanceatvertexf; apart.SetReactionPlaneFlag(1000);
if(apart.GetNDFFlag()) apart.AddReactionPlaneFlag(10000); } else apart.SetReactionPlaneFlag(0);
~ if( apart.GetReactionPlaneFlag() >= selReactionPlanef ){ ntrack[4]++; apart.AddReactionPlaneFlag(1);
STFlowTask.cc