11 const std::string& name,
12 const IInterface* parent) :
13 base_class (
type, name, parent) {}
20 return StatusCode::SUCCESS;
26 const EventContext& ctx)
const {
32 const coral::Blob& blob = (**eneShiftHdl)[
"CaloCondBlob16M"].data<coral::Blob>();
35 return StatusCode::SUCCESS;
39 ATH_MSG_DEBUG(
"Database folder has values for " << corrValues->getNChans() <<
" channels and " << corrValues->getNGains() <<
" gains.");
47 if (hash_id<corrValues->getNChans()) {
48 const float& scale= corrValues->getData(hash_id);
52 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Container class for CaloCell.
SG::ReadCondHandleKey< AthenaAttributeList > m_eneShiftFldr
~CaloCellEnergyRescaler()
virtual StatusCode process(CaloCellContainer *theCellContainer, const EventContext &ctx) const override
CaloCellEnergyRescaler(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize() override
Data object for each calorimeter readout cell.
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
virtual void scaleEnergy(float scale)
scale energy
static CaloCondBlobFlt * getInstance(coral::Blob &blob)
Returns a pointer to a non-const CaloCondBlobFlt.
IdentifierHash calo_hash() const
cell calo hash
DataModel_detail::iterator< DataVector > iterator
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
This is a "hash" representation of an Identifier.