ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
MuonFeature Class Reference

#include <MuonFeature.h>

Collaboration diagram for MuonFeature:

Public Types

enum  AlgoId { GEV900ID =0, MUONID =1, HALOID =2, NULLID =99999 }
 

Public Member Functions

 MuonFeature ()
 
 MuonFeature (int saddress, float pt, float radius, float eta, float phi, float dir_phi, float zeta, float dir_zeta, float beta)
 
 MuonFeature (int saddress, float pt, float radius, float eta, float phi, float dir_phi, float zeta, float dir_zeta, float beta, float sp1_r, float sp1_z, float sp1_slope, float sp2_r, float sp2_z, float sp2_slope, float sp3_r, float sp3_z, float sp3_slope, float br_radius, float br_sagitta, float ec_alpha, float ec_beta, double dq_var1, double dq_var2)
 
 MuonFeature (const MuonFeature *muon_feature)
 
 MuonFeature (const MuonFeature &muon_feature)
 
MuonFeatureoperator= (const MuonFeature &muon_feature)
 
AlgoId algoId (void) const
 
int roiId (void) const
 
int saddress (void) const
 
float pt (void) const
 
float radius (void) const
 
float eta (void) const
 
float phi (void) const
 
float dir_phi (void) const
 
float zeta (void) const
 
float dir_zeta (void) const
 
float beta (void) const
 
float sp1_r (void) const
 
float sp1_z (void) const
 
float sp1_slope (void) const
 
float sp2_r (void) const
 
float sp2_z (void) const
 
float sp2_slope (void) const
 
float sp3_r (void) const
 
float sp3_z (void) const
 
float sp3_slope (void) const
 
float br_radius (void) const
 
float br_sagitta (void) const
 
float ec_alpha (void) const
 
float ec_beta (void) const
 
double dq_var1 (void) const
 
double dq_var2 (void) const
 
void set_algoId (AlgoId algoId)
 
void set_roiId (int roiId)
 
void set_sp1 (float r, float z, float slope)
 
void set_sp2 (float r, float z, float slope)
 
void set_sp3 (float r, float z, float slope)
 
void set_br (float radius, float sagitta)
 
void set_ec (float alpha, float beta)
 
void set_dq (double var1, double var2)
 

Private Attributes

AlgoId m_algoId
 
int m_RoIId
 
int m_saddress
 
float m_pt
 
float m_radius
 
float m_eta
 
float m_phi
 
float m_dir_phi
 
float m_zeta
 
float m_dir_zeta
 
float m_beta
 
float m_sp1_r
 
float m_sp1_z
 
float m_sp1_slope
 
float m_sp2_r
 
float m_sp2_z
 
float m_sp2_slope
 
float m_sp3_r
 
float m_sp3_z
 
float m_sp3_slope
 
float m_br_radius
 
float m_br_sagitta
 
float m_ec_alpha
 
float m_ec_beta
 
double m_dq_var1
 
double m_dq_var2
 

Detailed Description

Definition at line 21 of file MuonFeature.h.

Member Enumeration Documentation

◆ AlgoId

Enumerator
GEV900ID 
MUONID 
HALOID 
NULLID 

Definition at line 24 of file MuonFeature.h.

24 {GEV900ID=0, MUONID=1, HALOID=2, NULLID=99999};

Constructor & Destructor Documentation

◆ MuonFeature() [1/5]

MuonFeature::MuonFeature ( )

Definition at line 21 of file MuonFeature.cxx.

22 {
23  m_algoId = NULLID;
24  m_RoIId = -1;
25  m_saddress = 0;
26  m_pt = 0.;
27  m_radius = 0.;
28  m_eta = 0.;
29  m_phi = 0.;
30  m_dir_phi = 0.;
31  m_zeta = 0.;
32  m_dir_zeta = 0.;
33  m_beta = 0.;
34  m_sp1_r = 0.;
35  m_sp1_z = 0.;
36  m_sp1_slope = 0.;
37  m_sp2_r = 0.;
38  m_sp2_z = 0.;
39  m_sp2_slope = 0.;
40  m_sp3_r = 0.;
41  m_sp3_z = 0.;
42  m_sp3_slope = 0.;
43  m_br_radius = 0.;
44  m_br_sagitta = 0.;
45  m_ec_alpha = 0.;
46  m_ec_beta = 0.;
47  m_dq_var1 = 0.;
48  m_dq_var2 = 0.;
49 }

