LDMX Software
Public Member Functions | Private Member Functions | Private Attributes | List of all members
trigger::TrigParticle Class Reference

Class for particles reconstructed by the trigger system. More...

#include <TrigParticle.h>

Public Member Functions

 TrigParticle (LorentzVector p4)
 
 TrigParticle (LorentzVector p4, Point vtx)
 
 TrigParticle (LorentzVector p4, Point vtx, int pdgId)
 
double p () const
 
double energy () const
 
double mass () const
 
double px () const
 
double py () const
 
double pz () const
 
double pt () const
 
double phi () const
 
double theta () const
 
const Point & vertex () const
 
double vx () const
 
double vy () const
 
double vz () const
 
const Point & endPoint () const
 
double endx () const
 
double endy () const
 
double endz () const
 
float getClusEnergy () const
 
int getClusTP () const
 
int getClusDepth () const
 
void setP4 (const LorentzVector &p4)
 
void setVertex (const Point &v)
 
void setEndPoint (const Point &v)
 
void setClusEnergy (const float n)
 
void setClusTP (const int n)
 
void setClusDepth (const int n)
 
void setHwPt (int pt)
 
void setHwEta (int eta)
 
void setHwPhi (int phi)
 
void setHwQual (int qual)
 
void setHwIso (int iso)
 
int hwPt () const
 
int hwEta () const
 
int hwPhi () const
 
int hwQual () const
 
int hwIso () const
 

Private Member Functions

 ClassDef (TrigParticle, 1)
 ROOT Dictionary class definition macro.
 

Private Attributes

XYZTLorentzVector p4_ {}
 
Point vtx_ {}
 
Point end_ {}
 
int pdgId_ {0}
 
int hwPt_ {0}
 
int hwEta_ {0}
 
int hwPhi_ {0}
 
int hwQual_ {0}
 
int hwIso_ {0}
 
float emClusE_ {0}
 
int emClusNTP_ {0}
 
int emClusDepth_ {0}
 

Detailed Description

Class for particles reconstructed by the trigger system.

Definition at line 27 of file TrigParticle.h.

Member Function Documentation

◆ endPoint()

const Point & trigger::TrigParticle::endPoint ( ) const
inline

Definition at line 52 of file TrigParticle.h.

52{ return end_; }

◆ endx()

double trigger::TrigParticle::endx ( ) const
inline

Definition at line 53 of file TrigParticle.h.

53{ return end_.X(); }

◆ endy()

double trigger::TrigParticle::endy ( ) const
inline

Definition at line 54 of file TrigParticle.h.

54{ return end_.Y(); }

◆ endz()

double trigger::TrigParticle::endz ( ) const
inline

Definition at line 55 of file TrigParticle.h.

55{ return end_.Z(); }

◆ energy()

double trigger::TrigParticle::energy ( ) const
inline

Definition at line 38 of file TrigParticle.h.

38{ return p4_.E(); }

◆ getClusDepth()

int trigger::TrigParticle::getClusDepth ( ) const
inline

Definition at line 60 of file TrigParticle.h.

60{ return emClusDepth_; }

◆ getClusEnergy()

float trigger::TrigParticle::getClusEnergy ( ) const
inline

Definition at line 58 of file TrigParticle.h.

58{ return emClusE_; }

◆ getClusTP()

int trigger::TrigParticle::getClusTP ( ) const
inline

Definition at line 59 of file TrigParticle.h.

59{ return emClusNTP_; }

◆ hwEta()

int trigger::TrigParticle::hwEta ( ) const
inline

Definition at line 84 of file TrigParticle.h.

84{ return hwEta_; }

◆ hwIso()

int trigger::TrigParticle::hwIso ( ) const
inline

Definition at line 87 of file TrigParticle.h.

87{ return hwIso_; }

◆ hwPhi()

int trigger::TrigParticle::hwPhi ( ) const
inline

Definition at line 85 of file TrigParticle.h.

85{ return hwPhi_; }

◆ hwPt()

int trigger::TrigParticle::hwPt ( ) const
inline

Definition at line 83 of file TrigParticle.h.

83{ return hwPt_; }

◆ hwQual()

int trigger::TrigParticle::hwQual ( ) const
inline

Definition at line 86 of file TrigParticle.h.

86{ return hwQual_; }

◆ mass()

double trigger::TrigParticle::mass ( ) const
inline

Definition at line 39 of file TrigParticle.h.

39{ return p4_.mass(); }

◆ p()

double trigger::TrigParticle::p ( ) const
inline

Definition at line 37 of file TrigParticle.h.

37{ return p4_.P(); }

◆ phi()

double trigger::TrigParticle::phi ( ) const
inline

Definition at line 44 of file TrigParticle.h.

44{ return p4_.phi(); }

◆ pt()

double trigger::TrigParticle::pt ( ) const
inline

Definition at line 43 of file TrigParticle.h.

43{ return p4_.pt(); }

◆ px()

double trigger::TrigParticle::px ( ) const
inline

Definition at line 40 of file TrigParticle.h.

