ATLAS Offline Software
Loading...
Searching...
No Matches
RpcHitIdHelper.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 RpcHitIdHelper_H
6#define RpcHitIdHelper_H
7
8#include <string>
9
10//base class
12
14public:
15
16 static const RpcHitIdHelper* GetHelper(unsigned int nGasGaps=2); // all non-BI RPCs (Run1+2) have 2 gas gaps, only BI RPCs have 3 gas gaps
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 GetDoubletR(const int& hid) const;
22 int GetGasGapLayer(const int& hid) const;
23 int GetDoubletPhi(const int& hid) const;
24 int GetDoubletZ(const int& hid) const;
25 int GetMeasuresPhi(const int& hid) const;
26
27 int BuildRpcHitId (const std::string&, const int, const int, const int,
28 const int, const int, const int, const int) const;
29
30private:
31 RpcHitIdHelper(unsigned int nGasGaps);
32 void Initialize(unsigned int nGasGaps);
34};
35
36#endif
int GetDoubletPhi(const int &hid) const
static const RpcHitIdHelper * GetHelper(unsigned int nGasGaps=2)
void SetStationName(const std::string &name, int &hid) const
int GetPhiSector(const int &hid) const
int BuildRpcHitId(const std::string &, const int, const int, const int, const int, const int, const int, const int) const
void InitializeStationName()
int GetDoubletR(const int &hid) const
RpcHitIdHelper(unsigned int nGasGaps)
int GetGasGapLayer(const int &hid) const
int GetMeasuresPhi(const int &hid) const
std::string GetStationName(const int &hid) const
void Initialize(unsigned int nGasGaps)
int GetDoubletZ(const int &hid) const
int GetZSector(const int &hid) const