6#include "GaudiKernel/MsgStream.h"
7#include "GaudiKernel/ThreadLocalContext.h"
14 ISvcLocator * pSvcLocator) :
31 return StatusCode::SUCCESS;
39 std::ostream *out = &(std::cout);
40 std::ofstream outfile;
42 outfile.open(
m_fileName.c_str(),std::ios::out);
43 if (outfile.is_open()) {
51 const EventContext& ctx = Gaudi::Hive::currentContext();
54 (*out) <<
"Chan: 0x" << std::hex <<
id.get_compact() <<
": " << bc.
packedData() << std::dec << std::endl;
58 if (outfile.is_open())
60 return StatusCode::SUCCESS;
63 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
const ServiceHandle< StoreGateSvc > & detStore() const
BitWord packedData() const
DumpCaloBadChannels(const std::string &name, ISvcLocator *pSvcLocator)
const CaloCell_ID * m_cellID
ToolHandle< ICaloBadChanTool > m_caloBCT