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

Class for clusters built from trigger calo hits. More...

#include <TrigCaloCluster.h>

Public Member Functions

 TrigCaloCluster (float x, float y, float z, float e=0)
 
bool operator< (const TrigCaloCluster &h)
 
void Clear ()
 
void setEnergy (float e)
 
void setXYZ (float x, float y, float z)
 
void setXYZerr (float xe, float ye, float ze)
 
void setdxdz (float dxdz)
 
void setdydz (float dydz)
 
void setdxdze (float dxdze)
 
void setdydze (float dydze)
 
void set3D (bool x)
 
void setLayer (int l)
 
void setFirstLayer (int l)
 
void setLastLayer (int l)
 
void setDepth (int d)
 
void setNTP (int n)
 
float x () const
 
float y () const
 
float z () const
 
float e () const
 
float xe () const
 
float ye () const
 
float ze () const
 
float energy () const
 
float dxdz () const
 
float dydz () const
 
int nTP () const
 
int depth () const
 

Private Member Functions

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

Private Attributes

float x_ {0}
 
float y_ {0}
 
float z_ {0}
 
float e_ {0}
 
float dxdz_ {0}
 
float dydz_ {0}
 
float xe_ {0}
 
float ye_ {0}
 
float ze_ {0}
 
float dxdze_ {0}
 
float dydze_ {0}
 
bool is3D_ {true}
 
int nTP_ {0}
 
int layer_ {-1}
 
int firstLayer_ {-1}
 
int lastLayer_ {-1}
 
int depth_ {0}
 

Detailed Description

Class for clusters built from trigger calo hits.

Definition at line 17 of file TrigCaloCluster.h.

Member Function Documentation

◆ depth()

int trigger::TrigCaloCluster::depth ( ) const
inline

Definition at line 62 of file TrigCaloCluster.h.

62{ return depth_; }

◆ dxdz()

float trigger::TrigCaloCluster::dxdz ( ) const
inline

Definition at line 59 of file TrigCaloCluster.h.

59{ return dxdz_; }

◆ dydz()

float trigger::TrigCaloCluster::dydz ( ) const
inline

Definition at line 60 of file TrigCaloCluster.h.

60{ return dydz_; }

◆ e()

float trigger::TrigCaloCluster::e ( ) const
inline

Definition at line 54 of file TrigCaloCluster.h.

54{ return e_; }

◆ energy()

float trigger::TrigCaloCluster::energy ( ) const
inline

Definition at line 58 of file TrigCaloCluster.h.

58{ return e_; }

◆ nTP()

int trigger::TrigCaloCluster::nTP ( ) const
inline

Definition at line 61 of file TrigCaloCluster.h.

61{ return nTP_; }

◆ operator<()

bool trigger::TrigCaloCluster::operator< ( const TrigCaloCluster h)
inline

Definition at line 25 of file TrigCaloCluster.h.

25{ return e_ < h.e_; }

◆ set3D()

void trigger::TrigCaloCluster::set3D ( bool  x)
inline

Definition at line 44 of file TrigCaloCluster.h.

44{ is3D_ = x; }

◆ setDepth()

void trigger::TrigCaloCluster::setDepth ( int  d)
inline

Definition at line 48 of file TrigCaloCluster.h.

48{ depth_ = d; }

◆ setdxdz()

void trigger::TrigCaloCluster::setdxdz ( float  dxdz)
inline

Definition at line 40 of file TrigCaloCluster.h.

40{ dxdz_ = dxdz; }

◆ setdxdze()

void trigger::TrigCaloCluster::setdxdze ( float  dxdze)
inline

Definition at line 42 of file TrigCaloCluster.h.

42{ dxdze_ = dxdze; }

◆ setdydz()

void trigger::TrigCaloCluster::setdydz ( float  dydz)
inline

Definition at line 41 of file TrigCaloCluster.h.

41{ dydz_ = dydz; }

◆ setdydze()

void trigger::TrigCaloCluster::setdydze ( float  dydze)
inline

Definition at line 43 of file TrigCaloCluster.h.

43{ dydze_ = dydze; }

◆ setEnergy()

void trigger::TrigCaloCluster::setEnergy ( float  e)
inline

Definition at line 29 of file TrigCaloCluster.h.

29{ e_ = e; }

◆ setFirstLayer()

void trigger::TrigCaloCluster::setFirstLayer ( int  l)
inline

Definition at line 46 of file TrigCaloCluster.h.

46{ firstLayer_ = l; }

◆ setLastLayer()

void trigger::TrigCaloCluster::setLastLayer ( int  l)
inline

Definition at line 47 of file TrigCaloCluster.h.

