|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "GaudiKernel/ThreadLocalContext.h"
23 m_ntTitle=
"Optimal Filtering Coefficients";
29 return StatusCode::SUCCESS;
33 const EventContext& ctx = Gaudi::Hive::currentContext();
37 NTuple::Item<float> timeOffset, phasetime;
38 NTuple::Array<float> OFCa, OFCb;
57 larOFC=larOFCHdl.
cptr();
73 return StatusCode::FAILURE;
76 unsigned cellCounter=0;
84 if ( !
cabling->isOnlineConnected(chid))
continue;
86 << chid.get_compact() << MSG::dec );
87 for (
unsigned iphase=0;iphase<larOFC->
nTimeBins(chid,
igain);iphase++) {
90 if (!ofc_a.size())
break;
94 phase = (long)iphase ;
110 ATH_MSG_INFO(
"Total number of cells = " << cellCounter );
112 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
SG::ReadCondHandleKey< ILArOFC > m_ofcKey
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual OFCRef_t OFC_b(const HWIdentifier &id, int gain, int tbin=0) const =0
virtual StatusCode initialize() override
virtual StatusCode stop() override
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingSCKey
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual float timeOffset(const HWIdentifier &CellID, int gain) const =0
id_range channel_range() const
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual float timeBinWidth(const HWIdentifier &CellID, int gain) const =0
StatusCode initialize(bool used=true)
const LArOnlineID_Base * m_onlineId
bool fillFromIdentifier(const HWIdentifier &id)
#define ATH_MSG_WARNING(x)
Gaudi::Property< bool > m_isSC
LArOFC2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
virtual OFCRef_t OFC_a(const HWIdentifier &id, int gain, int tbin=0) const =0
access to OFCs by online ID, gain, and tbin (!=0 for testbeam)
virtual unsigned nTimeBins(const HWIdentifier &CellID, int gain) const =0
Proxy for accessing a range of float values like a vector.
const_pointer_type cptr()