|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   11 #include "eformat/Version.h" 
   12 #include "eformat/index.h" 
   17   m_latomeDecoder (
"LArByteStream/LATOMEDecoder", this) {
 
   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;
 
  
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::Property< std::vector< uint32_t > > m_robList
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.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
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