PandaRoot
RhoVertexSelectorBase Class Referenceabstract

#include <RhoVertexSelectorBase.h>

Inheritance diagram for RhoVertexSelectorBase:
RhoSimpleVertexSelector

Public Member Functions

 RhoVertexSelectorBase (const char *name="RhoVertexSelectorBase")
 
virtual ~RhoVertexSelectorBase ()
 
virtual Bool_t Accept (RhoCandidate *, RhoCandidate *)=0
 
virtual Bool_t Accept (RhoCandidate *, RhoCandidate *, RhoCandidate *)
 
virtual Bool_t Accept (RhoCandidate *, RhoCandidate *, RhoCandidate *, RhoCandidate *)
 
virtual Bool_t Accept (RhoCandidate *, RhoCandidate *, RhoCandidate *, RhoCandidate *, RhoCandidate *)
 
void SetDistanceOfClosestApproach (Double_t d)
 
void SetAngle (Double_t d)
 
void SetRadius (Double_t r1, Double_t r2=1.E8)
 
void SetPrimaryVertex (TVector3 x)
 
TVector3 GetVertex ()
 
Double_t GetDistanceOfClosestApproach ()
 
Double_t GetAngle ()
 
virtual void PrintOn (std::ostream &o=std::cout) const
 
const TVector3 & GetMomentumA () const
 
const TVector3 & GetMomentumB () const
 
TVector3 GetMomentum () const
 
Double_t GetRadius () const
 
void Combine (RhoCandList &in1, RhoCandList &in2, RhoCandList &out)
 

Protected Attributes

Double_t fDoca
 
Double_t fVtxip
 
Double_t fRmin
 
Double_t fRmax
 
Double_t fActualR
 
Double_t fActualVtxip
 
Double_t fActualDoca
 
TVector3 fVertex
 
TVector3 fPrimaryVertex
 
TVector3 fMomA
 
TVector3 fMomB
 

Detailed Description

Definition at line 23 of file RhoVertexSelectorBase.h.

Constructor & Destructor Documentation

◆ RhoVertexSelectorBase()

RhoVertexSelectorBase::RhoVertexSelectorBase ( const char *  name = "RhoVertexSelectorBase")

◆ ~RhoVertexSelectorBase()

virtual RhoVertexSelectorBase::~RhoVertexSelectorBase ( )
virtual

Member Function Documentation

◆ Accept() [1/4]

virtual Bool_t RhoVertexSelectorBase::Accept ( RhoCandidate ,
RhoCandidate  
)
pure virtual

◆ Accept() [2/4]

virtual Bool_t RhoVertexSelectorBase::Accept ( RhoCandidate ,
RhoCandidate ,
RhoCandidate  
)
inlinevirtual

Definition at line 33 of file RhoVertexSelectorBase.h.

33 { return kTRUE; };

◆ Accept() [3/4]

virtual Bool_t RhoVertexSelectorBase::Accept ( RhoCandidate ,
RhoCandidate ,
RhoCandidate ,
RhoCandidate  
)
inlinevirtual

Definition at line 34 of file RhoVertexSelectorBase.h.

34 { return kTRUE; };

◆ Accept() [4/4]

virtual Bool_t RhoVertexSelectorBase::Accept ( RhoCandidate ,
RhoCandidate ,
RhoCandidate ,
RhoCandidate ,
RhoCandidate  
)
inlinevirtual

Definition at line 35 of file RhoVertexSelectorBase.h.

35 { return kTRUE; };

◆ Combine()

void RhoVertexSelectorBase::Combine ( RhoCandList in1,
RhoCandList in2,
RhoCandList out 
)

Referenced by GetRadius().

◆ GetAngle()

Double_t RhoVertexSelectorBase::GetAngle ( )
inline

Definition at line 46 of file RhoVertexSelectorBase.h.

References fActualVtxip, and PrintOn().

46 { return fActualVtxip; }

◆ GetDistanceOfClosestApproach()

Double_t RhoVertexSelectorBase::GetDistanceOfClosestApproach ( )
inline

Definition at line 45 of file RhoVertexSelectorBase.h.

References fActualDoca.

45 { return fActualDoca; }

◆ GetMomentum()

TVector3 RhoVertexSelectorBase::GetMomentum ( ) const
inline

Definition at line 51 of file RhoVertexSelectorBase.h.

