ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonSimEvent
MuonSimEvent
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
11
#include "
HitManagement/HitIdHelper.h
"
12
13
class
RpcHitIdHelper
:
public
HitIdHelper
{
14
public
:
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
30
private
:
31
RpcHitIdHelper
(
unsigned
int
nGasGaps);
32
void
Initialize
(
unsigned
int
nGasGaps);
33
void
InitializeStationName
();
34
};
35
36
#endif
HitIdHelper.h
HitIdHelper::HitIdHelper
HitIdHelper()
Definition
HitIdHelper.h:25
RpcHitIdHelper::GetDoubletPhi
int GetDoubletPhi(const int &hid) const
Definition
RpcHitIdHelper.cxx:88
RpcHitIdHelper::GetHelper
static const RpcHitIdHelper * GetHelper(unsigned int nGasGaps=2)
Definition
RpcHitIdHelper.cxx:23
RpcHitIdHelper::SetStationName
void SetStationName(const std::string &name, int &hid) const
Definition
RpcHitIdHelper.cxx:48
RpcHitIdHelper::GetPhiSector
int GetPhiSector(const int &hid) const
Definition
RpcHitIdHelper.cxx:69
RpcHitIdHelper::BuildRpcHitId
int BuildRpcHitId(const std::string &, const int, const int, const int, const int, const int, const int, const int) const
Definition
RpcHitIdHelper.cxx:102
RpcHitIdHelper::InitializeStationName
void InitializeStationName()
Definition
RpcHitIdHelper.cxx:41
RpcHitIdHelper::GetDoubletR
int GetDoubletR(const int &hid) const
Definition
RpcHitIdHelper.cxx:80
RpcHitIdHelper::RpcHitIdHelper
RpcHitIdHelper(unsigned int nGasGaps)
Definition
RpcHitIdHelper.cxx:17
RpcHitIdHelper::GetGasGapLayer
int GetGasGapLayer(const int &hid) const
Definition
RpcHitIdHelper.cxx:84
RpcHitIdHelper::GetMeasuresPhi
int GetMeasuresPhi(const int &hid) const
Definition
RpcHitIdHelper.cxx:96
RpcHitIdHelper::GetStationName
std::string GetStationName(const int &hid) const
Definition
RpcHitIdHelper.cxx:58
RpcHitIdHelper::Initialize
void Initialize(unsigned int nGasGaps)
Definition
RpcHitIdHelper.cxx:29
RpcHitIdHelper::GetDoubletZ
int GetDoubletZ(const int &hid) const
Definition
RpcHitIdHelper.cxx:92
RpcHitIdHelper::GetZSector
int GetZSector(const int &hid) const
Definition
RpcHitIdHelper.cxx:74
Generated on
for ATLAS Offline Software by
1.17.0