11#include "eformat/Version.h"
12#include "eformat/index.h"
47 return StatusCode::SUCCESS;
62 adc_coll = adcHdl.
ptr();
69 adc_bas_coll = adcBasHdl.
ptr();
76 et_coll = etHdl.
ptr();
83 et_id_coll = etIdHdl.
ptr();
89 ATH_CHECK(latomeHeaderHdl.
record(std::make_unique<LArLATOMEHeaderContainer>()));
90 latome_header_coll = latomeHeaderHdl.
ptr();
91 latome_header_coll->
reserve(1000);
93 if (
m_robList.empty() )
return StatusCode::SUCCESS;
100 return StatusCode::FAILURE;
106 std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*> robFrags;
112 adc_coll, adc_bas_coll, et_coll, et_id_coll,
114 if (
sc != StatusCode::SUCCESS)
115 ATH_MSG_WARNING(
"ERROR LATOMEDecoder tool returned an error. LAr SC containers might be garbage");
117 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
const ServiceHandle< StoreGateSvc > & detStore() const
An algorithm that can be simultaneously executed in multiple threads.
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
Container class for LArDigit.
class to provide SC mapping
Container class for LArRawSC.
SG::ReadCondHandleKey< LArLATOMEMapping > m_mapKey
SG::WriteHandleKey< LArDigitContainer > m_adcBasCollKey
StatusCode execute(const EventContext &ctx) const override
SG::WriteHandleKey< LArDigitContainer > m_adcCollKey
Gaudi::Property< std::vector< uint32_t > > m_robList
ServiceHandle< IROBDataProviderSvc > m_robDataProviderSvc
StatusCode initialize() override
const LArOnlineID * m_onlineId
SG::WriteHandleKey< LArRawSCContainer > m_etCollKey
SG::WriteHandleKey< LArRawSCContainer > m_etIdCollKey
ToolHandle< LArLATOMEDecoder > m_latomeDecoder
SG::WriteHandleKey< LArLATOMEHeaderContainer > m_latomeHeaderCollKey
LArRawSCDataReadingAlg(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
pointer_type ptr()
Dereference the pointer.