◆ MuonFeature() [2/5]

MuonFeature::MuonFeature ( int  saddress,
float  pt,
float  radius,
float  eta,
float  phi,
float  dir_phi,
float  zeta,
float  dir_zeta,
float  beta 
)

Definition at line 52 of file MuonFeature.cxx.

54  :
58  m_sp1_r(0.), m_sp1_z(0.), m_sp1_slope(0.),
59  m_sp2_r(0.), m_sp2_z(0.), m_sp2_slope(0.),
60  m_sp3_r(0.), m_sp3_z(0.), m_sp3_slope(0.),
61  m_br_radius(0.), m_br_sagitta(0.),
62  m_ec_alpha(0.), m_ec_beta(0.),
63  m_dq_var1(0.), m_dq_var2(0.)
64 {}

◆ MuonFeature() [3/5]

MuonFeature::MuonFeature ( int  saddress,
float  pt,
float  radius,
float  eta,
float  phi,
float  dir_phi,
float  zeta,
float  dir_zeta,
float  beta,
float  sp1_r,
float  sp1_z,
float  sp1_slope,
float  sp2_r,
float  sp2_z,
float  sp2_slope,
float  sp3_r,
float  sp3_z,
float  sp3_slope,
float  br_radius,
float  br_sagitta,
float  ec_alpha,
float  ec_beta,
double  dq_var1,
double  dq_var2 
)

◆ MuonFeature() [4/5]

MuonFeature::MuonFeature ( const MuonFeature muon_feature)

Definition at line 86 of file MuonFeature.cxx.

87 {
88  m_algoId = muon_feature->algoId();
89  m_RoIId = muon_feature->roiId();
90  m_saddress = muon_feature->saddress();
91  m_pt = muon_feature->pt();
92  m_radius = muon_feature->radius();
93  m_eta = muon_feature->eta();
94  m_phi = muon_feature->phi();
95  m_dir_phi = muon_feature->dir_phi();
96  m_zeta = muon_feature->zeta();
97  m_dir_zeta = muon_feature->dir_zeta();
98  m_beta = muon_feature->beta();
99  m_sp1_r = muon_feature->sp1_r();
100  m_sp1_z = muon_feature->sp1_z();
101  m_sp1_slope = muon_feature->sp1_slope();
102  m_sp2_r = muon_feature->sp2_r();
103  m_sp2_z = muon_feature->sp2_z();
104  m_sp2_slope = muon_feature->sp2_slope();
105  m_sp3_r = muon_feature->sp3_r();
106  m_sp3_z = muon_feature->sp3_z();
107  m_sp3_slope = muon_feature->sp3_slope();
108  m_br_radius = muon_feature->br_radius();
109  m_br_sagitta = muon_feature->br_sagitta();
110  m_ec_alpha = muon_feature->ec_alpha();
111  m_ec_beta = muon_feature->ec_beta();
112  m_dq_var1 = muon_feature->dq_var1();
113  m_dq_var2 = muon_feature->dq_var2();
114 }

◆ MuonFeature() [5/5]

MuonFeature::MuonFeature ( const MuonFeature muon_feature)

Definition at line 116 of file MuonFeature.cxx.

117 {
118  m_algoId = muon_feature.algoId();
119  m_RoIId = muon_feature.roiId();
120  m_saddress = muon_feature.saddress();
121  m_pt = muon_feature.pt();
122  m_radius = muon_feature.radius();
123  m_eta = muon_feature.eta();
124  m_phi = muon_feature.phi();
125  m_dir_phi = muon_feature.dir_phi();
126  m_zeta = muon_feature.zeta();
127  m_dir_zeta = muon_feature.dir_zeta();
128  m_beta = muon_feature.beta();
129  m_sp1_r = muon_feature.sp1_r();
130  m_sp1_z = muon_feature.sp1_z();
131  m_sp1_slope = muon_feature.sp1_slope();
132  m_sp2_r = muon_feature.sp2_r();
133  m_sp2_z = muon_feature.sp2_z();
134  m_sp2_slope = muon_feature.sp2_slope();
135  m_sp3_r = muon_feature.sp3_r();
136  m_sp3_z = muon_feature.sp3_z();
137  m_sp3_slope = muon_feature.sp3_slope();
138  m_br_radius = muon_feature.br_radius();
139  m_br_sagitta = muon_feature.br_sagitta();
140  m_ec_alpha = muon_feature.ec_alpha();
141  m_ec_beta = muon_feature.ec_beta();
142  m_dq_var1 = muon_feature.dq_var1();
143  m_dq_var2 = muon_feature.dq_var2();
144 }

