ATLAS Offline Software
Loading...
Searching...
No Matches
TBHitPlane.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#ifndef TBEVENT_TBHitPlane_H
6#define TBEVENT_TBHitPlane_H
7
11
14
16{
17 public:
18
20 // Constructors and Destructor //
22
23 TBHitPlane();
25
26 // /////////////////////
27 // Data Manipulation //
28 // /////////////////////
29
30
31 double getPosu() const {return m_u;}
32 double getPosw() const {return m_w;}
33 double getErroru() const {return m_eu;}
34 double getErrorw() const {return m_ew;}
35
36 bool IsValid() const {return m_IsValid;}
37
39
40 void setPosu(double u){m_u = u;}
41 void setPosw(double w){m_w = w;}
42 void setErroru(double eu){m_eu = eu;}
43 void setErrorw(double ew){m_ew = ew;}
44
45 void setValidFlag(bool valid){m_IsValid=valid;}
46
47 void setBeamDetector(TBBeamDetector * beamdetect){m_beamdetect=beamdetect;}
48
49 private:
50
52 // Private Data //
54
55 // A pointer to the detector that recorded this hit :
57
58 // Position of the hit in the detectors given in global
59 //'reconstruction' coordonates.
60 double m_u, m_w;
61
62 // Error associated with the detector resolution and position
63 // measurement error
64 double m_eu, m_ew;
65
66 // A flag that tells if the hit should be included in track
67 // reconstruction or not
69
70
71};
72CLASS_DEF( TBHitPlane , 229616155 , 1 )
73#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
This class is used to store hit information from BPC & MWPC for one plane.
Definition TBHitPlane.h:16
void setPosw(double w)
Definition TBHitPlane.h:41
double getErroru() const
Definition TBHitPlane.h:33
void setValidFlag(bool valid)
Definition TBHitPlane.h:45
double m_u
Definition TBHitPlane.h:60
double getPosw() const
Definition TBHitPlane.h:32
bool m_IsValid
Definition TBHitPlane.h:68
bool IsValid() const
Definition TBHitPlane.h:36
void setErroru(double eu)
Definition TBHitPlane.h:42
void setBeamDetector(TBBeamDetector *beamdetect)
Definition TBHitPlane.h:47
double m_eu
Definition TBHitPlane.h:64
TBBeamDetector * getBeamDetector() const
Definition TBHitPlane.h:38
void setPosu(double u)
Definition TBHitPlane.h:40
TBBeamDetector * m_beamdetect
Definition TBHitPlane.h:56
void setErrorw(double ew)
Definition TBHitPlane.h:43
double m_w
Definition TBHitPlane.h:60
double getPosu() const
Definition TBHitPlane.h:31
double m_ew
Definition TBHitPlane.h:64
double getErrorw() const
Definition TBHitPlane.h:34