STParticle_flags - SpiRIT-Collaboration/FLowAnalysis GitHub Wiki

fVatTargetf

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

fdistanceatvertexf

if( apart->GetDistanceAtVertex() > 10 ) apart->SetDistanceAtVertexFlag(0);

STSpiRITTPCTask.cc

fNDFf

if( apart->GetNDF() < 15) apart->SetNDFFlag(0); STSpiRITTPCTask.cc

fTargetf

fTargetf = fVatTargetf*fdistanceatvertexf

STParticle.hh

fgoodtrackf

fgoodtrackf = fdedxf*fTargetf*fmomentumf + 10*fNDFf + 100*fclusterratiof

STParticle.hh

fReactionPlanef

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

⚠️ **GitHub.com Fallback** ⚠️