8#include "GaudiKernel/MsgStream.h"
28 return StatusCode::SUCCESS;
34 static bool first =
true;
41 ATH_MSG_FATAL (
"Shape object is not of type LArShapeComplete ?!" );
42 return StatusCode::FAILURE;
44 for (
unsigned int k = 0; k < 195073; k++) {
46 for (
int g = 0; g < 3; g++) {
48 if (shapeObj->
nTimeBins(channelID, gain) == 0) {
50 (
"Shape object for channel " << k
56 <<
") and gain " << g <<
" has no shape data!" );
61 return StatusCode::SUCCESS;
67 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