ATLAS Offline Software
Loading...
Searching...
No Matches
AlignTRTHit.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5/********
6AlignTRTHit is the Alignment TRT Hit information, created by iPatAlign
7and can be saved in ntuples
8*/
9#ifndef IPATALIGN_ALIGNTRTHIT_H
10#define IPATALIGN_ALIGNTRTHIT_H
11
13public:
14 // default constructor
16 // access methods
17 int det() const;
18 int module() const;
19 int phimod() const;
20 int layer() const;
21 int straw() const;
22 float r() const;
23 float phi() const;
24 float z() const;
25 float xdrift() const;
26 float tdrift() const;
27 float res() const;
28 bool highth() const;
29 //set methods
30 void set_index(int,int,int,int,int);
31 void set_r(float);
32 void set_phi(float);
33 void set_z(float);
34 void set_xdrift(float);
35 void set_tdrift(float);
36 void set_res(float);
37 void set_highth(bool);
38
39private:
40 int m_det;
41 int m_mod;
45 float m_r;
46 float m_phi;
47 float m_z;
48 float m_xdrift;
49 float m_tdrift;
50 float m_res;
52};
53
54inline int AlignTRTHit::det() const { return m_det; }
55inline int AlignTRTHit::module() const { return m_mod; }
56inline int AlignTRTHit::phimod() const { return m_phimod; }
57inline int AlignTRTHit::layer() const { return m_layer; }
58inline int AlignTRTHit::straw() const { return m_straw; }
59inline float AlignTRTHit::r() const { return m_r; }
60inline float AlignTRTHit::phi() const { return m_phi; }
61inline float AlignTRTHit::z() const { return m_z; }
62inline float AlignTRTHit::xdrift() const { return m_xdrift; }
63inline float AlignTRTHit::tdrift() const { return m_tdrift; }
64inline float AlignTRTHit::res() const { return m_res; }
65inline bool AlignTRTHit::highth() const { return m_highth; }
66
67inline void AlignTRTHit::set_index(int det, int mod, int phimod,
68 int lay, int straw) {
70inline void AlignTRTHit::set_r(float f) { m_r=f; }
71inline void AlignTRTHit::set_phi(float f) { m_phi=f; }
72inline void AlignTRTHit::set_z(float f) { m_z=f; }
73inline void AlignTRTHit::set_xdrift(float x) { m_xdrift=x; }
74inline void AlignTRTHit::set_tdrift(float t) { m_tdrift=t; }
75inline void AlignTRTHit::set_res(float r) { m_res=r; }
76inline void AlignTRTHit::set_highth(bool b) { m_highth=b; }
77
78#endif // IPATALIGN_ALIGNTRTHIT_H
79
#define x
int phimod() const
Definition AlignTRTHit.h:56
bool highth() const
Definition AlignTRTHit.h:65
void set_highth(bool)
Definition AlignTRTHit.h:76
float m_tdrift
Definition AlignTRTHit.h:49
float res() const
Definition AlignTRTHit.h:64
void set_xdrift(float)
Definition AlignTRTHit.h:73
void set_phi(float)
Definition AlignTRTHit.h:71
void set_r(float)
Definition AlignTRTHit.h:70
void set_index(int, int, int, int, int)
Definition AlignTRTHit.h:67
void set_z(float)
Definition AlignTRTHit.h:72
float tdrift() const
Definition AlignTRTHit.h:63
float r() const
Definition AlignTRTHit.h:59
float xdrift() const
Definition AlignTRTHit.h:62
void set_tdrift(float)
Definition AlignTRTHit.h:74
void set_res(float)
Definition AlignTRTHit.h:75
int layer() const
Definition AlignTRTHit.h:57
int module() const
Definition AlignTRTHit.h:55
float m_xdrift
Definition AlignTRTHit.h:48
float phi() const
Definition AlignTRTHit.h:60
int det() const
Definition AlignTRTHit.h:54
int straw() const
Definition AlignTRTHit.h:58
float z() const
Definition AlignTRTHit.h:61