6#include "GaudiKernel/MsgStream.h"
13 ISvcLocator * pSvcLocator) :
30 return StatusCode::SUCCESS;
38 std::ostream *out = &(std::cout);
39 std::ofstream outfile;
41 outfile.open(
m_fileName.c_str(),std::ios::out);
42 if (outfile.is_open()) {
52 (*out) <<
"Chan: 0x" << std::hex <<
id.get_compact() <<
": " << bc.
packedData() << std::dec << std::endl;
56 if (outfile.is_open())
58 return StatusCode::SUCCESS;
61 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