|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef LARROD_LARRAWCHANNELBUILDERTOOLBASECLASS
6 #define LARROD_LARRAWCHANNELBUILDERTOOLBASECLASS
8 #include "GaudiKernel/MsgStream.h"
18 const std::string&
name,
40 log << MSG::INFO <<
"Printing Summary for tool " <<
name() <<
" :" <<
endmsg;
42 << std::setw(40) <<
" " <<
" : "
43 << std::setw(12) <<
" total "
44 << std::setw(10) <<
" percent " <<
" "
45 << std::setw(12) <<
" per event "
46 << std::setw(12) <<
" RMS "
49 double inv_sum =
sum > 0 ? 1./
sum : 1;
52 double fraction = 0.0;
53 double perEvent = 0.0;
54 double rmsPerEv = 0.0;
61 rmsPerEv = sqrt(
std::max(0.,rmsPerEv-perEvent*perEvent));
71 << std::setprecision(4)
76 << std::setprecision(4)
80 << std::setprecision(4)
111 ATH_MSG_INFO(
"Cabling exception was caught for channel 0x!"
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
ulonglong returnErrorCount(unsigned int nerr)
msgSvc
Provide convenience handles for various services.
ulonglong returnErrorCountSqPerEvent(unsigned int nerr)
unsigned long returnEvents() const
ulonglong returnErrorCountPerEvent(unsigned int nerr)
void resetErrorcountPerEvent()
unsigned int returnMaxErrors() const
value_type get_compact(void) const
Get the compact id.
std::string returnErrorString(unsigned int nerr)
Exception class for LAr Identifiers.