|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "CoralBase/Blob.h"
26 return StatusCode::SUCCESS;
35 if (writeHandle.isValid()) {
37 return StatusCode::SUCCESS;
42 writeHandle.addDependency(readHandle);
45 ATH_MSG_WARNING(
" Cannot find /LAR/IdentifierOfl/HVLineToElectrodeMap from database, Use ASCII file indeed !!!");
57 std::unique_ptr<LArHVIdMapping> HVIdMap = std::make_unique<LArHVIdMapping>(calocellID, hvlineID, electrodeID);
69 if(writeHandle.record(std::move(HVIdMap)).isFailure()) {
70 ATH_MSG_ERROR(
"Could not record LArCalibLineMapping object with "
72 <<
" with EventRange " << writeHandle.getRange()
73 <<
" into Conditions Store");
74 return StatusCode::FAILURE;
77 ATH_MSG_INFO(
"recorded new " << writeHandle.key() <<
" with range " << writeHandle.getRange() <<
" into Conditions Store");
80 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
std::map< HWIdentifier, HWIdentifier > m_electrode_hvline_map
virtual StatusCode execute() override
std::map< HWIdentifier, std::vector< HWIdentifier > > m_hvline_electrode_map
Helper for the Liquid Argon Calorimeter cell at the electrode level.
Helper to read HV ID mapping data from a file or conditions.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
SG::WriteCondHandleKey< LArHVIdMapping > m_writeKey
Helper to read HV ID mapping data from a file or conditions.
::StatusCode StatusCode
StatusCode definition for legacy code.
An AttributeList represents a logical row of attributes in a metadata table. The name and type of eac...
Helper class for offline cell identifiers.
StatusCode initialize(bool used=true)
SG::ReadCondHandleKey< AthenaAttributeList > m_readKey
#define ATH_MSG_WARNING(x)
virtual StatusCode initialize() override
reader
read the goodrunslist xml file(s)
Helper for the Liquid Argon Calorimeter High-Voltage identifiers.