Member Function Documentation

◆ algoId()

AlgoId MuonFeature::algoId ( void  ) const
inline

Definition at line 45 of file MuonFeature.h.

45 {return m_algoId;}

◆ beta()

float MuonFeature::beta ( void  ) const
inline

Definition at line 55 of file MuonFeature.h.

55 {return m_beta;}

◆ br_radius()

float MuonFeature::br_radius ( void  ) const
inline

Definition at line 65 of file MuonFeature.h.

65 {return m_br_radius; }

◆ br_sagitta()

float MuonFeature::br_sagitta ( void  ) const
inline

Definition at line 66 of file MuonFeature.h.

66 {return m_br_sagitta; }

◆ dir_phi()

float MuonFeature::dir_phi ( void  ) const
inline

Definition at line 52 of file MuonFeature.h.

52 {return m_dir_phi;}

◆ dir_zeta()

float MuonFeature::dir_zeta ( void  ) const
inline

Definition at line 54 of file MuonFeature.h.

54 {return m_dir_zeta;}

◆ dq_var1()

double MuonFeature::dq_var1 ( void  ) const
inline

Definition at line 69 of file MuonFeature.h.

69 {return m_dq_var1; }

◆ dq_var2()

double MuonFeature::dq_var2 ( void  ) const
inline

Definition at line 70 of file MuonFeature.h.

70 {return m_dq_var2; }

◆ ec_alpha()

float MuonFeature::ec_alpha ( void  ) const
inline

Definition at line 67 of file MuonFeature.h.

67 {return m_ec_alpha; }

◆ ec_beta()

float MuonFeature::ec_beta ( void  ) const
inline

Definition at line 68 of file MuonFeature.h.

68 {return m_ec_beta; }

◆ eta()

float MuonFeature::eta ( void  ) const
inline

Definition at line 50 of file MuonFeature.h.

50 {return m_eta;}

◆ operator=()

MuonFeature & MuonFeature::operator= ( const MuonFeature muon_feature)

Definition at line 148 of file MuonFeature.cxx.

149 {
150  m_algoId = muon_feature.algoId();
151  m_RoIId = muon_feature.roiId();
152  m_saddress = muon_feature.saddress();
153  m_pt = muon_feature.pt();
154  m_radius = muon_feature.radius();
155  m_eta = muon_feature.eta();
156  m_phi = muon_feature.phi();
157  m_dir_phi = muon_feature.dir_phi();
158  m_zeta = muon_feature.zeta();
159  m_dir_zeta = muon_feature.dir_zeta();
160  m_beta = muon_feature.beta();
161  m_sp1_r = muon_feature.sp1_r();
162  m_sp1_z = muon_feature.sp1_z();
163  m_sp1_slope = muon_feature.sp1_slope();
164  m_sp2_r = muon_feature.sp2_r();
165  m_sp2_z = muon_feature.sp2_z();
166  m_sp2_slope = muon_feature.sp2_slope();
167  m_sp3_r = muon_feature.sp3_r();
168  m_sp3_z = muon_feature.sp3_z();
169  m_sp3_slope = muon_feature.sp3_slope();
170  m_br_radius = muon_feature.br_radius();
171  m_br_sagitta = muon_feature.br_sagitta();
172  m_ec_alpha = muon_feature.ec_alpha();
173  m_ec_beta = muon_feature.ec_beta();
174  m_dq_var1 = muon_feature.dq_var1();
175  m_dq_var2 = muon_feature.dq_var2();
176 
177  return *this;
178 }

◆ phi()

float MuonFeature::phi ( void  ) const
inline

Definition at line 51 of file MuonFeature.h.

51 {return m_phi;}

