ATLAS Offline Software
Loading...
Searching...
No Matches
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
14public:
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
27private:
29 void Initialize();
31};
32
33#endif
void SetStationName(const std::string &name, int &hid) const
int GetWireLayer(const int &hid) const
int GetZSector(const int &hid) const
void InitializeStationName()
int GetPhiSector(const int &hid) const
std::string GetStationName(const int &hid) const
int GetChamberLayer(const int &hid) const
int BuildCscHitId(const std::string &, const int, const int, const int, const int) const
static const CscHitIdHelper * GetHelper()