|
ATLAS Offline Software
|
Go to the documentation of this file.
14 return StatusCode::SUCCESS;
22 return StatusCode::FAILURE;
32 for (
auto& [
hash, collection]: digitMap) {
36 return StatusCode::SUCCESS;
42 if (rdoColl.
empty()) {
43 return StatusCode::SUCCESS;
61 std::unique_ptr<MmDigitCollection>& outCollection = digitContainer[coll_hash];
63 outCollection = std::make_unique<MmDigitCollection>(elementId, coll_hash);
65 outCollection->
push_back(std::move(newDigit));
68 return StatusCode::SUCCESS;
StatusCode decodeMM(const EventContext &ctx, const Muon::MM_RawDataCollection &rdoCollection, DigitCollection &digitContainer) const
char data[hepevt_bytes_allocation_ATLAS]
virtual StatusCode addCollection(const T *coll, IdentifierHash hashId) override final
insert collection into container with id hash if IDC should not take ownership of collection,...
SG::ReadHandleKey< Muon::MM_RawDataContainer > m_mmRdoKey
std::unordered_map< IdentifierHash, std::unique_ptr< MmDigitCollection > > DigitCollection
virtual StatusCode initialize() override final
ToolHandle< Muon::IMM_RDO_Decoder > m_mmRdoDecoderTool
virtual StatusCode execute(const EventContext &ctx) const override final
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteHandleKey< MmDigitContainer > m_mmDigitKey
Temporary class to hold the MM RDO.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
#define ATH_MSG_WARNING(x)
bool isPresent() const
Is the referenced object present in SG?
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
MM_RdoToDigit(const std::string &name, ISvcLocator *pSvcLocator)
size_type size() const noexcept
Returns the number of elements in the collection.
bool empty() const noexcept
Returns true if the collection is empty.