23#include "GaudiKernel/MsgStream.h"
80 return StatusCode::SUCCESS;
100 return StatusCode::FAILURE;
103 LArRawChannelContainer::const_iterator it1 = LArRaw->begin();
104 LArRawChannelContainer::const_iterator it2 = LArRaw->end();
105 for(; it1!=it2; ++it1){
108 if(cabling->isOnlineConnected(ch_id))
109 m_outFile <<
"LArRawChannelDump: 0x" << std::hex << ch_id.
get_compact() << std::dec <<
" E=" << it1->energy()
110 <<
" t=" << it1->time() <<
" g=" << (int)it1->gain() <<
" Q=" << it1->quality() << std::endl;
113 if(emax<it1->energy() ) {
118 <<
" Pos_neg : " <<
m_onlineID->pos_neg(ch_id)
119 <<
" FeedThrough no. : " <<
m_onlineID->feedthrough(ch_id)
121 <<
" channel no. : " <<
m_onlineID->channel(ch_id)
126 <<
"; Chi-Square = " << it1->quality() );
131 return StatusCode::SUCCESS;
142 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
const ServiceHandle< StoreGateSvc > & detStore() const
Helper class for offline cell identifiers.
const LArEM_ID * em_idHelper() const
access to EM idHelper
std::string getString() const
Provide a string form of the identifier - hexadecimal.
value_type get_compact() const
Get the compact id.
Container for LArRawChannel (IDC using LArRawChannelCollection)
std::string m_ChannelContainerName
virtual StatusCode execute()
virtual StatusCode finalize()
ReadLArRaw(const std::string &name, ISvcLocator *pSvcLocator)
const LArEM_ID * m_larem_id
const LArOnlineID * m_onlineID
virtual StatusCode initialize()
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey