![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
13 declareInterface< Muon::IMM_RDO_Decoder >(
this );
21 return StatusCode::SUCCESS;
29 const Identifier Id =
data->identify();
30 int tdo =
data->time();
31 int pdo =
data->charge();
35 m_calibTool->tdoToTime (ctx,
data->timeAndChargeInCounts(), tdo, Id,
time , relBcid);
36 m_calibTool->pdoToCharge(ctx,
data->timeAndChargeInCounts(), pdo, Id,
charge );
40 return std::make_unique<MmDigit>(Id,
time,
charge);
def retrieve(aClass, aKey=None)
char data[hepevt_bytes_allocation_ATLAS]
ToolHandle< Muon::INSWCalibTool > m_calibTool
This class provides conversion from CSC RDO data to CSC Digits.
MM_RDO_Decoder(const std::string &type, const std::string &name, const IInterface *parent)
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Temporary class to hold the MM RDO.
::StatusCode StatusCode
StatusCode definition for legacy code.
const MmIdHelper * m_mmIdHelper
double charge(const T &p)
virtual StatusCode initialize() override final
def time(flags, cells_name, *args, **kw)
std::unique_ptr< MmDigit > getDigit(const EventContext &ctx, const Muon::MM_RawData *data) const override final