9 const std::string& name,
10 const IInterface* parent ):
39 jtool->prefixHistoDir( prefix );
41 return StatusCode::SUCCESS;
53 if( jtool->buildHistos() != 0 )
continue;
56 const auto & hdata = jtool->bookedHistograms();
58 for(
const auto& hd : hdata){
59 ATH_MSG_DEBUG (
"Initializing " << hd.hist <<
" name= "<< hd.hist->GetName() <<
" path=" << hd.path <<
"..." << hd.interval <<
" dir="<<hd.hist->GetDirectory());
61 ATH_MSG_DEBUG (
" -->> "<< hd.hist->GetName() <<
" dir="<<hd.hist->GetDirectory() <<
" "<< hd.hist->kCanDelete );
65 return StatusCode::SUCCESS;
75 count += jtool->fillHistos();
78 return count==0 ? StatusCode::SUCCESS : StatusCode::FAILURE ;
85 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define CHECK(...)
Evaluate an expression and check for errors.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
A base class for dual-use tools managing and filling a list of histograms.
Interval_t
Redefinition of fill intervals as in ManagedMonitorToolBase.
int count(std::string s, const std::string ®x)
count how many occurances of a regx are in a string