|
ATLAS Offline Software
|
Go to the documentation of this file.
34 const EventContext& ctx = Gaudi::Hive::currentContext();
37 NTuple::Item<float> timeOffset, phasetime;
38 NTuple::Array<float> Shape, ShapeDer;
58 larShape=larShapeComplete;
66 larShape=*shapeHandle;
83 return StatusCode::FAILURE;
87 unsigned cellCounter=0;
92 if (!
cabling->isOnlineConnected(chid))
continue;
94 if (larShapeComplete) nPhase=larShapeComplete->
nTimeBins(chid,
gain);
95 for (
unsigned iphase=0;iphase<nPhase;iphase++) {
103 Shape[
k] = shape[
k] ;
104 ShapeDer[
k] = shapeder[
k] ;
106 if (larShapeComplete) {
109 phase = (long)iphase ;
118 ATH_MSG_INFO(
"Total number of cells = " << cellCounter );
120 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
virtual float timeBinWidth(const HWIdentifier &CellID, int gain) const
LArShape2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode stop()
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual ShapeRef_t ShapeDer(const HWIdentifier &id, int gain, int tbin=0, int mode=0) const =0
This class implements the ILArShape interface.
#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.
id_range channel_range() const
virtual float timeOffset(const HWIdentifier &CellID, int gain) const
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadCondHandleKey< ILArShape > m_contKey
virtual unsigned nTimeBins(const HWIdentifier &CellID, int gain) const
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
std::string channel_name(const HWIdentifier id) const
Return a string corresponding to a feedthrough name given an identifier.
Proxy for accessing a range of float values like a vector.
virtual ShapeRef_t Shape(const HWIdentifier &id, int gain, int tbin=0, int mode=0) const =0