ATLAS Offline Software
TestBeam
TBEvent
TBEvent
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
12
#include "
AthenaKernel/CLASS_DEF.h
"
13
#include "
TBEvent/TBBeamDetector.h
"
14
15
class
TBHitPlane
16
{
17
public
:
18
20
// Constructors and Destructor //
22
23
TBHitPlane
();
24
~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
38
TBBeamDetector
*
getBeamDetector
()
const
{
return
m_beamdetect
;}
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 :
56
TBBeamDetector
*
m_beamdetect
;
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
68
bool
m_IsValid
;
69
70
71
};
72
CLASS_DEF
(
TBHitPlane
, 229616155 , 1 )
73
#endif
TBHitPlane::m_w
double m_w
Definition:
TBHitPlane.h:60
TBHitPlane::m_eu
double m_eu
Definition:
TBHitPlane.h:64
TBHitPlane::setValidFlag
void setValidFlag(bool valid)
Definition:
TBHitPlane.h:45
TBBeamDetector.h
TBHitPlane::IsValid
bool IsValid() const
Definition:
TBHitPlane.h:36
TBHitPlane::setErroru
void setErroru(double eu)
Definition:
TBHitPlane.h:42
TBHitPlane
Definition:
TBHitPlane.h:16
TBHitPlane::setPosw
void setPosw(double w)
Definition:
TBHitPlane.h:41
TBHitPlane::setPosu
void setPosu(double u)
Definition:
TBHitPlane.h:40
Trk::u
@ u
Enums for curvilinear frames.
Definition:
ParamDefs.h:77
TBHitPlane::getBeamDetector
TBBeamDetector * getBeamDetector() const
Definition:
TBHitPlane.h:38
calibdata.valid
list valid
Definition:
calibdata.py:45
TBHitPlane::TBHitPlane
TBHitPlane()
Definition:
TBHitPlane.cxx:7
TBHitPlane::getErrorw
double getErrorw() const
Definition:
TBHitPlane.h:34
TBHitPlane::~TBHitPlane
~TBHitPlane()
Definition:
TBHitPlane.cxx:18
TBHitPlane::m_u
double m_u
Definition:
TBHitPlane.h:60
TBHitPlane::m_beamdetect
TBBeamDetector * m_beamdetect
Definition:
TBHitPlane.h:56
TBHitPlane::getPosu
double getPosu() const
Definition:
TBHitPlane.h:31
TBHitPlane::getPosw
double getPosw() const
Definition:
TBHitPlane.h:32
TBHitPlane::getErroru
double getErroru() const
Definition:
TBHitPlane.h:33
TBHitPlane::m_IsValid
bool m_IsValid
Definition:
TBHitPlane.h:68
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition:
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
TBHitPlane::m_ew
double m_ew
Definition:
TBHitPlane.h:64
TBHitPlane::setErrorw
void setErrorw(double ew)
Definition:
TBHitPlane.h:43
TBHitPlane::setBeamDetector
void setBeamDetector(TBBeamDetector *beamdetect)
Definition:
TBHitPlane.h:47
python.IoTestsLib.w
def w
Definition:
IoTestsLib.py:200
TBBeamDetector
Definition:
TBBeamDetector.h:16
CLASS_DEF.h
macros to associate a CLID to a type
Generated on Thu Nov 7 2024 21:27:13 for ATLAS Offline Software by
1.8.18