![]() |
ATLAS Offline Software
|
Class representing a hit in ToF detector. More...
#include <AFPToFHit_v1.h>
Public Member Functions | |
| AFPToFHit_v1 () | |
| float | time () const |
| Time of AFP ToF detector hit relative to the reference clock. | |
| void | setTime (float time) |
| int | hptdcChannel () const |
| HPTDC channel number. | |
| void | setHptdcChannel (int hptdcChannel) |
| int | barInTrainID () const |
| ID number of the LQBar in a train where hit was detected. | |
| void | setBarInTrainID (const int barInTrainID) |
| int | trainID () const |
| ID number of the train of LQBars (set of 4 bars), where hit was detected. | |
| void | setTrainID (const int barInTrainID) |
| float | pulseLength () const |
| Lenght of the signal pulse which is proportional to the signal amplitude. | |
| void | setPulseLength (float pulseLength) |
| int | hptdcID () const |
| Identification number of the HPTDC module. | |
| void | setHptdcID (int hptdcID) |
| int | stationID () const |
| Index of the station with time-of-flight hit. | |
| void | setStationID (int side) |
| bool | isSideA () const |
| Returns true if ToF hit is in far station on A side. | |
| bool | isSideC () 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. | |
Class representing a hit in ToF detector.
This class provides information about a single hit in AFP ToF detector.
Definition at line 19 of file AFPToFHit_v1.h.
| xAOD::AFPToFHit_v1::AFPToFHit_v1 | ( | ) |
Definition at line 15 of file AFPToFHit_v1.cxx.
| int xAOD::AFPToFHit_v1::barInTrainID | ( | ) | const |
ID number of the LQBar in a train where hit was detected.
The value should be between 0 and 3
| int xAOD::AFPToFHit_v1::hptdcChannel | ( | ) | const |
HPTDC channel number.
Information about mapping and more details about High Performance/Precision Time to Digital Converter (HPTDC) are available at https://twiki.cern.ch/twiki/bin/view/Atlas/AFPHPTDC
| int xAOD::AFPToFHit_v1::hptdcID | ( | ) | const |
Identification number of the HPTDC module.
Detailed documentation of High Performance/Precision Time to Digital Converter (HPTDC) is available in https://twiki.cern.ch/twiki/bin/view/Atlas/AFPHPTDC
|
inline |
|
inline |
| float xAOD::AFPToFHit_v1::pulseLength | ( | ) | const |
Lenght of the signal pulse which is proportional to the signal amplitude.
The returned value is lenght of the signal above threshold expressed in nanoseconds. Available values should be multiples of 0.521. Pulse lenght of 1 nanosecond corresponds roughtly to signal of about 67 mV.
| void xAOD::AFPToFHit_v1::setHptdcChannel | ( | int | hptdcChannel | ) |
| void xAOD::AFPToFHit_v1::setHptdcID | ( | int | hptdcID | ) |
| void xAOD::AFPToFHit_v1::setPulseLength | ( | float | pulseLength | ) |
| void xAOD::AFPToFHit_v1::setStationID | ( | int | side | ) |
| void xAOD::AFPToFHit_v1::setTime | ( | float | time | ) |
| int xAOD::AFPToFHit_v1::stationID | ( | ) | const |
Index of the station with time-of-flight hit.
The numbering scheme is the same as in xAOD::AFPStationID. It is recommended to use this class instead of bare numbers.
| float xAOD::AFPToFHit_v1::time | ( | ) | const |
Time of AFP ToF detector hit relative to the reference clock.
Time between the signal in AFP ToF detector and reference clock tick. The reference clock runs with the 40 MHz rate which corresponds to LHC bunch spacing so there should be a clock tick that zeros the time measurement for every bunch crossing. Time is expressed in nanoseconds.
|
inline |
Function making sure that the object is ready for persistification i.e. saving - does nothing.
Definition at line 97 of file AFPToFHit_v1.h.
| int xAOD::AFPToFHit_v1::trainID | ( | ) | const |
ID number of the train of LQBars (set of 4 bars), where hit was detected.
The value should be between 0 and 3