ATLAS Offline Software
ToFLocParamData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
15 #ifndef AFP_DBTOOLS_TOFLOCPARAMDATA_H
16 #define AFP_DBTOOLS_TOFLOCPARAMDATA_H
17 
18 
19 namespace AFP
20 {
21 
24  {
25  public:
26 
27  ToFLocParamData(int st, int tr, int ba): m_stationID(st), m_trainID(tr), m_barID(ba), m_barWeight(0.), m_barTimeOffset(0.) {}
28  ToFLocParamData(int st, int tr, int ba, double w, double t) : m_stationID(st), m_trainID(tr), m_barID(ba), m_barWeight(w), m_barTimeOffset(t) {}
29 
30 
32  int stationID () const {return m_stationID;}
33 
35  int trainID () const {return m_trainID;}
36 
38  int barID () const {return m_barID;}
39 
41  double barWeight () const {return m_barWeight;}
42 
44  double barTimeOffset () const {return m_barTimeOffset;}
45 
46  private:
48  int m_trainID;
49  int m_barID;
50  double m_barWeight;
52  };
53 
54 } // namespace AFP
55 
56 #endif // AFP_DBTOOLS_TOFLOCPARAMDATA_H
AFP::ToFLocParamData::m_barTimeOffset
double m_barTimeOffset
Definition: ToFLocParamData.h:51
AFP::ToFLocParamData::stationID
int stationID() const
ID of the station to which parameters apply (see xAOD::AFPStationID)
Definition: ToFLocParamData.h:32
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
AFP::ToFLocParamData::m_trainID
int m_trainID
Definition: ToFLocParamData.h:48
AFP::ToFLocParamData::barID
int barID() const
ID of the bar in the train to which parameters apply.
Definition: ToFLocParamData.h:38
AFP
Header file for interface of SiGlobAlignDBTool used to read global alignment for database.
Definition: ISiGlobAlignDBTool.h:18
AFP::ToFLocParamData::ToFLocParamData
ToFLocParamData(int st, int tr, int ba)
Definition: ToFLocParamData.h:27
AFP::ToFLocParamData::ToFLocParamData
ToFLocParamData(int st, int tr, int ba, double w, double t)
Definition: ToFLocParamData.h:28
AFP::ToFLocParamData::barTimeOffset
double barTimeOffset() const
Time offset for this particular bar.
Definition: ToFLocParamData.h:44
AFP::ToFLocParamData::m_barWeight
double m_barWeight
Definition: ToFLocParamData.h:50
AFP::ToFLocParamData::barWeight
double barWeight() const
Weight for this particular bar.
Definition: ToFLocParamData.h:41
AFP::ToFLocParamData
Class storing information about alignment.
Definition: ToFLocParamData.h:24
AFP::ToFLocParamData::m_barID
int m_barID
Definition: ToFLocParamData.h:49
AFP::ToFLocParamData::m_stationID
int m_stationID
Definition: ToFLocParamData.h:47
python.IoTestsLib.w
def w
Definition: IoTestsLib.py:200
AFP::ToFLocParamData::trainID
int trainID() const
ID of the train in the station to which parameters apply.
Definition: ToFLocParamData.h:35