◆ pt()

float MuonFeature::pt ( void  ) const
inline

Definition at line 48 of file MuonFeature.h.

48 {return m_pt;}

◆ radius()

float MuonFeature::radius ( void  ) const
inline

Definition at line 49 of file MuonFeature.h.

49 {return m_radius;}

◆ roiId()

int MuonFeature::roiId ( void  ) const
inline

Definition at line 46 of file MuonFeature.h.

46 {return m_RoIId;}

◆ saddress()

int MuonFeature::saddress ( void  ) const
inline

Definition at line 47 of file MuonFeature.h.

47 {return m_saddress;}

◆ set_algoId()

void MuonFeature::set_algoId ( AlgoId  algoId)
inline

Definition at line 72 of file MuonFeature.h.

72 {m_algoId = algoId;}

◆ set_br()

void MuonFeature::set_br ( float  radius,
float  sagitta 
)
inline

Definition at line 77 of file MuonFeature.h.

◆ set_dq()

void MuonFeature::set_dq ( double  var1,
double  var2 
)
inline

Definition at line 79 of file MuonFeature.h.

79 {m_dq_var1 =var1 ; m_dq_var2 =var2;}

◆ set_ec()

void MuonFeature::set_ec ( float  alpha,
float  beta 
)
inline

Definition at line 78 of file MuonFeature.h.

78 {m_ec_alpha =alpha ; m_ec_beta =beta;}

◆ set_roiId()

void MuonFeature::set_roiId ( int  roiId)
inline

Definition at line 73 of file MuonFeature.h.

73 {m_RoIId = roiId;}

◆ set_sp1()

void MuonFeature::set_sp1 ( float  r,
float  z,
float  slope 
)
inline

Definition at line 74 of file MuonFeature.h.

74 {m_sp1_r=r; m_sp1_z=z; m_sp1_slope=slope;}

◆ set_sp2()

void MuonFeature::set_sp2 ( float  r,
float  z,
float  slope 
)
inline

Definition at line 75 of file MuonFeature.h.

75 {m_sp2_r=r; m_sp2_z=z; m_sp2_slope=slope;}

◆ set_sp3()

void MuonFeature::set_sp3 ( float  r,
float  z,
float  slope 
)
inline

Definition at line 76 of file MuonFeature.h.

76 {m_sp3_r=r; m_sp3_z=z; m_sp3_slope=slope;}

◆ sp1_r()

float MuonFeature::sp1_r ( void  ) const
inline

Definition at line 56 of file MuonFeature.h.

56 {return m_sp1_r; }

◆ sp1_slope()

float MuonFeature::sp1_slope ( void  ) const
inline

Definition at line 58 of file MuonFeature.h.

58 {return m_sp1_slope; }

◆ sp1_z()

float MuonFeature::sp1_z ( void  ) const
inline

Definition at line 57 of file MuonFeature.h.

57 {return m_sp1_z; }

◆ sp2_r()

float MuonFeature::sp2_r ( void  ) const
inline

Definition at line 59 of file MuonFeature.h.

59 {return m_sp2_r; }

◆ sp2_slope()

float MuonFeature::sp2_slope ( void  ) const
inline

Definition at line 61 of file MuonFeature.h.

61 {return m_sp2_slope; }

◆ sp2_z()

float MuonFeature::sp2_z ( void  ) const
inline

Definition at line 60 of file MuonFeature.h.

60 {return m_sp2_z; }

◆ sp3_r()

float MuonFeature::sp3_r ( void  ) const
inline

Definition at line 62 of file MuonFeature.h.

62 {return m_sp3_r; }

◆ sp3_slope()

float MuonFeature::sp3_slope ( void  ) const
inline

Definition at line 64 of file MuonFeature.h.

64 {return m_sp3_slope; }

◆ sp3_z()

float MuonFeature::sp3_z ( void  ) const
inline

Definition at line 63 of file MuonFeature.h.

63 {return m_sp3_z; }

◆ zeta()

float MuonFeature::zeta ( void  ) const
inline

Definition at line 53 of file MuonFeature.h.

53 {return m_zeta;}

Member Data Documentation

◆ m_algoId

AlgoId MuonFeature::m_algoId
private

Definition at line 82 of file MuonFeature.h.

