|
ATLAS Offline Software
|
Go to the documentation of this file.
36 larPedestal = *pedHandle;
39 if (larPedestal==
nullptr) {
42 return StatusCode::FAILURE;
45 NTuple::Item<long> cellIndex,
gain;
46 NTuple::Item<double>
ped;
47 NTuple::Item<double>
rms;
51 if (
sc!=StatusCode::SUCCESS)
53 return StatusCode::FAILURE;
57 if (
sc!=StatusCode::SUCCESS) {
59 return StatusCode::FAILURE;
64 if (
sc!=StatusCode::SUCCESS) {
66 return StatusCode::FAILURE;
70 if (
sc!=StatusCode::SUCCESS) {
72 return StatusCode::FAILURE;
76 unsigned cellCounter=0;
84 cellIndex = cellCounter;
91 if (
sc!=StatusCode::SUCCESS) {
93 return StatusCode::FAILURE;
101 return StatusCode::SUCCESS;
virtual float pedestal(const HWIdentifier &id, int gain) const =0
LArPedestals2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadCondHandleKey< ILArPedestal > m_pedKey
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
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
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode stop()
StatusCode initialize(bool used=true)
const LArOnlineID_Base * m_onlineId
bool fillFromIdentifier(const HWIdentifier &id)
Gaudi::Property< bool > m_isSC
virtual float pedestalRMS(const HWIdentifier &id, int gain) const =0
access to RMS of Pedestal index by Identifier, and gain setting