ATLAS Offline Software
Loading...
Searching...
No Matches
MicromegasHitIdHelper.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 MicromegasHitIdHelper_H
6#define MicromegasHitIdHelper_H
7
8#include <string>
9
10//base class
12
14public:
15
16 static const MicromegasHitIdHelper* 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 BuildMicromegasHitId (const std::string&, const int, const int, const int,
26 const int, const int) const;
27
28private:
30 void Initialize();
32};
33
34#endif
int GetLayer(const int &hid) const
void SetStationName(const std::string &name, int &hid) const
static const MicromegasHitIdHelper * GetHelper()
int GetSide(const int &hid) const
int GetPhiSector(const int &hid) const
int GetMultiLayer(const int &hid) const
int GetZSector(const int &hid) const
int BuildMicromegasHitId(const std::string &, const int, const int, const int, const int, const int) const
std::string GetStationName(const int &hid) const