ATLAS Offline Software
Loading...
Searching...
No Matches
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):
11
12
13namespace xAOD {
14
20 {
21 public:
22 // needed by athenaRoot
24
32 float time() const;
33
34 void setTime(float time);
35
42 int hptdcChannel() const;
43
45
49 int barInTrainID() const;
50
52
56 int trainID() const;
57
58 void setTrainID(const int barInTrainID);
59
67 float pulseLength() const;
68
70
76 int hptdcID() const;
77
79
84 int stationID() const;
85
86 void setStationID(int side);
87
89 bool isSideA() const
91
93 bool isSideC() const
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"
106
107#endif // XAODFORWARD_VERSIONS_AFPToFHIT_V1_H
Definitions of AFP stations identification numbers.
Base class for elements of a container that can have aux data.
#define SG_BASE(D, B)
Declare that class D derives from class B.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
static const int farC
station with at Z = -217 m
static const int farA
station with at Z = 217 m
Class representing a hit in ToF detector.
void setBarInTrainID(const int barInTrainID)
void setPulseLength(float pulseLength)
float time() const
Time of AFP ToF detector hit relative to the reference clock.
int barInTrainID() const
ID number of the LQBar in a train where hit was detected.
bool isSideA() const
Returns true if ToF hit is in far station on A side.
void toPersistent()
Function making sure that the object is ready for persistification i.e. saving - does nothing.
int trainID() const
ID number of the train of LQBars (set of 4 bars), where hit was detected.
float pulseLength() const
Lenght of the signal pulse which is proportional to the signal amplitude.
void setHptdcID(int hptdcID)
void setTrainID(const int barInTrainID)
int hptdcChannel() const
HPTDC channel number.
int stationID() const
Index of the station with time-of-flight hit.
bool isSideC() const
Returns true if ToF hit is in far station on A side.
void setStationID(int side)
int hptdcID() const
Identification number of the HPTDC module.
void setHptdcChannel(int hptdcChannel)
void setTime(float time)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.