#include <sTgcSimIdToOfflineId.h>
Definition at line 12 of file sTgcSimIdToOfflineId.h.
◆ sTgcSimIdToOfflineId()
| sTgcSimIdToOfflineId::sTgcSimIdToOfflineId |
( |
const sTgcIdHelper * | idHelper | ) |
|
|
inline |
Definition at line 14 of file sTgcSimIdToOfflineId.h.
static const sTgcHitIdHelper * GetHelper()
const sTgcHitIdHelper * m_simIdHelper
const sTgcIdHelper * m_idHelper
◆ convert() [1/2]
| int sTgcSimIdToOfflineId::convert |
( |
const Identifier & | id | ) |
const |
|
inline |
Definition at line 36 of file sTgcSimIdToOfflineId.h.
37 {
39 int side(stationEta>0 ? 1 : -1);
44 std::string quadType = "P";
45 if (isSmall && (ml == 1)) quadType = "C";
46 if (!isSmall && (ml == 2)) quadType = "C";
51 }
Scalar phi() const
phi method
bool isSmall(const ChIndex index)
Returns true if the chamber index is in a small sector.
constexpr uint8_t stationEta
1 to 3
◆ convert() [2/2]
| Identifier sTgcSimIdToOfflineId::convert |
( |
int | simId | ) |
const |
|
inline |
Definition at line 24 of file sTgcSimIdToOfflineId.h.
24 {
31 return m_idHelper->channelID( stationName[1] ==
'L' ?
"STL" :
"STS",
32 side == 1 ? stationEta+1 : -stationEta-1,
34}
constexpr uint8_t stationPhi
station Phi 1 to 8
◆ m_idHelper
◆ m_simIdHelper
The documentation for this struct was generated from the following file: