8#include "GaudiKernel/MsgStream.h"
29 return StatusCode::SUCCESS;
35 static bool first =
true;
40 return StatusCode::FAILURE;
44 ATH_MSG_FATAL (
"Shape object is not of type LArShapeComplete ?!" );
45 return StatusCode::FAILURE;
47 for (
unsigned int k = 0; k < 195073; k++) {
49 for (
int g = 0; g < 3; g++) {
51 if (shapeObj->
nTimeBins(channelID, gain) == 0) {
53 (
"Shape object for channel " << k
59 <<
") and gain " << g <<
" has no shape data!" );
64 return StatusCode::SUCCESS;
70 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
const ServiceHandle< StoreGateSvc > & detStore() const
This is a "hash" representation of an Identifier.
This class implements the ILArShape interface.
virtual unsigned nTimeBins(const HWIdentifier &CellID, int gain) const
LArSimpleShapeDumper(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
virtual StatusCode finalize() override
virtual StatusCode execute() override
const LArOnlineID * m_onlineHelper
const DataHandle< ILArShape > m_shape