PandaRoot
RhoEventSelectorBase Class Referenceabstract

#include <RhoEventSelectorBase.h>

Inheritance diagram for RhoEventSelectorBase:

Public Member Functions

 RhoEventSelectorBase (const char *name="RhoEventSelectorBase")
 
virtual ~RhoEventSelectorBase ()
 
virtual Bool_t Accept (RhoEventInfo &)=0
 
virtual void PrintOn (std::ostream &o=std::cout) const
 
void SetTight ()
 
void SetLoose ()
 
void SetNumberOfTracks (UInt_t n1, UInt_t n2=65535)
 
void SetPrimaryVertex (Double_t d, Double_t zMin, Double_t zMax)
 
void SetTotalCharge (Int_t n)
 
void SetTotalEnergy (Double_t e1, Double_t e2=1.E8)
 
void SetTotalMomentum (Double_t p1, Double_t p2=1.E8)
 
void SetEnergy (Double_t e1, Double_t e2=1.E8)
 
void SetShowerEnergy (Double_t e1, Double_t e2=1.E8)
 
void SetMomentum (Double_t p1, Double_t p2=1.E8)
 
void SetPt (Double_t p1, Double_t p2=1.E8)
 
void SetTheta (Double_t t1, Double_t t2=2. *3.14159265358979323846)
 
void SetPhi (Double_t p1, Double_t p2=2. *3.14159265358979323846)
 

Protected Attributes

Bool_t fTight
 
Int_t fNTracksMin
 
Int_t fNTracksMax
 
Int_t fTotChar
 
Double_t fDocaMax
 
Double_t fZMin
 
Double_t fZMax
 
Double_t fETotLow
 
Double_t fETotHigh
 
Double_t fPTotLow
 
Double_t fPTotHigh
 
Double_t fELow
 
Double_t fEHigh
 
Double_t fEmcLow
 
Double_t fEmcHigh
 
Double_t fPLow
 
Double_t fPHigh
 
Double_t fPtLow
 
Double_t fPtHigh
 
Double_t fThetaLow
 
Double_t fThetaHigh
 
Double_t fPhiLow
 
Double_t fPhiHigh
 

Detailed Description

Definition at line 29 of file RhoEventSelectorBase.h.

Constructor & Destructor Documentation

◆ RhoEventSelectorBase()

RhoEventSelectorBase::RhoEventSelectorBase ( const char *  name = "RhoEventSelectorBase")
inline

Definition at line 33 of file RhoEventSelectorBase.h.

34  : TNamed(name, name), fTight(kFALSE), fNTracksMin(0), fNTracksMax(65535), fTotChar(65535), fDocaMax(1.E8), fZMin(1.E8), fZMax(1.E8), fETotLow(0.0), fETotHigh(1.E8),
35  fPTotLow(0.0), fPTotHigh(1.E8), fELow(0.0), fEHigh(1.E8), fEmcLow(0.0), fEmcHigh(1.E8), fPLow(0.0), fPHigh(1.E8), fPtLow(0.0), fPtHigh(1.E8), fThetaLow(0.0),
36  fThetaHigh(2. * 3.14159265358979323846), fPhiLow(0.0), fPhiHigh(2. * 3.14159265358979323846)
37  {
38  }

◆ ~RhoEventSelectorBase()

virtual RhoEventSelectorBase::~RhoEventSelectorBase ( )
inlinevirtual

Definition at line 41 of file RhoEventSelectorBase.h.

References Accept(), and PrintOn().

41 {}

Member Function Documentation

◆ Accept()

virtual Bool_t RhoEventSelectorBase::Accept ( RhoEventInfo )
pure virtual

Referenced by ~RhoEventSelectorBase().

◆ PrintOn()

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

Referenced by ~RhoEventSelectorBase().

◆ SetEnergy()

void RhoEventSelectorBase::SetEnergy ( Double_t  e1,
Double_t  e2 = 1.E8 
)
inline

Definition at line 76 of file RhoEventSelectorBase.h.

References fEHigh, and fELow.

77  {
78  fELow = e1;
79  fEHigh = e2;
80  }

◆ SetLoose()

