#include <MM_SimIdToOfflineId.h>
Definition at line 12 of file MM_SimIdToOfflineId.h.
◆ MM_SimIdToOfflineId()
| MM_SimIdToOfflineId::MM_SimIdToOfflineId |
( |
const MmIdHelper * | idHelper | ) |
|
|
inline |
Definition at line 14 of file MM_SimIdToOfflineId.h.
static const MicromegasHitIdHelper * GetHelper()
const MicromegasHitIdHelper * m_simIdHelper
const MmIdHelper * m_idHelper
◆ convert() [1/2]
| int MM_SimIdToOfflineId::convert |
( |
const Identifier & | id | ) |
const |
|
inline |
Definition at line 37 of file MM_SimIdToOfflineId.h.
38 {
40 int side(stationEta>0 ? 1 : -1);
49 }
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 MM_SimIdToOfflineId::convert |
( |
int | simId | ) |
const |
|
inline |
Definition at line 24 of file MM_SimIdToOfflineId.h.
24 {
31 return m_idHelper->channelID( stationName[2] ==
'L' ?
"MML" :
"MMS",
32 side == 1 ? stationEta+1 : -stationEta-1,
33 (stationPhi-1)/2+1,multilayer,layer,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: