|
ATLAS Offline Software
|
Go to the documentation of this file.
27 if (
sc!=StatusCode::SUCCESS) {
30 return StatusCode::FAILURE;
33 NTuple::Item<long> cellIndex,
gain;
34 NTuple::Item<float>
noise;
36 sc=
m_nt->addItem(
"icell",cellIndex,0,2000);
37 if (
sc!=StatusCode::SUCCESS)
39 return StatusCode::FAILURE;
43 if (
sc!=StatusCode::SUCCESS)
45 return StatusCode::FAILURE;
50 if (
sc!=StatusCode::SUCCESS)
52 return StatusCode::FAILURE;
59 return StatusCode::FAILURE;
62 unsigned cellCounter=0;
65 if (
cabling->isOnlineConnected(hwid)) {
67 cellIndex = cellCounter;
71 if (
sc!=StatusCode::SUCCESS) {
73 return StatusCode::FAILURE;
81 return StatusCode::SUCCESS;
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
StatusCode retrieve(const T *&ptr) const
Retrieve the default object into a const T*.
id_range channel_range() const
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
::StatusCode StatusCode
StatusCode definition for legacy code.
LArNoise2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
virtual const float & noise(const HWIdentifier &id, int gain) const =0
const LArOnlineID_Base * m_onlineId
bool fillFromIdentifier(const HWIdentifier &id)
#define ATH_MSG_WARNING(x)
StoreGateSvc * m_detStore
virtual StatusCode stop()