void RhoEventSelectorBase::SetLoose ( )
inline

Definition at line 51 of file RhoEventSelectorBase.h.

References fTight.

51 { fTight = kFALSE; };

◆ SetMomentum()

void RhoEventSelectorBase::SetMomentum ( Double_t  p1,
Double_t  p2 = 1.E8 
)
inline

Definition at line 86 of file RhoEventSelectorBase.h.

References fPHigh, and fPLow.

87  {
88  fPLow = p1;
89  fPHigh = p2;
90  }

◆ SetNumberOfTracks()

void RhoEventSelectorBase::SetNumberOfTracks ( UInt_t  n1,
UInt_t  n2 = 65535 
)
inline

Definition at line 53 of file RhoEventSelectorBase.h.

References fNTracksMax, and fNTracksMin.

54  {
55  fNTracksMin = n1;
56  fNTracksMax = n2;
57  }

◆ SetPhi()

void RhoEventSelectorBase::SetPhi ( Double_t  p1,
Double_t  p2 = 2. * 3.14159265358979323846 
)
inline

Definition at line 101 of file RhoEventSelectorBase.h.

References fPhiHigh, and fPhiLow.

102  {
103  fPhiLow = p1;
104  fPhiHigh = p2;
105  }

◆ SetPrimaryVertex()

void RhoEventSelectorBase::SetPrimaryVertex ( Double_t  d,
Double_t  zMin,
Double_t  zMax 
)
inline

Definition at line 58 of file RhoEventSelectorBase.h.

References fDocaMax, fZMax, and fZMin.

59  {
60  fDocaMax = d;
61  fZMin = zMin;
62  fZMax = zMax;
63  }

◆ SetPt()

void RhoEventSelectorBase::SetPt ( Double_t  p1,
Double_t  p2 = 1.E8 
)
inline

Definition at line 91 of file RhoEventSelectorBase.h.

References fPtHigh, and fPtLow.

92  {
93  fPtLow = p1;
94  fPtHigh = p2;
95  }

◆ SetShowerEnergy()

void RhoEventSelectorBase::SetShowerEnergy ( Double_t  e1,
Double_t  e2 = 1.E8 
)
inline

Definition at line 81 of file RhoEventSelectorBase.h.

References fEmcHigh, and fEmcLow.

82  {
83  fEmcLow = e1;
84  fEmcHigh = e2;
85  }

◆ SetTheta()

void RhoEventSelectorBase::SetTheta ( Double_t  t1,
Double_t  t2 = 2. * 3.14159265358979323846 
)
inline

Definition at line 96 of file RhoEventSelectorBase.h.

References fThetaHigh, and fThetaLow.

97  {
98  fThetaLow = t1;
99  fThetaHigh = t2;
100  }

◆ SetTight()

void RhoEventSelectorBase::SetTight ( )
inline

Definition at line 50 of file RhoEventSelectorBase.h.

References fTight.

50 { fTight = kTRUE; };

◆ SetTotalCharge()

void RhoEventSelectorBase::SetTotalCharge ( Int_t  n)
inline

Definition at line 64 of file RhoEventSelectorBase.h.

References fTotChar.

◆ SetTotalEnergy()

void RhoEventSelectorBase::SetTotalEnergy ( Double_t  e1,
Double_t  e2 = 1.E8 
)
inline

Definition at line 65 of file RhoEventSelectorBase.h.

References fETotHigh, and fETotLow.

66  {
67  fETotLow = e1;
68  fETotHigh = e2;
69  }

◆ SetTotalMomentum()

void RhoEventSelectorBase::SetTotalMomentum ( Double_t  p1,
Double_t  p2 = 1.E8 
)
inline

Definition at line 70 of file RhoEventSelectorBase.h.

References fPTotHigh, and fPTotLow.

71  {
72  fPTotLow = p1;
73  fPTotHigh = p2;
74  }

Member Data Documentation

◆ fDocaMax

Double_t RhoEventSelectorBase::fDocaMax
protected

Definition at line 110 of file RhoEventSelectorBase.h.

Referenced by SetPrimaryVertex().

◆ fEHigh

