|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include "eformat/Version.h"
13 #include "eformat/index.h"
46 ATH_MSG_FATAL(
"Needs ether Digits or CalibDigits or AccDigits or AccCalibDigit Key");
47 return StatusCode::FAILURE;
51 ATH_MSG_FATAL(
"Could not have both CalibDigits, AccCalibDigits Key");
52 return StatusCode::FAILURE;
65 return StatusCode::SUCCESS;
76 ATH_CHECK(accdigitsHdl.
record(std::make_unique<LArAccumulatedDigitContainer>()));
77 accdigits=accdigitsHdl.
ptr();
83 ATH_CHECK(caccdigitsHdl.
record(std::make_unique<LArAccumulatedCalibDigitContainer>()));
84 caccdigits=caccdigitsHdl.
ptr();
90 ATH_CHECK(latomeHeaderHdl.
record(std::make_unique<LArLATOMEHeaderContainer>()));
91 latome_header_coll = latomeHeaderHdl.
ptr();
92 latome_header_coll->
reserve(120);
100 return StatusCode::FAILURE;
107 return StatusCode::FAILURE;
114 return StatusCode::FAILURE;
121 accdigits, caccdigits,
123 if (
sc != StatusCode::SUCCESS)
124 ATH_MSG_WARNING(
"ERROR LATOMEDecoder tool returned an error. LAr SC containers might be garbage");
127 return StatusCode::SUCCESS;
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
def retrieve(aClass, aKey=None)
const LArOnlineID * m_onlineId
Container class for LArAccumulatedDigit.
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapKey
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
class to provide SC mapping
const std::string & key() const
Return the StoreGate ID for the referenced object.
SG::ReadCondHandleKey< LArLATOMEMapping > m_mapKey
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
StatusCode initialize() override
SG::WriteHandleKey< LArAccumulatedDigitContainer > m_accDigitKey
SG::WriteHandleKey< LArLATOMEHeaderContainer > m_latomeHeaderCollKey
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
SG::WriteHandleKey< LArAccumulatedCalibDigitContainer > m_accCalibDigitKey
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
ServiceHandle< IROBDataProviderSvc > m_robDataProviderSvc
StatusCode initialize(bool used=true)
ToolHandle< LArLATOMEDecoder > m_latomeDecoder
StatusCode execute(const EventContext &ctx) const override
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
#define ATH_MSG_WARNING(x)
Container class for LArAccumulatedCalibDigit.