![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "GaudiKernel/GaudiException.h"
22 if (!
m_idHelp->
hasCSC()) std::cout <<
"CscRawDataCnv_p2::transToPers: !m_idHelp.hasCSC()" << std::endl;
30 throw std::runtime_error(Form(
"File: %s, Line: %d\nCscRawDataCnv_p2::transToPers() - No MuonIdHelperSvc present (needed for channel hash conversion)", __FILE__, __LINE__));
44 int measuresPhi = ( (pers->
m_address & 0x00000100) >> 8);
virtual void transToPers(const CscRawData *transObj, CscRawData_p2 *persObj, MsgStream &log)
uint32_t m_hashId
offline hash identifier of the first strip in the online cluster
uint16_t rpuID() const
data access methods
uint16_t m_id
online identifier of the collection in which this strip is
virtual int get_id(const IdentifierHash &hash_id, Identifier &id, const IdContext *context=0) const override
Create compact id from hash id (return == 0 for OK)
virtual bool hasCSC() const =0
returns whether the CSC identifiers are loaded
IdContext channel_context() const
id for channel
uint16_t m_rpuID
SPU -Sparsifier Processing Unit - identifier in which this strip is.
bool isTimeComputed() const
bool m_isTimeComputed
failed to compute the time in the ROD or not - if failure m_time = 0
uint16_t m_time
online peaking time of the first strip: this is 0 if failed to compute time in the ROD
uint16_t m_width
number of consecutive strips forming the on-line cluster
std::vector< uint16_t > m_amps
in common with _p1
virtual void persToTrans(const CscRawData_p2 *persObj, CscRawData *transObj, MsgStream &log)
uint16_t identify() const
void setHashID(uint32_t hash)
virtual int get_channel_hash(const Identifier &id, IdentifierHash &hash_id) const
const std::vector< uint16_t > & samples() const
Muon::IMuonIdHelperSvc * m_idHelp
virtual const CscIdHelper & cscIdHelper() const =0
access to CscIdHelper
Class to hold the electronic output for a single CSC readout channel: n sampling ADC data + the addre...
uint32_t m_address
online identifier of the first strip in the ROD cluster
constexpr uint8_t stationEta
1 to 3
void setTime(uint16_t time)