ATLAS Offline Software
|
HLT online histogram service. More...
#include <TrigMonTHistSvc.h>
Classes | |
struct | THistID |
Helper struct that bundles the histogram, name and mutex. More... | |
Public Member Functions | |
TrigMonTHistSvc (const std::string &name, ISvcLocator *svc) | |
virtual StatusCode initialize | ATLAS_NOT_THREAD_SAFE () override |
virtual StatusCode | stop () override |
virtual StatusCode | finalize () override |
virtual StatusCode | regHist (const std::string &name) override |
virtual StatusCode | regHist (const std::string &name, std::unique_ptr< TH1 > hist) override |
virtual StatusCode | regHist (const std::string &name, TH1 *) override |
virtual StatusCode | getHist (const std::string &id, TH1 *&hist, size_t ind) const override |
virtual StatusCode | getHist (const std::string &id, TH2 *&hist, size_t ind) const override |
virtual StatusCode | getHist (const std::string &id, TH3 *&hist, size_t ind) const override |
virtual StatusCode | deReg (TObject *obj) override |
virtual StatusCode | deReg (const std::string &name) override |
virtual std::vector< std::string > | getHists () const override |
virtual StatusCode | regShared (const std::string &, std::unique_ptr< TH1 >, LockedHandle< TH1 > &) override |
virtual StatusCode | regShared (const std::string &, std::unique_ptr< TH2 >, LockedHandle< TH2 > &) override |
virtual StatusCode | regShared (const std::string &, std::unique_ptr< TH3 >, LockedHandle< TH3 > &) override |
virtual StatusCode | getShared (const std::string &, LockedHandle< TH1 > &) const override |
virtual StatusCode | getShared (const std::string &, LockedHandle< TH2 > &) const override |
virtual StatusCode | getShared (const std::string &, LockedHandle< TH3 > &) const override |
virtual StatusCode | getTHists (TDirectory *td, TList &, bool recurse=false) const override |
virtual StatusCode | getTHists (const std::string &name, TList &, bool recurse=false) const override |
virtual StatusCode | getTHists (TDirectory *td, TList &tl, bool recurse=false, bool reg=false) override |
virtual StatusCode | getTHists (const std::string &name, TList &tl, bool recurse=false, bool reg=false) override |
virtual bool | exists (const std::string &name) const override |
virtual bool | existsHist (const std::string &name) const override |
virtual StatusCode | regTree (const std::string &) override |
virtual StatusCode | regTree (const std::string &, std::unique_ptr< TTree >) override |
virtual StatusCode | regTree (const std::string &, TTree *) override |
virtual StatusCode | getTree (const std::string &, TTree *&) const override |
virtual std::vector< std::string > | getTrees () const override |
virtual StatusCode | getTTrees (TDirectory *, TList &, bool) const override |
virtual StatusCode | getTTrees (const std::string &, TList &, bool) const override |
virtual StatusCode | getTTrees (TDirectory *, TList &, bool, bool) override |
virtual StatusCode | getTTrees (const std::string &, TList &, bool, bool) override |
virtual StatusCode | regGraph (const std::string &) override |
virtual StatusCode | regGraph (const std::string &, std::unique_ptr< TGraph >) override |
virtual StatusCode | regGraph (const std::string &, TGraph *) override |
virtual std::vector< std::string > | getGraphs () const override |
virtual StatusCode | getGraph (const std::string &, TGraph *&) const override |
virtual StatusCode | regEfficiency (const std::string &) override |
virtual StatusCode | regEfficiency (const std::string &, std::unique_ptr< TEfficiency >) override |
virtual StatusCode | regEfficiency (const std::string &, TEfficiency *) override |
virtual StatusCode | getEfficiency (const std::string &, TEfficiency *&) const override |
virtual std::vector< std::string > | getEfficiencies () const override |
virtual StatusCode | getTEfficiencies (TDirectory *, TList &, bool) const override |
virtual StatusCode | getTEfficiencies (const std::string &, TList &, bool) const override |
virtual StatusCode | getTEfficiencies (TDirectory *, TList &, bool, bool) override |
virtual StatusCode | getTEfficiencies (const std::string &, TList &, bool, bool) override |
virtual StatusCode | regShared (const std::string &, std::unique_ptr< TGraph >, LockedHandle< TGraph > &) override |
virtual StatusCode | getShared (const std::string &, LockedHandle< TGraph > &) const override |
virtual StatusCode | regShared (const std::string &, std::unique_ptr< TEfficiency >, LockedHandle< TEfficiency > &) override |
virtual StatusCode | getShared (const std::string &, LockedHandle< TEfficiency > &) const override |
virtual StatusCode | merge (const std::string &) override |
virtual StatusCode | merge (TObject *) override |
virtual bool | existsTree (const std::string &) const override |
virtual bool | existsGraph (const std::string &) const override |
virtual bool | existsEfficiency (const std::string &) const override |
Private Member Functions | |
bool | isObjectAllowed (const std::string &path, const TObject *o) const |
Does the histogram follow the naming rules ? More... | |
StatusCode | getTHists_i (const std::string &name, TList &) const |
Get TList of registered histograms. More... | |
template<typename T > | |
StatusCode | regHist_i (std::unique_ptr< T > hist, const std::string &name, bool shared, THistID *&phid) |
template<typename T > | |
T * | getHist_i (const std::string &id, const size_t &ind, bool quiet=false) const |
template<typename T > | |
LockedHandle< T > | regShared_i (const std::string &id, std::unique_ptr< T > hist) |
template<typename T > | |
LockedHandle< T > | getShared_i (const std::string &id) const |
Private Attributes | |
std::unordered_map< std::string, THistID > | m_hists |
Registered histograms. More... | |
Gaudi::Property< std::string > | m_excludeType {this, "ExcludeType", "()"} |
Gaudi::Property< std::string > | m_includeType {this, "IncludeType", ".+"} |
Gaudi::Property< std::string > | m_excludeName {this, "ExcludeName", ".*\\..*"} |
Gaudi::Property< std::string > | m_includeName |
Gaudi::Property< int > | m_autoSave {this, "AutoSave", 0, "Not supported by TrigMonTHistSvc"} |
Gaudi::Property< int > | m_autoFlush {this, "AutoFlush", 0, "Not supported by TrigMonTHistSvc"} |
Gaudi::Property< bool > | m_print {this, "PrintAll", false, "Not supported by TrigMonTHistSvc"} |
Gaudi::Property< int > | m_maxFileSize {this, "MaxFileSize", 10240, "Not supported by TrigMonTHistSvc"} |
Gaudi::Property< std::vector< std::string > > | m_outputfile {this, "Output", {}, "Not supported by TrigMonTHistSvc"} |
Gaudi::Property< std::vector< std::string > > | m_inputfile {this, "Input", {}, "Not supported by TrigMonTHistSvc"} |
boost::regex | m_excludeTypeRegex |
boost::regex | m_includeTypeRegex |
boost::regex | m_excludeNameRegex |
boost::regex | m_includeNameRegex |
std::recursive_mutex | m_svcMut |
Protect access to histogram list. More... | |
HLT online histogram service.
The main difference to the offline THistSvc are:
Definition at line 43 of file TrigMonTHistSvc.h.
TrigMonTHistSvc::TrigMonTHistSvc | ( | const std::string & | name, |
ISvcLocator * | svc | ||
) |
Definition at line 23 of file TrigMonTHistSvc.cxx.
|
overridevirtual |
|
overridevirtual |
Definition at line 213 of file TrigMonTHistSvc.cxx.
|
overridevirtual |
Definition at line 199 of file TrigMonTHistSvc.cxx.
|
inlineoverridevirtual |
Definition at line 76 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 118 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 117 of file TrigMonTHistSvc.h.
|
overridevirtual |
Definition at line 261 of file TrigMonTHistSvc.cxx.
|
inlineoverridevirtual |
Definition at line 116 of file TrigMonTHistSvc.h.
|
overridevirtual |
Definition at line 59 of file TrigMonTHistSvc.cxx.
|
inlineoverridevirtual |
Definition at line 101 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 100 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 95 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 94 of file TrigMonTHistSvc.h.
|
overridevirtual |
Definition at line 292 of file TrigMonTHistSvc.cxx.
|
overridevirtual |
Definition at line 298 of file TrigMonTHistSvc.cxx.
|
overridevirtual |
Definition at line 304 of file TrigMonTHistSvc.cxx.
|
private |
Definition at line 144 of file TrigMonTHistSvc.cxx.
|
overridevirtual |
|
inlineoverridevirtual |
Definition at line 111 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 109 of file TrigMonTHistSvc.h.
|
overridevirtual |
Definition at line 365 of file TrigMonTHistSvc.cxx.
|
overridevirtual |
Definition at line 371 of file TrigMonTHistSvc.cxx.
|
overridevirtual |
Definition at line 377 of file TrigMonTHistSvc.cxx.
|
private |
Definition at line 176 of file TrigMonTHistSvc.cxx.
|
inlineoverridevirtual |
Definition at line 104 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 106 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 103 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 105 of file TrigMonTHistSvc.h.
|
overridevirtual |
Definition at line 318 of file TrigMonTHistSvc.cxx.
|
overridevirtual |
Definition at line 332 of file TrigMonTHistSvc.cxx.
|
overridevirtual |
Definition at line 312 of file TrigMonTHistSvc.cxx.
|
overridevirtual |
Definition at line 324 of file TrigMonTHistSvc.cxx.
|
private |
Get TList of registered histograms.
Definition at line 164 of file TrigMonTHistSvc.cxx.
|
inlineoverridevirtual |
Definition at line 83 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 85 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 87 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 89 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 86 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 88 of file TrigMonTHistSvc.h.
Does the histogram follow the naming rules ?
Definition at line 232 of file TrigMonTHistSvc.cxx.
|
inlineoverridevirtual |
Definition at line 113 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 114 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 97 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 98 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 99 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 91 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 92 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 93 of file TrigMonTHistSvc.h.
|
overridevirtual |
Definition at line 270 of file TrigMonTHistSvc.cxx.
|
overridevirtual |
Definition at line 277 of file TrigMonTHistSvc.cxx.
|
overridevirtual |
Definition at line 283 of file TrigMonTHistSvc.cxx.
|
private |
Definition at line 69 of file TrigMonTHistSvc.cxx.
|
inlineoverridevirtual |
Definition at line 110 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 108 of file TrigMonTHistSvc.h.
|
overridevirtual |
Definition at line 342 of file TrigMonTHistSvc.cxx.
|
overridevirtual |
Definition at line 349 of file TrigMonTHistSvc.cxx.
|
overridevirtual |
Definition at line 356 of file TrigMonTHistSvc.cxx.
|
private |
Definition at line 108 of file TrigMonTHistSvc.cxx.
|
inlineoverridevirtual |
Definition at line 80 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 81 of file TrigMonTHistSvc.h.
|
inlineoverridevirtual |
Definition at line 82 of file TrigMonTHistSvc.h.
|
overridevirtual |
Definition at line 51 of file TrigMonTHistSvc.cxx.
|
private |
Definition at line 154 of file TrigMonTHistSvc.h.
|
private |
Definition at line 153 of file TrigMonTHistSvc.h.
|
private |
Definition at line 148 of file TrigMonTHistSvc.h.
|
private |
Definition at line 163 of file TrigMonTHistSvc.h.
|
private |
Definition at line 146 of file TrigMonTHistSvc.h.
|
private |
Definition at line 161 of file TrigMonTHistSvc.h.
|
private |
Registered histograms.
Definition at line 131 of file TrigMonTHistSvc.h.
|
private |
Definition at line 149 of file TrigMonTHistSvc.h.
|
private |
Definition at line 164 of file TrigMonTHistSvc.h.
|
private |
Definition at line 147 of file TrigMonTHistSvc.h.
|
private |
Definition at line 162 of file TrigMonTHistSvc.h.
|
private |
Definition at line 158 of file TrigMonTHistSvc.h.
|
private |
Definition at line 156 of file TrigMonTHistSvc.h.
|
private |
Definition at line 157 of file TrigMonTHistSvc.h.
|
private |
Definition at line 155 of file TrigMonTHistSvc.h.
|
mutableprivate |
Protect access to histogram list.
Definition at line 167 of file TrigMonTHistSvc.h.