Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
19 if (
sc!=StatusCode::SUCCESS) {
21 <<
m_contKey <<
" from DetectorStore try ConditionsStore" );
28 <<
m_contKey <<
" from ConditionsStore as well" );
29 return StatusCode::FAILURE;
33 NTuple::Item<long> cellIndex;
34 NTuple::Item<float> rinj;
36 sc=
m_nt->addItem(
"icell",cellIndex,0,2000);
37 if (
sc!=StatusCode::SUCCESS)
39 return StatusCode::FAILURE;
43 sc=
m_nt->addItem(
"rinj",rinj,-1000.,2.);
44 if (
sc!=StatusCode::SUCCESS) {
46 return StatusCode::FAILURE;
55 return StatusCode::FAILURE;
63 msg(MSG::ERROR) <<
"Could not get LArOnlineID helper !" <<
endmsg;
64 return StatusCode::FAILURE;
73 unsigned cellCounter=0;
75 if (
cabling->isOnlineConnected(hwid)) {
77 cellIndex = cellCounter;
78 rinj = LArRinj->
Rinj(hwid);
80 if (
sc!=StatusCode::SUCCESS) {
82 return StatusCode::FAILURE;
89 return StatusCode::SUCCESS;
virtual StatusCode stop() override
SG::ReadCondHandleKey< LArRinjComplete > m_contKey
virtual const float & Rinj(const HWIdentifier &id) const =0
const std::string & key() const
Return the StoreGate ID for the referenced object.
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.
StatusCode initialize(bool used=true)
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