ATLAS Offline Software
TgcHitIdHelper.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 TgcHitIdHelper_H
6 #define TgcHitIdHelper_H
7 
8 #include <string>
9 
10 //base class
12 
13 class TgcHitIdHelper: public HitIdHelper {
14 public:
15 
16  static const TgcHitIdHelper* GetHelper();
17  std::string GetStationName(const int& hid) const;
18  void SetStationName(const std::string& name, int& hid) const;
19  int GetStationPhi(const int& hid) const;
20  int GetStationEta(const int& hid) const;
21  int GetGasGap(const int& hid) const;
22 
23  int BuildTgcHitId (const std::string&, const int, const int, const int) const;
24 
25 private:
27  void Initialize();
28  void InitializeStationName();
29 };
30 
31 #endif
TgcHitIdHelper::GetGasGap
int GetGasGap(const int &hid) const
Definition: TgcHitIdHelper.cxx:71
TgcHitIdHelper::TgcHitIdHelper
TgcHitIdHelper()
Definition: TgcHitIdHelper.cxx:17
TgcHitIdHelper::InitializeStationName
void InitializeStationName()
Definition: TgcHitIdHelper.cxx:36
TgcHitIdHelper::Initialize
void Initialize()
Definition: TgcHitIdHelper.cxx:29
TgcHitIdHelper
Definition: TgcHitIdHelper.h:13
TgcHitIdHelper::GetStationName
std::string GetStationName(const int &hid) const
Definition: TgcHitIdHelper.cxx:52
TgcHitIdHelper::GetHelper
static const TgcHitIdHelper * GetHelper()
Definition: TgcHitIdHelper.cxx:23
TgcHitIdHelper::GetStationPhi
int GetStationPhi(const int &hid) const
Definition: TgcHitIdHelper.cxx:61
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
HitIdHelper
Definition: HitIdHelper.h:23
TgcHitIdHelper::SetStationName
void SetStationName(const std::string &name, int &hid) const
Definition: TgcHitIdHelper.cxx:43
HitIdHelper.h
TgcHitIdHelper::GetStationEta
int GetStationEta(const int &hid) const
Definition: TgcHitIdHelper.cxx:66
TgcHitIdHelper::BuildTgcHitId
int BuildTgcHitId(const std::string &, const int, const int, const int) const
Definition: TgcHitIdHelper.cxx:77