47{ lastLayer_ = l; }

◆ setLayer()

void trigger::TrigCaloCluster::setLayer ( int  l)
inline

Definition at line 45 of file TrigCaloCluster.h.

45{ layer_ = l; }

◆ setNTP()

void trigger::TrigCaloCluster::setNTP ( int  n)
inline

Definition at line 49 of file TrigCaloCluster.h.

49{ nTP_ = n; }

◆ setXYZ()

void trigger::TrigCaloCluster::setXYZ ( float  x,
float  y,
float  z 
)
inline

Definition at line 30 of file TrigCaloCluster.h.

30 {
31 x_ = x;
32 y_ = y;
33 z_ = z;
34 }

◆ setXYZerr()

void trigger::TrigCaloCluster::setXYZerr ( float  xe,
float  ye,
float  ze 
)
inline

Definition at line 35 of file TrigCaloCluster.h.

35 {
36 xe_ = xe;
37 ye_ = ye;
38 ze_ = ze;
39 }

◆ x()

float trigger::TrigCaloCluster::x ( ) const
inline

Definition at line 51 of file TrigCaloCluster.h.

51{ return x_; }

◆ xe()

float trigger::TrigCaloCluster::xe ( ) const
inline

Definition at line 55 of file TrigCaloCluster.h.

55{ return xe_; }

◆ y()

float trigger::TrigCaloCluster::y ( ) const
inline

Definition at line 52 of file TrigCaloCluster.h.

52{ return y_; }

◆ ye()

float trigger::TrigCaloCluster::ye ( ) const
inline

Definition at line 56 of file TrigCaloCluster.h.

56{ return ye_; }

◆ z()

float trigger::TrigCaloCluster::z ( ) const
inline

Definition at line 53 of file TrigCaloCluster.h.

53{ return z_; }

◆ ze()

float trigger::TrigCaloCluster::ze ( ) const
inline

Definition at line 57 of file TrigCaloCluster.h.

57{ return ze_; }

Member Data Documentation

◆ depth_

int trigger::TrigCaloCluster::depth_ {0}
private

Definition at line 84 of file TrigCaloCluster.h.

84{0};

◆ dxdz_

float trigger::TrigCaloCluster::dxdz_ {0}
private

Definition at line 69 of file TrigCaloCluster.h.

69{0};

◆ dxdze_

float trigger::TrigCaloCluster::dxdze_ {0}
private

Definition at line 75 of file TrigCaloCluster.h.

75{0};

◆ dydz_

float trigger::TrigCaloCluster::dydz_ {0}
private

Definition at line 70 of file TrigCaloCluster.h.

70{0};

◆ dydze_

float trigger::TrigCaloCluster::dydze_ {0}
private

Definition at line 76 of file TrigCaloCluster.h.

76{0};

◆ e_

float trigger::TrigCaloCluster::e_ {0}
private

Definition at line 68 of file TrigCaloCluster.h.

68{0};

◆ firstLayer_

int trigger::TrigCaloCluster::firstLayer_ {-1}
private

Definition at line 82 of file TrigCaloCluster.h.

82{-1};

◆ is3D_

bool trigger::TrigCaloCluster::is3D_ {true}
private

Definition at line 77 of file TrigCaloCluster.h.

77{true};

◆ lastLayer_

int trigger::TrigCaloCluster::lastLayer_ {-1}
private

Definition at line 83 of file TrigCaloCluster.h.

83{-1};

◆ layer_

int trigger::TrigCaloCluster::layer_ {-1}
private

Definition at line 80 of file TrigCaloCluster.h.

80{-1};

◆ nTP_

int trigger::TrigCaloCluster::nTP_ {0}
private

Definition at line 78 of file TrigCaloCluster.h.

78{0};

◆ x_

float trigger::TrigCaloCluster::x_ {0}
private

Definition at line 65 of file TrigCaloCluster.h.

65{0};

◆ xe_

float trigger::TrigCaloCluster::xe_ {0}
private

Definition at line 72 of file TrigCaloCluster.h.

72{0};

◆ y_

float trigger::TrigCaloCluster::y_ {0}
private

Definition at line 66 of file TrigCaloCluster.h.

66{0};

◆ ye_

float trigger::TrigCaloCluster::ye_ {0}
private

Definition at line 73 of file TrigCaloCluster.h.

73{0};

◆ z_

float trigger::TrigCaloCluster::z_ {0}
private

Definition at line 67 of file TrigCaloCluster.h.

67{0};

◆ ze_

float trigger::TrigCaloCluster::ze_ {0}
private

Definition at line 74 of file TrigCaloCluster.h.

74{0};

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