|
ATLAS Offline Software
|
Go to the documentation of this file.
26 if (
sc!=StatusCode::SUCCESS) {
28 <<
m_contKey <<
" from DetectorStore try ConditionsStore" );
33 <<
m_contKey <<
" from ConditionsStore as well" );
34 return StatusCode::FAILURE;
38 NTuple::Item<long> cellIndex;
39 NTuple::Item<float> rinj;
41 sc=
m_nt->addItem(
"icell",cellIndex,0,2000);
42 if (
sc!=StatusCode::SUCCESS)
44 return StatusCode::FAILURE;
48 sc=
m_nt->addItem(
"rinj",rinj,-1000.,2.);
49 if (
sc!=StatusCode::SUCCESS) {
51 return StatusCode::FAILURE;
60 return StatusCode::FAILURE;
68 msg(MSG::ERROR) <<
"Could not get LArOnlineID helper !" <<
endmsg;
69 return StatusCode::FAILURE;
78 unsigned cellCounter=0;
80 if (
cabling->isOnlineConnected(hwid)) {
82 cellIndex = cellCounter;
83 rinj = LArRinj->
Rinj(hwid);
85 if (
sc!=StatusCode::SUCCESS) {
87 return StatusCode::FAILURE;
94 return StatusCode::SUCCESS;
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual const float & Rinj(const HWIdentifier &id) const =0
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*.
id_range channel_range() const
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
::StatusCode StatusCode
StatusCode definition for legacy code.
Helper for the Liquid Argon Calorimeter cell identifiers.
const LArOnlineID_Base * m_onlineId
bool fillFromIdentifier(const HWIdentifier &id)
#define ATH_MSG_WARNING(x)
LArRinj2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
StoreGateSvc * m_detStore
virtual StatusCode stop()