ATLAS Offline Software
Loading...
Searching...
No Matches
AFP::ToFVtxParamData Class Reference

Class storing information about alignment. More...

#include <ToFVtxParamData.h>

Collaboration diagram for AFP::ToFVtxParamData:

Public Member Functions

 ToFVtxParamData (int st)
 ToFVtxParamData (int st, double go, const std::vector< double > &o, const std::vector< double > &s, const std::vector< double > &e)
int stationID () const
 ID of the station to which parameters apply (see xAOD::AFPStationID)
double timeGlobalOffset () const
 Global offset of the whole station.
const std::vector< double > & timeOffset () const
 Time offsets for the trains.
double timeOffset (int tr) const
const std::vector< double > & timeSlope () const
 Time slopes for the trains.
double timeSlope (int tr) const
const std::vector< double > & trainEdge () const
 Train edges; the end of n-th train is also the beginning of the (n+1)-th train.
double trainEdge (int tr) const

Private Attributes

int m_stationID
double m_timeGlobalOffset
std::vector< double > m_timeOffset
std::vector< double > m_timeSlope
std::vector< double > m_trainEdge

Detailed Description

Class storing information about alignment.

Definition at line 23 of file ToFVtxParamData.h.

Constructor & Destructor Documentation

◆ ToFVtxParamData() [1/2]

AFP::ToFVtxParamData::ToFVtxParamData ( int st)
inline

Definition at line 27 of file ToFVtxParamData.h.

27: m_stationID(st), m_timeGlobalOffset(0.), m_timeOffset{0.,0.,0.,0.}, m_timeSlope{0.,0.,0.,0.}, m_trainEdge{0.,0.,0.,0.,0.} {}
std::vector< double > m_timeSlope
std::vector< double > m_timeOffset
std::vector< double > m_trainEdge

◆ ToFVtxParamData() [2/2]

AFP::ToFVtxParamData::ToFVtxParamData ( int st,
double go,
const std::vector< double > & o,
const std::vector< double > & s,
const std::vector< double > & e )
inline

Definition at line 28 of file ToFVtxParamData.h.

Member Function Documentation

◆ stationID()

int AFP::ToFVtxParamData::stationID ( ) const
inline

ID of the station to which parameters apply (see xAOD::AFPStationID)

Definition at line 32 of file ToFVtxParamData.h.

32{return m_stationID;}

◆ timeGlobalOffset()

double AFP::ToFVtxParamData::timeGlobalOffset ( ) const
inline

Global offset of the whole station.

Definition at line 35 of file ToFVtxParamData.h.

35{return m_timeGlobalOffset;}

◆ timeOffset() [1/2]

const std::vector< double > & AFP::ToFVtxParamData::timeOffset ( ) const
inline

Time offsets for the trains.

Definition at line 38 of file ToFVtxParamData.h.

38{return m_timeOffset;}

◆ timeOffset() [2/2]

double AFP::ToFVtxParamData::timeOffset ( int tr) const
inline

Definition at line 39 of file ToFVtxParamData.h.

39{return m_timeOffset.at(tr);}

◆ timeSlope() [1/2]

const std::vector< double > & AFP::ToFVtxParamData::timeSlope ( ) const
inline

Time slopes for the trains.

Definition at line 42 of file ToFVtxParamData.h.

42{return m_timeSlope;}

◆ timeSlope() [2/2]

double AFP::ToFVtxParamData::timeSlope ( int tr) const
inline

Definition at line 43 of file ToFVtxParamData.h.

43{return m_timeSlope.at(tr);}

◆ trainEdge() [1/2]

const std::vector< double > & AFP::ToFVtxParamData::trainEdge ( ) const
inline

Train edges; the end of n-th train is also the beginning of the (n+1)-th train.

Definition at line 46 of file ToFVtxParamData.h.

46{return m_trainEdge;}

◆ trainEdge() [2/2]

double AFP::ToFVtxParamData::trainEdge ( int tr) const
inline

Definition at line 47 of file ToFVtxParamData.h.

47{return m_trainEdge.at(tr);}

Member Data Documentation

◆ m_stationID

int AFP::ToFVtxParamData::m_stationID
private

Definition at line 50 of file ToFVtxParamData.h.

◆ m_timeGlobalOffset

double AFP::ToFVtxParamData::m_timeGlobalOffset
private

Definition at line 51 of file ToFVtxParamData.h.

◆ m_timeOffset

std::vector<double> AFP::ToFVtxParamData::m_timeOffset
private

Definition at line 52 of file ToFVtxParamData.h.

◆ m_timeSlope

std::vector<double> AFP::ToFVtxParamData::m_timeSlope
private

Definition at line 53 of file ToFVtxParamData.h.

◆ m_trainEdge

std::vector<double> AFP::ToFVtxParamData::m_trainEdge
private

Definition at line 54 of file ToFVtxParamData.h.


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