16 declareInterface<HistoGroupBase>(
this);
25 return StatusCode::SUCCESS;
52 if(
h ==
nullptr )
return;
57 std::string prefix=
"";
60 std::replace( prefix.begin(), prefix.end(),
'/',
'_');
62 h->SetName( (prefix+
h->GetName()).c_str() );
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Header file for AthHistogramAlgorithm.
std::string m_histoDir
The path where histos in this group leave.
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
const std::vector< HistData > & bookedHistograms()
return all the histos in this group
bool m_prefixedHistoName
true if the histo name should contain the full hierarchy path
virtual int buildHistos()
virtual void renameAndRegister(TH1 *h, const std::string &subD="", Interval_t ityp=useToolInterval)
Rename an histo according to the tool's path.
std::vector< HistData > m_vBookedHistograms
The list of histos in this group.
int m_monIntervalType
when used in Athena monitoring context, the histos of this group will have this type of interval
virtual void prefixHistoDir(const std::string &preDir)
allows a higher level tool to put the histos in this group as a sub-dir of 'preDir'
Interval_t
Redefinition of fill intervals as in ManagedMonitorToolBase.
virtual int finalizeHistos()
HistoGroupBase(const std::string &t)