PandaRoot
RhoGoodPhotonSelector Class Reference

#include <RhoGoodPhotonSelector.h>

Inheritance diagram for RhoGoodPhotonSelector:
RhoParticleSelectorBase

Public Member Functions

 RhoGoodPhotonSelector (const char *name="RhoGoodPhotonSelector", Double_t e=0.0, Int_t nCrys=0, Double_t epx=0., Double_t e25e=0., Double_t z20=0., Double_t z53=1.)
 
 RhoGoodPhotonSelector (const char *name, criterion crit)
 
 RhoGoodPhotonSelector (const char *name, const char *crit)
 
virtual ~RhoGoodPhotonSelector ()
 
virtual void SetCriterion (const char *crit)
 
virtual void SetCriterion (criterion crit)
 
virtual Bool_t Accept (RhoCandidate *b)
 
virtual Bool_t Accept (PndPidCandidate *b)
 
virtual void PrintOn (std::ostream &o=std::cout) const
 
void SetCrystals (Int_t min, Int_t max)
 
void SetEnergyPerXtal (Double_t min, Double_t max)
 
void SetEnergy25toEtotal (Double_t min, Double_t max)
 
void SetZ20 (Double_t min, Double_t max)
 
void SetZ53 (Double_t min, Double_t max)
 
void SetTheta (Double_t min, Double_t max)
 
void SetShowerEnergy (Double_t min, Double_t max=1.E8)
 
- Public Member Functions inherited from RhoParticleSelectorBase
 RhoParticleSelectorBase (const char *name="VAbsPidSelector", const char *type=nullptr)
 
virtual ~RhoParticleSelectorBase ()
 
void SetCriterion (criterion crit)
 
void Select (RhoCandList &l)
 
void Select (RhoCandList &in, RhoCandList &out)
 

Additional Inherited Members

- Protected Member Functions inherited from RhoParticleSelectorBase
TParticlePDG * CPConjugate (TParticlePDG *aPart)
 
void SetTypeAndMass (RhoCandidate *b)
 
- Protected Attributes inherited from RhoParticleSelectorBase
TParticlePDG * fTypePlus
 
TParticlePDG * fTypeMinus
 Particle type to accept. More...
 
criterion fCriterion
 Particle type to accept. More...
 

Detailed Description

Definition at line 20 of file RhoGoodPhotonSelector.h.

Constructor & Destructor Documentation

◆ RhoGoodPhotonSelector() [1/3]

RhoGoodPhotonSelector::RhoGoodPhotonSelector ( const char *  name = "RhoGoodPhotonSelector",
Double_t  e = 0.0,
Int_t  nCrys = 0,
Double_t  epx = 0.,
Double_t  e25e = 0.,
Double_t  z20 = 0.,
Double_t  z53 = 1. 
)

◆ RhoGoodPhotonSelector() [2/3]

RhoGoodPhotonSelector::RhoGoodPhotonSelector ( const char *  name,
criterion  crit 
)

◆ RhoGoodPhotonSelector() [3/3]

RhoGoodPhotonSelector::RhoGoodPhotonSelector ( const char *  name,
const char *  crit 
)

◆ ~RhoGoodPhotonSelector()

virtual RhoGoodPhotonSelector::~RhoGoodPhotonSelector ( )
inlinevirtual

Definition at line 29 of file RhoGoodPhotonSelector.h.

References Accept(), PrintOn(), and SetCriterion().

29 {}

Member Function Documentation

◆ Accept() [1/2]

virtual Bool_t RhoGoodPhotonSelector::Accept ( RhoCandidate b)
virtual

◆ Accept() [2/2]

virtual Bool_t RhoGoodPhotonSelector::Accept ( PndPidCandidate b)
virtual

◆ PrintOn()

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

Referenced by ~RhoGoodPhotonSelector().

◆ SetCriterion() [1/2]

virtual void RhoGoodPhotonSelector::SetCriterion ( const char *  crit)
virtual

Reimplemented from RhoParticleSelectorBase.

Referenced by ~RhoGoodPhotonSelector().

◆ SetCriterion() [2/2]

virtual void RhoGoodPhotonSelector::SetCriterion ( criterion  crit)
virtual

◆ SetCrystals()

void RhoGoodPhotonSelector::SetCrystals ( Int_t  min,
Int_t  max 
)
inline

Definition at line 38 of file RhoGoodPhotonSelector.h.

References max(), and min().

39  {
40  fNcMin = min;
41  fNcMax = max;
42  }
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:25
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:24

◆ SetEnergy25toEtotal()

void RhoGoodPhotonSelector::SetEnergy25toEtotal ( Double_t  min,
Double_t  max 
)
inline

Definition at line 50 of file RhoGoodPhotonSelector.h.

References max(), and min().

51  {
52  fE25toEMin = min;
53  fE25toEMax = max;
54  }
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:25
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:24

◆ SetEnergyPerXtal()

void RhoGoodPhotonSelector::SetEnergyPerXtal ( Double_t  min,
Double_t  max 
)
inline

Definition at line 44 of file RhoGoodPhotonSelector.h.

References max(), and min().

45  {
46  fEperXtalMin = min;
47  fEperXtalMax = max;
48  }
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:25
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:24

◆ SetShowerEnergy()

void RhoGoodPhotonSelector::SetShowerEnergy ( Double_t  min,
Double_t  max = 1.E8 
)
inline

Definition at line 74 of file RhoGoodPhotonSelector.h.

References max(), min(), and operator<<().

75  {
76  fEmcMin = min;
77  fEmcMax = max;
78  }
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:25
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:24

◆ SetTheta()

void RhoGoodPhotonSelector::SetTheta ( Double_t  min,
Double_t  max 
)
inline

Definition at line 68 of file RhoGoodPhotonSelector.h.

References max(), and min().

69  {
70  fThetaMin = min;
71  fThetaMax = max;
72  }
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:25
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:24

◆ SetZ20()

void RhoGoodPhotonSelector::SetZ20 ( Double_t  min,
Double_t  max 
)
inline

Definition at line 56 of file RhoGoodPhotonSelector.h.

References max(), and min().

57  {
58  fZ20Min = min;
59  fZ20Max = max;
60  }
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:25
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:24

◆ SetZ53()

void RhoGoodPhotonSelector::SetZ53 ( Double_t  min,
Double_t  max 
)
inline

Definition at line 62 of file RhoGoodPhotonSelector.h.

References max(), and min().

63  {
64  fZ53Min = min;
65  fZ53Max = max;
66  }
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:25
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:24

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