◆ m_beta

float MuonFeature::m_beta
private

Definition at line 92 of file MuonFeature.h.

◆ m_br_radius

float MuonFeature::m_br_radius
private

Definition at line 102 of file MuonFeature.h.

◆ m_br_sagitta

float MuonFeature::m_br_sagitta
private

Definition at line 103 of file MuonFeature.h.

◆ m_dir_phi

float MuonFeature::m_dir_phi
private

Definition at line 89 of file MuonFeature.h.

◆ m_dir_zeta

float MuonFeature::m_dir_zeta
private

Definition at line 91 of file MuonFeature.h.

◆ m_dq_var1

double MuonFeature::m_dq_var1
private

Definition at line 106 of file MuonFeature.h.

◆ m_dq_var2

double MuonFeature::m_dq_var2
private

Definition at line 107 of file MuonFeature.h.

◆ m_ec_alpha

float MuonFeature::m_ec_alpha
private

Definition at line 104 of file MuonFeature.h.

◆ m_ec_beta

float MuonFeature::m_ec_beta
private

Definition at line 105 of file MuonFeature.h.

◆ m_eta

float MuonFeature::m_eta
private

Definition at line 87 of file MuonFeature.h.

◆ m_phi

float MuonFeature::m_phi
private

Definition at line 88 of file MuonFeature.h.

◆ m_pt

float MuonFeature::m_pt
private

Definition at line 85 of file MuonFeature.h.

◆ m_radius

float MuonFeature::m_radius
private

Definition at line 86 of file MuonFeature.h.

◆ m_RoIId

int MuonFeature::m_RoIId
private

Definition at line 83 of file MuonFeature.h.

◆ m_saddress

int MuonFeature::m_saddress
private

Definition at line 84 of file MuonFeature.h.

◆ m_sp1_r

float MuonFeature::m_sp1_r
private

Definition at line 93 of file MuonFeature.h.

◆ m_sp1_slope

float MuonFeature::m_sp1_slope
private

Definition at line 95 of file MuonFeature.h.

◆ m_sp1_z

float MuonFeature::m_sp1_z
private

Definition at line 94 of file MuonFeature.h.

◆ m_sp2_r

float MuonFeature::m_sp2_r
private

Definition at line 96 of file MuonFeature.h.

◆ m_sp2_slope

float MuonFeature::m_sp2_slope
private

Definition at line 98 of file MuonFeature.h.

◆ m_sp2_z

float MuonFeature::m_sp2_z
private

Definition at line 97 of file MuonFeature.h.

◆ m_sp3_r

float MuonFeature::m_sp3_r
private

Definition at line 99 of file MuonFeature.h.

◆ m_sp3_slope

float MuonFeature::m_sp3_slope
private

Definition at line 101 of file MuonFeature.h.

◆ m_sp3_z

float MuonFeature::m_sp3_z
private

Definition at line 100 of file MuonFeature.h.

◆ m_zeta

float MuonFeature::m_zeta
private

Definition at line 90 of file MuonFeature.h.


