2 #ifndef RIVET_HistoHandler_HH
3 #define RIVET_HistoHandler_HH
5 #include "Rivet/Rivet.hh"
6 #include "Rivet/Tools/Logging.fhh"
7 #include "Rivet/Analysis.fhh"
64 const AnalysisObject& histo,
73 const string& name)
const {
74 return _getAnalysisObject(parent, name);
81 return _getAnalysisObject(parent, name);
94 AnalysisObject* _getAnalysisObject(
const Analysis& parent,
95 const string& name)
const;
104 typedef const AnalysisObject* HistoHandle;
107 typedef vector<HistoHandle> HistoHandles;
111 typedef map<const string, HistoHandle> NamedHistos;
114 typedef map<const Analysis*, NamedHistos> NamedHistosMap;
117 NamedHistosMap _namedhistos;