|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #include "eformat/Version.h"
14 #include "eformat/index.h"
19 m_latomeDecoder (
"LArByteStream/LATOMEDecoder", this) {
49 return StatusCode::SUCCESS;
64 adc_coll = adcHdl.
ptr();
71 adc_bas_coll = adcBasHdl.
ptr();
78 et_coll = etHdl.
ptr();
85 et_id_coll = etIdHdl.
ptr();
91 ATH_CHECK(latomeHeaderHdl.
record(std::make_unique<LArLATOMEHeaderContainer>()));
92 latome_header_coll = latomeHeaderHdl.
ptr();
93 latome_header_coll->
reserve(1000);
101 return StatusCode::FAILURE;
106 std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*> robFrags;
111 adc_coll, adc_bas_coll, et_coll, et_id_coll,
113 if (
sc != StatusCode::SUCCESS)
114 ATH_MSG_WARNING(
"ERROR LATOMEDecoder tool returned an error. LAr SC containers might be garbage");
116 return StatusCode::SUCCESS;
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
def retrieve(aClass, aKey=None)
SG::WriteHandleKey< LArDigitContainer > m_adcBasCollKey
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Container class for LArRawSC.
ToolHandle< LArLATOMEDecoder > m_latomeDecoder
LArRawSCDataReadingAlg(const std::string &name, ISvcLocator *pSvcLocator)
class to provide SC mapping
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool empty() const
Test if the key is blank.
const LArOnlineID * m_onlineId
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
An algorithm that can be simultaneously executed in multiple threads.
StatusCode initialize() override
SG::WriteHandleKey< LArDigitContainer > m_adcCollKey
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
StatusCode execute(const EventContext &ctx) const override
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::ReadCondHandleKey< LArLATOMEMapping > m_mapKey
SG::WriteHandleKey< LArRawSCContainer > m_etIdCollKey
StatusCode initialize(bool used=true)
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
#define ATH_MSG_WARNING(x)
Container class for LArDigit.
SG::WriteHandleKey< LArRawSCContainer > m_etCollKey
ServiceHandle< IROBDataProviderSvc > m_robDataProviderSvc
SG::WriteHandleKey< LArLATOMEHeaderContainer > m_latomeHeaderCollKey