ATLAS Offline Software
CscHitIdHelper.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 CscHitIdHelper_H
6 #define CscHitIdHelper_H
7 
8 #include <string>
9 
10 //base class
12 
13 class CscHitIdHelper: public HitIdHelper {
14 public:
15 
16  static const CscHitIdHelper* 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 GetChamberLayer(const int& hid) const;
22  int GetWireLayer (const int& hid) const;
23 
24  int BuildCscHitId (const std::string&, const int, const int, const int,
25  const int) const;
26 
27 private:
29  void Initialize();
30  void InitializeStationName();
31 };
32 
33 #endif
CscHitIdHelper::GetChamberLayer
int GetChamberLayer(const int &hid) const
Definition: CscHitIdHelper.cxx:78
CscHitIdHelper::GetPhiSector
int GetPhiSector(const int &hid) const
Definition: CscHitIdHelper.cxx:67
CscHitIdHelper::GetHelper
static const CscHitIdHelper * GetHelper()
Definition: CscHitIdHelper.cxx:23
CscHitIdHelper::BuildCscHitId
int BuildCscHitId(const std::string &, const int, const int, const int, const int) const
Definition: CscHitIdHelper.cxx:89
CscHitIdHelper::CscHitIdHelper
CscHitIdHelper()
Definition: CscHitIdHelper.cxx:17
CscHitIdHelper
Definition: CscHitIdHelper.h:13
CscHitIdHelper::GetWireLayer
int GetWireLayer(const int &hid) const
Definition: CscHitIdHelper.cxx:83
CscHitIdHelper::SetStationName
void SetStationName(const std::string &name, int &hid) const
Definition: CscHitIdHelper.cxx:45
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
HitIdHelper
Definition: HitIdHelper.h:23
CscHitIdHelper::GetStationName
std::string GetStationName(const int &hid) const
Definition: CscHitIdHelper.cxx:56
CscHitIdHelper::Initialize
void Initialize()
Definition: CscHitIdHelper.cxx:29
CscHitIdHelper::GetZSector
int GetZSector(const int &hid) const
Definition: CscHitIdHelper.cxx:72
HitIdHelper.h
CscHitIdHelper::InitializeStationName
void InitializeStationName()
Definition: CscHitIdHelper.cxx:38