|
ATLAS Offline Software
|
Go to the documentation of this file.
37 NTuple::Item<long> cellIndex;
38 NTuple::Item<float> fsampl;
40 sc=
m_nt->addItem(
"icell",cellIndex,0,2000);
41 if (
sc!=StatusCode::SUCCESS)
43 return StatusCode::FAILURE;
46 sc=
m_nt->addItem(
"fsampl",fsampl);
47 if (
sc!=StatusCode::SUCCESS)
49 return StatusCode::FAILURE;
56 return StatusCode::FAILURE;
59 unsigned cellCounter=0;
61 if (
cabling->isOnlineConnected(hwid)) {
63 cellIndex = cellCounter;
64 fsampl = larfSampl->
FSAMPL(hwid);
66 if (
sc!=StatusCode::SUCCESS) {
68 return StatusCode::FAILURE;
75 return StatusCode::SUCCESS;
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.
id_range channel_range() const
virtual StatusCode stop()
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual const float & FSAMPL(const HWIdentifier &id) const =0
LArfSampl2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode initialize(bool used=true)
const LArOnlineID_Base * m_onlineId
bool fillFromIdentifier(const HWIdentifier &id)
#define ATH_MSG_WARNING(x)
SG::ReadCondHandleKey< ILArfSampl > m_contKey