Double_t RhoEventSelectorBase::fEHigh
protected

Definition at line 112 of file RhoEventSelectorBase.h.

Referenced by SetEnergy().

◆ fELow

Double_t RhoEventSelectorBase::fELow
protected

Definition at line 112 of file RhoEventSelectorBase.h.

Referenced by SetEnergy().

◆ fEmcHigh

Double_t RhoEventSelectorBase::fEmcHigh
protected

Definition at line 112 of file RhoEventSelectorBase.h.

Referenced by SetShowerEnergy().

◆ fEmcLow

Double_t RhoEventSelectorBase::fEmcLow
protected

Definition at line 112 of file RhoEventSelectorBase.h.

Referenced by SetShowerEnergy().

◆ fETotHigh

Double_t RhoEventSelectorBase::fETotHigh
protected

Definition at line 111 of file RhoEventSelectorBase.h.

Referenced by SetTotalEnergy().

◆ fETotLow

Double_t RhoEventSelectorBase::fETotLow
protected

Definition at line 111 of file RhoEventSelectorBase.h.

Referenced by SetTotalEnergy().

◆ fNTracksMax

Int_t RhoEventSelectorBase::fNTracksMax
protected

Definition at line 109 of file RhoEventSelectorBase.h.

Referenced by SetNumberOfTracks().

◆ fNTracksMin

Int_t RhoEventSelectorBase::fNTracksMin
protected

Definition at line 109 of file RhoEventSelectorBase.h.

Referenced by SetNumberOfTracks().

◆ fPHigh

Double_t RhoEventSelectorBase::fPHigh
protected

Definition at line 112 of file RhoEventSelectorBase.h.

Referenced by SetMomentum().

◆ fPhiHigh

Double_t RhoEventSelectorBase::fPhiHigh
protected

Definition at line 113 of file RhoEventSelectorBase.h.

Referenced by SetPhi().

◆ fPhiLow

Double_t RhoEventSelectorBase::fPhiLow
protected

Definition at line 113 of file RhoEventSelectorBase.h.

Referenced by SetPhi().

◆ fPLow

Double_t RhoEventSelectorBase::fPLow
protected

Definition at line 112 of file RhoEventSelectorBase.h.

Referenced by SetMomentum().

◆ fPtHigh

Double_t RhoEventSelectorBase::fPtHigh
protected

Definition at line 112 of file RhoEventSelectorBase.h.

Referenced by SetPt().

◆ fPtLow

Double_t RhoEventSelectorBase::fPtLow
protected

Definition at line 112 of file RhoEventSelectorBase.h.

Referenced by SetPt().

◆ fPTotHigh

Double_t RhoEventSelectorBase::fPTotHigh
protected

Definition at line 111 of file RhoEventSelectorBase.h.

Referenced by SetTotalMomentum().

◆ fPTotLow

Double_t RhoEventSelectorBase::fPTotLow
protected

Definition at line 111 of file RhoEventSelectorBase.h.

Referenced by SetTotalMomentum().

◆ fThetaHigh

Double_t RhoEventSelectorBase::fThetaHigh
protected

Definition at line 113 of file RhoEventSelectorBase.h.

Referenced by SetTheta().

◆ fThetaLow

Double_t RhoEventSelectorBase::fThetaLow
protected

Definition at line 113 of file RhoEventSelectorBase.h.

Referenced by SetTheta().

◆ fTight

Bool_t RhoEventSelectorBase::fTight
protected

Definition at line 108 of file RhoEventSelectorBase.h.

Referenced by SetLoose(), and SetTight().

◆ fTotChar

Int_t RhoEventSelectorBase::fTotChar
protected

Definition at line 109 of file RhoEventSelectorBase.h.

Referenced by SetTotalCharge().

◆ fZMax

Double_t RhoEventSelectorBase::fZMax
protected

Definition at line 110 of file RhoEventSelectorBase.h.

Referenced by SetPrimaryVertex().

◆ fZMin

Double_t RhoEventSelectorBase::fZMin
protected

Definition at line 110 of file RhoEventSelectorBase.h.

Referenced by SetPrimaryVertex().


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