![]() |
ATLAS Offline Software
|
#include <IPlotBase.h>
Public Member Functions | |
| IPlotBase (const std::string &name, ToolHandle< GenericMonitoringTool > *m=0) | |
| built from dirName and anaTag | |
| virtual | ~IPlotBase ()=default |
| virtual void | initialize ()=0 |
| Book the histograms. | |
| virtual void | finalize ()=0 |
| Finalize resolution and bias histograms should be called from the calling montools stop() method. | |
| virtual void | execute (const TrackAnalysisStore &) const =0 |
| this can be over ridden if need be | |
| const std::string & | name () const |
| generic utilities, just in case | |
| ToolHandle< GenericMonitoringTool > * | monTool () |
| mon tool | |
| const ToolHandle< GenericMonitoringTool > * | monTool () const |
| void | set_monTool (ToolHandle< GenericMonitoringTool > *m) |
| do we need / should we have this specific setter ?? | |
| std::string | realPath (const std::string &tag="") |
| This is a horrific function, has to get ALL the histograms, just to be able to work out how to get the actual path to the histograms for this tool - there simply MUST be a better way ... | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Static Public Member Functions | |
| template<typename Derived> | |
| static std::unique_ptr< IPlotBase > | create (const std::string &name, ToolHandle< GenericMonitoringTool > *m) |
| factory creation mathod | |
Protected Member Functions | |
| void | copyHist (TH1 *hsrc, TH1 *hdest, bool copyoverflow=true) const |
| resolution porocessing stuff these don't really even need to be class functions, they could be simply utility functions | |
| void | getHist (const std::string &hname, TH1 *hsrc) |
| void | processResolution (const std::string &path, bool writeflag=false) |
| void | getHist (ServiceHandle< ITHistSvc > &histsvc, const std::string &hname, TH1 *hsrc) const |
| void | processResolution (ServiceHandle< ITHistSvc > &histsvc, const std::string &path, bool writeflag=false) const |
| virtual ServiceHandle< ITHistSvc > & | histSvc () |
| we may well need these at some point ... | |
Protected Attributes | |
| const std::string & | m_name |
| ToolHandle< GenericMonitoringTool > * | m_monTool |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels). | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging). | |
Definition at line 36 of file IPlotBase.h.
|
inline |
built from dirName and anaTag
Definition at line 41 of file IPlotBase.h.
|
virtualdefault |
|
protected |
resolution porocessing stuff these don't really even need to be class functions, they could be simply utility functions
Definition at line 20 of file IPlotBase.cxx.
|
inlinestatic |
factory creation mathod
Definition at line 50 of file IPlotBase.h.
|
pure virtual |
this can be over ridden if need be
Implemented in IDTPM2::Efficiencies, IDTPM2::Resolutions, IDTPM2::SiHitPlots, IDTPM2::Tier0, IDTPM2::TrackParameters, IDTPM2::TRTPlots, and IDTPM2::VertexPlots.
|
pure virtual |
Finalize resolution and bias histograms should be called from the calling montools stop() method.
Implemented in IDTPM2::Efficiencies, IDTPM2::Resolutions, IDTPM2::SiHitPlots, IDTPM2::Tier0, IDTPM2::TrackParameters, IDTPM2::TRTPlots, and IDTPM2::VertexPlots.
|
inlineprotected |
Definition at line 88 of file IPlotBase.h.
|
protected |
Definition at line 42 of file IPlotBase.cxx.
|
inlineprotectedvirtual |
we may well need these at some point ...
this method is dangerous - should not be used anywhere except finalise or stop
Definition at line 105 of file IPlotBase.h.
|
pure virtual |
Book the histograms.
Implemented in IDTPM2::Efficiencies, IDTPM2::Resolutions, IDTPM2::SiHitPlots, IDTPM2::Tier0, IDTPM2::TrackParameters, IDTPM2::TRTPlots, and IDTPM2::VertexPlots.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inline |
|
inline |
Definition at line 73 of file IPlotBase.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 167 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 182 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
inline |
|
inlineprotected |
Definition at line 89 of file IPlotBase.h.
|
protected |
process the histogramss NB: might be better if instead of adding the 2D histogram and then copying the 1D hjistograms back, we passed in the 1D histogram pointers and filled them directly in the Resplot
use the provides 1D, maan, sigme histograms etc would like to do this ...
use the provides 1D, maan, sigme histograms etc
Definition at line 49 of file IPlotBase.cxx.
| std::string IDTPM2::IPlotBase::realPath | ( | const std::string & | tag = "" | ) |
This is a horrific function, has to get ALL the histograms, just to be able to work out how to get the actual path to the histograms for this tool - there simply MUST be a better way ...
can add on our "fixed" histogram "Vertex" domain
Definition at line 86 of file IPlotBase.cxx.
|
inline |
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging).
Definition at line 141 of file AthMessaging.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
protected |
Definition at line 116 of file IPlotBase.h.
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels).
Definition at line 132 of file AthMessaging.h.
|
protected |
Definition at line 114 of file IPlotBase.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.