ATLAS Offline Software
Loading...
Searching...
No Matches
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
13
14
15#ifndef AFP_DBTOOLS_TOFLOCPARAMDATA_H
16#define AFP_DBTOOLS_TOFLOCPARAMDATA_H
17
18
19namespace 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:
52 };
53
54} // namespace AFP
55
56#endif // AFP_DBTOOLS_TOFLOCPARAMDATA_H
double barTimeOffset() const
Time offset for this particular bar.
int trainID() const
ID of the train in the station to which parameters apply.
int barID() const
ID of the bar in the train to which parameters apply.
int stationID() const
ID of the station to which parameters apply (see xAOD::AFPStationID)
ToFLocParamData(int st, int tr, int ba)
double barWeight() const
Weight for this particular bar.
ToFLocParamData(int st, int tr, int ba, double w, double t)
Header file for interface of SiGlobAlignDBTool used to read global alignment for database.