The documentation for this class was generated from the following files:
MuonFeature::dq_var2
double dq_var2(void) const
Definition: MuonFeature.h:70
beamspotman.r
def r
Definition: beamspotman.py:676
MuonFeature::m_sp1_z
float m_sp1_z
Definition: MuonFeature.h:94
MuonFeature::MUONID
@ MUONID
Definition: MuonFeature.h:24
MuonFeature::m_dq_var1
double m_dq_var1
Definition: MuonFeature.h:106
MuonFeature::dq_var1
double dq_var1(void) const
Definition: MuonFeature.h:69
MuonFeature::m_pt
float m_pt
Definition: MuonFeature.h:85
MuonFeature::m_br_sagitta
float m_br_sagitta
Definition: MuonFeature.h:103
MuonFeature::sp3_slope
float sp3_slope(void) const
Definition: MuonFeature.h:64
MuonFeature::m_algoId
AlgoId m_algoId
Definition: MuonFeature.h:82
MuonFeature::radius
float radius(void) const
Definition: MuonFeature.h:49
MuonFeature::m_radius
float m_radius
Definition: MuonFeature.h:86
MuonFeature::m_saddress
int m_saddress
Definition: MuonFeature.h:84
MuonFeature::dir_phi
float dir_phi(void) const
Definition: MuonFeature.h:52
MuonFeature::m_phi
float m_phi
Definition: MuonFeature.h:88
MuonFeature::sp1_r
float sp1_r(void) const
Definition: MuonFeature.h:56
MuonFeature::eta
float eta(void) const
Definition: MuonFeature.h:50
MuonFeature::m_sp3_z
float m_sp3_z
Definition: MuonFeature.h:100
MuonFeature::m_ec_beta
float m_ec_beta
Definition: MuonFeature.h:105
MuonFeature::ec_alpha
float ec_alpha(void) const
Definition: MuonFeature.h:67
MuonFeature::phi
float phi(void) const
Definition: MuonFeature.h:51
MuonFeature::NULLID
@ NULLID
Definition: MuonFeature.h:24
MuonFeature::HALOID
@ HALOID
Definition: MuonFeature.h:24
MuonFeature::br_radius
float br_radius(void) const
Definition: MuonFeature.h:65
MuonFeature::dir_zeta
float dir_zeta(void) const
Definition: MuonFeature.h:54
MuonFeature::saddress
int saddress(void) const
Definition: MuonFeature.h:47
MuonFeature::roiId
int roiId(void) const
Definition: MuonFeature.h:46
z
#define z
MuonFeature::br_sagitta
float br_sagitta(void) const
Definition: MuonFeature.h:66
MuonFeature::sp3_z
float sp3_z(void) const
Definition: MuonFeature.h:63
MuonFeature::m_dir_phi
float m_dir_phi
Definition: MuonFeature.h:89
MuonFeature::m_sp1_slope
float m_sp1_slope
Definition: MuonFeature.h:95
MuonFeature::m_zeta
float m_zeta
Definition: MuonFeature.h:90
MuonFeature::algoId
AlgoId algoId(void) const
Definition: MuonFeature.h:45
MuonFeature::m_sp2_r
float m_sp2_r
Definition: MuonFeature.h:96
MuonFeature::sp3_r
float sp3_r(void) const
Definition: MuonFeature.h:62
MuonFeature::m_RoIId
int m_RoIId
Definition: MuonFeature.h:83
MuonFeature::sp1_z
float sp1_z(void) const
Definition: MuonFeature.h:57
MuonFeature::sp2_z
float sp2_z(void) const
Definition: MuonFeature.h:60
MuonFeature::m_dir_zeta
float m_dir_zeta
Definition: MuonFeature.h:91
MuonFeature::m_ec_alpha
float m_ec_alpha
Definition: MuonFeature.h:104
MuonFeature::sp1_slope
float sp1_slope(void) const
Definition: MuonFeature.h:58
MuonFeature::m_sp2_slope
float m_sp2_slope
Definition: MuonFeature.h:98
MuonFeature::sp2_slope
float sp2_slope(void) const
Definition: MuonFeature.h:61
MuonFeature::GEV900ID
@ GEV900ID
Definition: MuonFeature.h:24
MuonFeature::m_sp2_z
float m_sp2_z
Definition: MuonFeature.h:97
MuonFeature::m_sp1_r
float m_sp1_r
Definition: MuonFeature.h:93
MuonFeature::m_eta
float m_eta
Definition: MuonFeature.h:87
MuonFeature::m_beta
float m_beta
Definition: MuonFeature.h:92
MuonFeature::ec_beta
float ec_beta(void) const
Definition: MuonFeature.h:68
MuonFeature::pt
float pt(void) const
Definition: MuonFeature.h:48
MuonFeature::beta
float beta(void) const
Definition: MuonFeature.h:55
MuonFeature::m_sp3_r
float m_sp3_r
Definition: MuonFeature.h:99
MuonFeature::m_sp3_slope
float m_sp3_slope
Definition: MuonFeature.h:101
MuonFeature::m_dq_var2
double m_dq_var2
Definition: MuonFeature.h:107
MuonFeature::sp2_r
float sp2_r(void) const
Definition: MuonFeature.h:59
MuonFeature::m_br_radius
float m_br_radius
Definition: MuonFeature.h:102
MuonFeature::zeta
float zeta(void) const
Definition: MuonFeature.h:53