|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONCSC_CNVTOOL_CSCRODREADOUTV0_H
6 #define MUONCSC_CNVTOOL_CSCRODREADOUTV0_H
105 return sourceIdentifier;
122 v32 = v32 | (
v <<
p);
135 amp1 = 0x0000FFFF & fragment;
136 amp2 = (0xFFFF0000 & fragment) >> 16;
157 int chamberLayer = ((
m_address & 0x00001000) >> 12) + 1;
158 int wireLayer = ((
m_address & 0x00000E00) >> 9) + 1;
159 int measuresPhi = ((
m_address & 0x00000100) >> 8);
199 nameIndex << 17 | etaIndex << 16 |
phiIndex << 13 | chamberIndex << 12 | layerIndex << 9 | stripType << 8 | stripNumber;
204 #endif // MUONCSC_CNVTOOL_CSCRODREADOUTV0_H
constexpr uint8_t stationPhi
station Phi 1 to 8
Scalar phi() const
phi method
Scalar eta() const
pseudorapidity method
uint32_t getSourceID(uint16_t side, uint16_t rodId)
void decodeAmplitude(const uint32_t fragment, int index)
~CscRODReadOutV0()=default
uint32_t getHeaderMarker()
int stationName(const Identifier &id) const
static const uint16_t MODULE_TYPE
bool isAddress(const uint32_t fragment) const
Identifier decodeAddress()
int m_NUMBER_OF_INTEGRATION
void decodeSourceID(uint32_t sourceId)
static const uint32_t ROD_HEADER_SIZE
int wireLayer(const Identifier &id) const
double signal(double z) const
static const uint32_t ROD_VERSION
double signal_amplitude(double samplingTime) const
void set32bits(const uint16_t *v16, uint32_t &v32) const
bool isAmplitude(const uint16_t fragment) const
uint16_t moduleType() const
int stationPhi(const Identifier &id) const
static const uint32_t ROD_FOOTER_SIZE
Identifier channelID(int stationName, int stationEta, int stationPhi, int chamberLayer, int wireLayer, int measuresPhi, int strip) const
bool isBody(const uint32_t fragment) const
int stationEta(const Identifier &id) const
const CscIdHelper * m_cscHelper
uint16_t sourceID() const
Identifier elementID(int stationName, int stationEta, int stationPhi) const
unsigned int phiIndex(float phi, float binsize)
calculate phi index for a given phi
uint16_t subDetectorId() const
static const uint16_t BODY_AMPLITUDE
static const uint16_t SOURCE_ID
static const uint32_t BODY_ADDRESS
int strip(const Identifier &id) const
double m_CHARGE_TO_ADC_COUNT
static const uint32_t ROD_HEADER
bool measuresPhi(const Identifier &id) const override
uint32_t getFormatVersion()
constexpr uint8_t stationEta
1 to 3
void set(const CscIdHelper *cscHelper)
int chamberLayer(const Identifier &id) const
void encodeFragments(const uint16_t *amplitude, const uint32_t &address, std::vector< uint32_t > &v) const