LDMX Software
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, 2)
 ROOT Dictionary class definition macro.
 

Private Attributes

XYZTLorentzVector p4_ {}
 
Point vtx_ {}
 
Point end_ {}
 
int pdg_id_ {0}
 
int hw_pt_ {0}
 
int hw_eta_ {0}
 
int hw_phi_ {0}
 
int hw_qual_ {0}
 
int hw_iso_ {0}
 
float em_clus_e_ {0}
 
int em_clus_ntp_ {0}
 
int em_clus_depth_ {0}
 

Detailed Description

Class for particles reconstructed by the trigger system.

Definition at line 25 of file TrigParticle.h.

Member Function Documentation

◆ endPoint()

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

Definition at line 50 of file TrigParticle.h.

50{ return end_; }

◆ endx()

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

Definition at line 51 of file TrigParticle.h.

51{ return end_.X(); }

◆ endy()

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

Definition at line 52 of file TrigParticle.h.

52{ return end_.Y(); }

◆ endz()

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

Definition at line 53 of file TrigParticle.h.

53{ return end_.Z(); }

◆ energy()

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

Definition at line 36 of file TrigParticle.h.

36{ return p4_.E(); }

◆ getClusDepth()

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

Definition at line 58 of file TrigParticle.h.

58{ return em_clus_depth_; }

◆ getClusEnergy()

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

Definition at line 56 of file TrigParticle.h.

56{ return em_clus_e_; }

◆ getClusTP()

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

Definition at line 57 of file TrigParticle.h.

57{ return em_clus_ntp_; }

◆ hwEta()

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

Definition at line 82 of file TrigParticle.h.

82{ return hw_eta_; }

◆ hwIso()

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

Definition at line 85 of file TrigParticle.h.

85{ return hw_iso_; }

◆ hwPhi()

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

Definition at line 83 of file TrigParticle.h.

83{ return hw_phi_; }

◆ hwPt()

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

Definition at line 81 of file TrigParticle.h.

81{ return hw_pt_; }

◆ hwQual()

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

Definition at line 84 of file TrigParticle.h.

84{ return hw_qual_; }

◆ mass()

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

Definition at line 37 of file TrigParticle.h.

37{ return p4_.mass(); }

◆ p()

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

Definition at line 35 of file TrigParticle.h.

35{ return p4_.P(); }

◆ phi()

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

Definition at line 42 of file TrigParticle.h.

42{ return p4_.phi(); }

◆ pt()

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

Definition at line 41 of file TrigParticle.h.

41{ return p4_.pt(); }

◆ px()

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

Definition at line 38 of file TrigParticle.h.

38{ return p4_.Px(); }

◆ py()

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

Definition at line 39 of file TrigParticle.h.

39{ return p4_.Py(); }

◆ pz()

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

Definition at line 40 of file TrigParticle.h.

40{ return p4_.Pz(); }

◆ setClusDepth()

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

Definition at line 67 of file TrigParticle.h.

67{ em_clus_depth_ = n; }

◆ setClusEnergy()

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

Definition at line 65 of file TrigParticle.h.

65{ em_clus_e_ = n; }

◆ setClusTP()

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

Definition at line 66 of file TrigParticle.h.

66{ em_clus_ntp_ = n; }

◆ setEndPoint()

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

Definition at line 64 of file TrigParticle.h.

64{ end_ = v; }

◆ setHwEta()

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

Definition at line 75 of file TrigParticle.h.

75{ hw_eta_ = eta; }

◆ setHwIso()

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

Definition at line 78 of file TrigParticle.h.

78{ hw_iso_ = iso; }

◆ setHwPhi()

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

Definition at line 76 of file TrigParticle.h.

76{ hw_phi_ = phi; }

◆ setHwPt()

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

Definition at line 74 of file TrigParticle.h.

74{ hw_pt_ = pt; }

◆ setHwQual()

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

Definition at line 77 of file TrigParticle.h.

77{ hw_qual_ = qual; }

◆ setP4()

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

Definition at line 62 of file TrigParticle.h.

62{ p4_ = p4; }

◆ setVertex()

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

Definition at line 63 of file TrigParticle.h.

63{ vtx_ = v; }

◆ theta()

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

Definition at line 43 of file TrigParticle.h.

43{ return p4_.Theta(); }

◆ vertex()

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

Definition at line 46 of file TrigParticle.h.

46{ return vtx_; }

◆ vx()

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

Definition at line 47 of file TrigParticle.h.

47{ return vtx_.X(); }

◆ vy()

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

Definition at line 48 of file TrigParticle.h.

48{ return vtx_.Y(); }

◆ vz()

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

Definition at line 49 of file TrigParticle.h.

49{ return vtx_.Z(); }

Member Data Documentation

◆ em_clus_depth_

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

Definition at line 104 of file TrigParticle.h.

104{0};

◆ em_clus_e_

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

Definition at line 102 of file TrigParticle.h.

102{0};

◆ em_clus_ntp_

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

Definition at line 103 of file TrigParticle.h.

103{0};

◆ end_

Point trigger::TrigParticle::end_ {}
private

Definition at line 92 of file TrigParticle.h.

92{};

◆ hw_eta_

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

Definition at line 96 of file TrigParticle.h.

96{0};

◆ hw_iso_

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

Definition at line 99 of file TrigParticle.h.

99{0};

◆ hw_phi_

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

Definition at line 97 of file TrigParticle.h.

97{0};

◆ hw_pt_

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

Definition at line 95 of file TrigParticle.h.

95{0};

◆ hw_qual_

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

Definition at line 98 of file TrigParticle.h.

98{0};

◆ p4_

XYZTLorentzVector trigger::TrigParticle::p4_ {}
private

Definition at line 88 of file TrigParticle.h.

88{};

◆ pdg_id_

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

Definition at line 93 of file TrigParticle.h.

93{0};

◆ vtx_

Point trigger::TrigParticle::vtx_ {}
private

Definition at line 91 of file TrigParticle.h.

91{};

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