|
ATLAS Offline Software
|
Go to the documentation of this file.
18 m_ntpath=
"/NTUPLES/FILE1/CaloCondBlob";
45 NTuple::Item<float>
value;
47 if (
sc!=StatusCode::SUCCESS) {
49 return StatusCode::FAILURE;
62 return StatusCode::SUCCESS;
73 return StatusCode::FAILURE;
80 return StatusCode::FAILURE;
83 const unsigned nChans=condBlob->
getNChans();
87 for(
unsigned h=0;
h<nChans;++
h) {
95 if (
sc!=StatusCode::SUCCESS) {
97 return StatusCode::FAILURE;
102 return StatusCode::SUCCESS;
T getData(const unsigned int channel, const unsigned int adc, const unsigned int idx) const
Returns a single T belonging to a channel/gain.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
StatusCode retrieve(const T *&ptr) const
Retrieve the default object into a const T*.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
::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...
CaloCondBlob2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
Helper class for offline cell identifiers.
uint32_t getNGains() const
Returns the number of gains stored for each channel.
bool fillFromIdentifier(const HWIdentifier &id)
static CaloCondBlobFlt * getInstance(coral::Blob &blob)
Returns a pointer to a non-const CaloCondBlobFlt.
#define ATH_MSG_WARNING(x)
StoreGateSvc * m_detStore
uint32_t getNChans() const
Returns the number of channels stored in the BLOB.