40{ return p4_.Px(); }

◆ py()

double trigger::TrigParticle::py ( ) const
inline

Definition at line 41 of file TrigParticle.h.

41{ return p4_.Py(); }

◆ pz()

double trigger::TrigParticle::pz ( ) const
inline

Definition at line 42 of file TrigParticle.h.

42{ return p4_.Pz(); }

◆ setClusDepth()

void trigger::TrigParticle::setClusDepth ( const int  n)
inline

Definition at line 69 of file TrigParticle.h.

69{ emClusDepth_ = n; }

◆ setClusEnergy()

void trigger::TrigParticle::setClusEnergy ( const float  n)
inline

Definition at line 67 of file TrigParticle.h.

67{ emClusE_ = n; }

◆ setClusTP()

void trigger::TrigParticle::setClusTP ( const int  n)
inline

Definition at line 68 of file TrigParticle.h.

68{ emClusNTP_ = n; }

◆ setEndPoint()

void trigger::TrigParticle::setEndPoint ( const Point &  v)
inline

Definition at line 66 of file TrigParticle.h.

66{ end_ = v; }

◆ setHwEta()

void trigger::TrigParticle::setHwEta ( int  eta)
inline

Definition at line 77 of file TrigParticle.h.

77{ hwEta_ = eta; }

◆ setHwIso()

void trigger::TrigParticle::setHwIso ( int  iso)
inline

Definition at line 80 of file TrigParticle.h.

80{ hwIso_ = iso; }

◆ setHwPhi()

void trigger::TrigParticle::setHwPhi ( int  phi)
inline

Definition at line 78 of file TrigParticle.h.

78{ hwPhi_ = phi; }

◆ setHwPt()

void trigger::TrigParticle::setHwPt ( int  pt)
inline

Definition at line 76 of file TrigParticle.h.

76{ hwPt_ = pt; }

◆ setHwQual()

void trigger::TrigParticle::setHwQual ( int  qual)
inline

Definition at line 79 of file TrigParticle.h.

79{ hwQual_ = qual; }

◆ setP4()

void trigger::TrigParticle::setP4 ( const LorentzVector &  p4)
inline

Definition at line 64 of file TrigParticle.h.

64{ p4_ = p4; }

◆ setVertex()

void trigger::TrigParticle::setVertex ( const Point &  v)
inline

Definition at line 65 of file TrigParticle.h.

65{ vtx_ = v; }

◆ theta()

double trigger::TrigParticle::theta ( ) const
inline

Definition at line 45 of file TrigParticle.h.

45{ return p4_.Theta(); }

◆ vertex()

const Point & trigger::TrigParticle::vertex ( ) const
inline

Definition at line 48 of file TrigParticle.h.

48{ return vtx_; }

◆ vx()

double trigger::TrigParticle::vx ( ) const
inline

Definition at line 49 of file TrigParticle.h.

49{ return vtx_.X(); }

◆ vy()

double trigger::TrigParticle::vy ( ) const
inline

Definition at line 50 of file TrigParticle.h.

50{ return vtx_.Y(); }

◆ vz()

double trigger::TrigParticle::vz ( ) const
inline

Definition at line 51 of file TrigParticle.h.

51{ return vtx_.Z(); }

Member Data Documentation

◆ emClusDepth_

int trigger::TrigParticle::emClusDepth_ {0}
private

Definition at line 106 of file TrigParticle.h.

106{0};

◆ emClusE_

float trigger::TrigParticle::emClusE_ {0}
private

Definition at line 104 of file TrigParticle.h.

104{0};

◆ emClusNTP_

int trigger::TrigParticle::emClusNTP_ {0}
private

Definition at line 105 of file TrigParticle.h.

105{0};

◆ end_

Point trigger::TrigParticle::end_ {}
private

Definition at line 94 of file TrigParticle.h.

94{};

◆ hwEta_

int trigger::TrigParticle::hwEta_ {0}
private

Definition at line 98 of file TrigParticle.h.

98{0};

◆ hwIso_

int trigger::TrigParticle::hwIso_ {0}
private

Definition at line 101 of file TrigParticle.h.

101{0};

◆ hwPhi_

int trigger::TrigParticle::hwPhi_ {0}
private

Definition at line 99 of file TrigParticle.h.

99{0};

◆ hwPt_

int trigger::TrigParticle::hwPt_ {0}
private

Definition at line 97 of file TrigParticle.h.

97{0};

◆ hwQual_

int trigger::TrigParticle::hwQual_ {0}
private

Definition at line 100 of file TrigParticle.h.

100{0};

◆ p4_

XYZTLorentzVector trigger::TrigParticle::p4_ {}
private

Definition at line 90 of file TrigParticle.h.

90{};

◆ pdgId_

int trigger::TrigParticle::pdgId_ {0}
private

Definition at line 95 of file TrigParticle.h.

95{0};

◆ vtx_

Point trigger::TrigParticle::vtx_ {}
private

Definition at line 93 of file TrigParticle.h.

93{};

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