References fMomA, and fMomB.

◆ GetMomentumA()

const TVector3& RhoVertexSelectorBase::GetMomentumA ( ) const
inline

Definition at line 49 of file RhoVertexSelectorBase.h.

References fMomA.

49 { return fMomA; }

◆ GetMomentumB()

const TVector3& RhoVertexSelectorBase::GetMomentumB ( ) const
inline

Definition at line 50 of file RhoVertexSelectorBase.h.

References fMomB.

50 { return fMomB; }

◆ GetRadius()

Double_t RhoVertexSelectorBase::GetRadius ( ) const
inline

Definition at line 52 of file RhoVertexSelectorBase.h.

References Combine(), and fActualR.

52 { return fActualR; }

◆ GetVertex()

TVector3 RhoVertexSelectorBase::GetVertex ( )
inline

Definition at line 44 of file RhoVertexSelectorBase.h.

References fVertex.

44 { return fVertex; }

◆ PrintOn()

virtual void RhoVertexSelectorBase::PrintOn ( std::ostream &  o = std::cout) const
virtual

Referenced by GetAngle().

◆ SetAngle()

void RhoVertexSelectorBase::SetAngle ( Double_t  d)
inline

Definition at line 37 of file RhoVertexSelectorBase.h.

References fVtxip.

37 { fVtxip = d; }

◆ SetDistanceOfClosestApproach()

void RhoVertexSelectorBase::SetDistanceOfClosestApproach ( Double_t  d)
inline

Definition at line 36 of file RhoVertexSelectorBase.h.

References fDoca.

36 { fDoca = d; }

◆ SetPrimaryVertex()

void RhoVertexSelectorBase::SetPrimaryVertex ( TVector3  x)
inline

Definition at line 43 of file RhoVertexSelectorBase.h.

References fPrimaryVertex.

◆ SetRadius()

void RhoVertexSelectorBase::SetRadius ( Double_t  r1,
Double_t  r2 = 1.E8 
)
inline

Definition at line 38 of file RhoVertexSelectorBase.h.

References fRmax, and fRmin.

39  {
40  fRmin = r1;
41  fRmax = r2;
42  }

Member Data Documentation

◆ fActualDoca

Double_t RhoVertexSelectorBase::fActualDoca
protected

Definition at line 62 of file RhoVertexSelectorBase.h.

Referenced by GetDistanceOfClosestApproach().

◆ fActualR

Double_t RhoVertexSelectorBase::fActualR
protected

Definition at line 60 of file RhoVertexSelectorBase.h.

Referenced by GetRadius().

◆ fActualVtxip

Double_t RhoVertexSelectorBase::fActualVtxip
protected

Definition at line 61 of file RhoVertexSelectorBase.h.

Referenced by GetAngle().

◆ fDoca

Double_t RhoVertexSelectorBase::fDoca
protected

Definition at line 56 of file RhoVertexSelectorBase.h.

Referenced by SetDistanceOfClosestApproach().

◆ fMomA

TVector3 RhoVertexSelectorBase::fMomA
protected

Definition at line 65 of file RhoVertexSelectorBase.h.

Referenced by GetMomentum(), and GetMomentumA().

◆ fMomB

TVector3 RhoVertexSelectorBase::fMomB
protected

Definition at line 65 of file RhoVertexSelectorBase.h.

Referenced by GetMomentum(), and GetMomentumB().

◆ fPrimaryVertex

TVector3 RhoVertexSelectorBase::fPrimaryVertex
protected

Definition at line 64 of file RhoVertexSelectorBase.h.

Referenced by SetPrimaryVertex().

◆ fRmax

Double_t RhoVertexSelectorBase::fRmax
protected

Definition at line 59 of file RhoVertexSelectorBase.h.

Referenced by SetRadius().

◆ fRmin

Double_t RhoVertexSelectorBase::fRmin
protected

Definition at line 58 of file RhoVertexSelectorBase.h.

Referenced by SetRadius().

◆ fVertex

TVector3 RhoVertexSelectorBase::fVertex
protected

Definition at line 63 of file RhoVertexSelectorBase.h.

Referenced by GetVertex().

◆ fVtxip

Double_t RhoVertexSelectorBase::fVtxip
protected

Definition at line 57 of file RhoVertexSelectorBase.h.

Referenced by SetAngle().


The documentation for this class was generated from the following file: