ATLAS Offline Software
sTgcHitIdHelper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef sTgcHitIdHelper_H
6 #define sTgcHitIdHelper_H
7 
8 #include <string>
9 
10 //base class
12 
14 public:
15 
16  static const sTgcHitIdHelper* GetHelper();
17  std::string GetStationName(const int& hid) const;
18  void SetStationName(const std::string& name, int& hid) const;
19  int GetPhiSector(const int& hid) const;
20  int GetZSector(const int& hid) const;
21  int GetMultiLayer(const int& hid) const;
22  int GetLayer(const int& hid) const;
23  int GetSide(const int& hid) const;
24 
25  int BuildsTgcHitId (const std::string&, const int, const int, const int,
26  const int, const int) const;
27 
28 private:
30  void Initialize();
31  void InitializeStationName();
32 };
33 
34 #endif
sTgcHitIdHelper::GetSide
int GetSide(const int &hid) const
Definition: sTgcHitIdHelper.cxx:83
sTgcHitIdHelper::GetHelper
static const sTgcHitIdHelper * GetHelper()
Definition: sTgcHitIdHelper.cxx:24
sTgcHitIdHelper::Initialize
void Initialize()
Definition: sTgcHitIdHelper.cxx:29
sTgcHitIdHelper::BuildsTgcHitId
int BuildsTgcHitId(const std::string &, const int, const int, const int, const int, const int) const
Definition: sTgcHitIdHelper.cxx:89
sTgcHitIdHelper::GetMultiLayer
int GetMultiLayer(const int &hid) const
Definition: sTgcHitIdHelper.cxx:77
sTgcHitIdHelper::sTgcHitIdHelper
sTgcHitIdHelper()
Definition: sTgcHitIdHelper.cxx:19
sTgcHitIdHelper::GetLayer
int GetLayer(const int &hid) const
Definition: sTgcHitIdHelper.cxx:80
sTgcHitIdHelper::SetStationName
void SetStationName(const std::string &name, int &hid) const
Definition: sTgcHitIdHelper.cxx:45
sTgcHitIdHelper::InitializeStationName
void InitializeStationName()
Definition: sTgcHitIdHelper.cxx:38
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
HitIdHelper
Definition: HitIdHelper.h:23
sTgcHitIdHelper::GetStationName
std::string GetStationName(const int &hid) const
Definition: sTgcHitIdHelper.cxx:56
sTgcHitIdHelper::GetZSector
int GetZSector(const int &hid) const
Definition: sTgcHitIdHelper.cxx:72
sTgcHitIdHelper
Definition: sTgcHitIdHelper.h:13
HitIdHelper.h
sTgcHitIdHelper::GetPhiSector
int GetPhiSector(const int &hid) const
Definition: sTgcHitIdHelper.cxx:68