ATLAS Offline Software
Loading...
Searching...
No Matches
xAOD::AFPToFHit_v1 Class Reference

Class representing a hit in ToF detector. More...

#include <AFPToFHit_v1.h>

Inheritance diagram for xAOD::AFPToFHit_v1:
Collaboration diagram for xAOD::AFPToFHit_v1:

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.

Detailed Description

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.

Constructor & Destructor Documentation

◆ AFPToFHit_v1()

xAOD::AFPToFHit_v1::AFPToFHit_v1 ( )

Definition at line 15 of file AFPToFHit_v1.cxx.

16 { }
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.

Member Function Documentation

◆ barInTrainID()

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

◆ hptdcChannel()

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

◆ hptdcID()

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

◆ isSideA()

bool xAOD::AFPToFHit_v1::isSideA ( ) const
inline

Returns true if ToF hit is in far station on A side.

Definition at line 89 of file AFPToFHit_v1.h.

static const int farA
station with at Z = 217 m
int stationID() const
Index of the station with time-of-flight hit.

◆ isSideC()

bool xAOD::AFPToFHit_v1::isSideC ( ) const
inline

Returns true if ToF hit is in far station on A side.

Definition at line 93 of file AFPToFHit_v1.h.

static const int farC
station with at Z = -217 m

◆ pulseLength()

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.

◆ setBarInTrainID()

void xAOD::AFPToFHit_v1::setBarInTrainID ( const int barInTrainID)

◆ setHptdcChannel()

void xAOD::AFPToFHit_v1::setHptdcChannel ( int hptdcChannel)

◆ setHptdcID()

void xAOD::AFPToFHit_v1::setHptdcID ( int hptdcID)

◆ setPulseLength()

void xAOD::AFPToFHit_v1::setPulseLength ( float pulseLength)

◆ setStationID()

void xAOD::AFPToFHit_v1::setStationID ( int side)

◆ setTime()

void xAOD::AFPToFHit_v1::setTime ( float time)

◆ setTrainID()

void xAOD::AFPToFHit_v1::setTrainID ( const int barInTrainID)

◆ stationID()

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.

◆ time()

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.

◆ toPersistent()

void xAOD::AFPToFHit_v1::toPersistent ( )
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.

97{}

◆ trainID()

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


The documentation for this class was generated from the following files: