ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODForward
xAODForward
versions
AFPToFHit_v1.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 XAODFORWARD_VERSIONS_AFPToFHIT_V1_H
6
#define XAODFORWARD_VERSIONS_AFPToFHIT_V1_H
7
8
// EDM include(s):
9
#include "
AthContainers/AuxElement.h
"
10
#include "
xAODForward/AFPStationID.h
"
11
12
13
namespace
xAOD
{
14
19
class
AFPToFHit_v1
:
public
SG::AuxElement
20
{
21
public
:
22
// needed by athenaRoot
23
AFPToFHit_v1
();
24
32
float
time
()
const
;
33
34
void
setTime
(
float
time
);
35
42
int
hptdcChannel
()
const
;
43
44
void
setHptdcChannel
(
int
hptdcChannel
);
45
49
int
barInTrainID
()
const
;
50
51
void
setBarInTrainID
(
const
int
barInTrainID
);
52
56
int
trainID
()
const
;
57
58
void
setTrainID
(
const
int
barInTrainID
);
59
67
float
pulseLength
()
const
;
68
69
void
setPulseLength
(
float
pulseLength
);
70
76
int
hptdcID
()
const
;
77
78
void
setHptdcID
(
int
hptdcID
);
79
84
int
stationID
()
const
;
85
86
void
setStationID
(
int
side);
87
89
bool
isSideA
()
const
90
{
return
stationID
() ==
xAOD::AFPStationID::farA
;}
91
93
bool
isSideC
()
const
94
{
return
stationID
() ==
xAOD::AFPStationID::farC
;}
95
97
void
toPersistent
() {}
98
};
99
100
101
}
// namespace xAOD
102
103
// Declare the inheritance of the type to StoreGate:
104
#include "
xAODCore/BaseInfo.h
"
105
SG_BASE
(
xAOD::AFPToFHit_v1
,
SG::AuxElement
);
106
107
#endif
// XAODFORWARD_VERSIONS_AFPToFHIT_V1_H
AFPStationID.h
Definitions of AFP stations identification numbers.
AuxElement.h
Base class for elements of a container that can have aux data.
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
BaseInfo.h
xAOD::AFPStationID::farC
static const int farC
station with at Z = -217 m
Definition
AFPStationID.h:52
xAOD::AFPStationID::farA
static const int farA
station with at Z = 217 m
Definition
AFPStationID.h:49
xAOD::AFPToFHit_v1
Class representing a hit in ToF detector.
Definition
AFPToFHit_v1.h:20
xAOD::AFPToFHit_v1::setBarInTrainID
void setBarInTrainID(const int barInTrainID)
xAOD::AFPToFHit_v1::setPulseLength
void setPulseLength(float pulseLength)
xAOD::AFPToFHit_v1::time
float time() const
Time of AFP ToF detector hit relative to the reference clock.
xAOD::AFPToFHit_v1::barInTrainID
int barInTrainID() const
ID number of the LQBar in a train where hit was detected.
xAOD::AFPToFHit_v1::isSideA
bool isSideA() const
Returns true if ToF hit is in far station on A side.
Definition
AFPToFHit_v1.h:89
xAOD::AFPToFHit_v1::AFPToFHit_v1
AFPToFHit_v1()
Definition
AFPToFHit_v1.cxx:15
xAOD::AFPToFHit_v1::toPersistent
void toPersistent()
Function making sure that the object is ready for persistification i.e. saving - does nothing.
Definition
AFPToFHit_v1.h:97
xAOD::AFPToFHit_v1::trainID
int trainID() const
ID number of the train of LQBars (set of 4 bars), where hit was detected.
xAOD::AFPToFHit_v1::pulseLength
float pulseLength() const
Lenght of the signal pulse which is proportional to the signal amplitude.
xAOD::AFPToFHit_v1::setHptdcID
void setHptdcID(int hptdcID)
xAOD::AFPToFHit_v1::setTrainID
void setTrainID(const int barInTrainID)
xAOD::AFPToFHit_v1::hptdcChannel
int hptdcChannel() const
HPTDC channel number.
xAOD::AFPToFHit_v1::stationID
int stationID() const
Index of the station with time-of-flight hit.
xAOD::AFPToFHit_v1::isSideC
bool isSideC() const
Returns true if ToF hit is in far station on A side.
Definition
AFPToFHit_v1.h:93
xAOD::AFPToFHit_v1::setStationID
void setStationID(int side)
xAOD::AFPToFHit_v1::hptdcID
int hptdcID() const
Identification number of the HPTDC module.
xAOD::AFPToFHit_v1::setHptdcChannel
void setHptdcChannel(int hptdcChannel)
xAOD::AFPToFHit_v1::setTime
void setTime(float time)
SG::AuxElement
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
Generated on
for ATLAS Offline Software by
1.17.0