49 if ( &b == 0 ) {
return kFALSE; }
60 if ( &cand == 0 ) {
return kFALSE; }
61 if ( cand.
GetCharge() == 0 ) {
return kFALSE; }
71 if ( p.Mag() <
fPMin ) {
return kFALSE; }
72 if ( p.Mag() >
fPMax ) {
return kFALSE; }
76 if ( p.Perp() <
fPtMin ) {
return kFALSE; }
77 if ( p.Perp() >
fPtMax ) {
return kFALSE; }
84 if ( chiq >
fChisqMax ) {
return kFALSE; }
86 if ( TMath::Prob(chiq,ndf) <
fChisqProbMin ) {
return kFALSE; }
92 if ( v.Perp() >
fDocaMax ) {
return kFALSE; }
93 if ( v.Z() >
fZMax ) {
return kFALSE; }
94 if ( v.Z() <
fZMin ) {
return kFALSE; }
102 o << GetName() << endl;
104 if (
fPMin > 0 ) { o <<
"Momentum range = " <<
fPMin <<
" ... " <<
fPMax <<
" GeV" << endl; }
105 if (
fPtMin > 0 ) { o <<
"Momentum range (Pt) = " <<
fPtMin <<
" ... " <<
fPtMax <<
" GeV" << endl; }
107 if (
fZMin>-1.E8 ||
fZMax < 1.E8 ) { o <<
"z position = " <<
fZMin <<
" ... " <<
fZMax << endl; }
Int_t GetDegreesOfFreedom() const
RhoGoodTrackSelector(const char *name="RhoGoodTrackSelector")
ClassImp(RhoGoodTrackSelector) TBuffer &operator>>(TBuffer &buf
PndPidCandidate * GetRecoCandidate() const
std::ostream & operator<<(std::ostream &o, const RhoGoodTrackSelector &a)
virtual Bool_t Accept(RhoCandidate &b)
Float_t GetChiSquared() const
virtual void PrintOn(std::ostream &o=std::cout) const
RhoGoodTrackSelector *& obj
TVector3 GetPosition() const
virtual ~RhoGoodTrackSelector()
TVector3 GetMomentum() const