![]() |
ATLAS Offline Software
|
#include <VertexPlots.h>
Classes | |
| struct | ParHistograms |
Public Member Functions | |
| VertexPlots (const std::string &name, ToolHandle< GenericMonitoringTool > *m=0) | |
| Constructor. | |
| virtual | ~VertexPlots ()=default |
| Destructor. | |
| void | initialize () |
| Book the histograms. | |
| void | execute (const TrackAnalysisStore &collections) const |
| this can be over ridden if need be | |
| void | finalize () |
| Print out final stats on histograms. | |
| 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 | getHist (ServiceHandle< ITHistSvc > &histsvc, const std::string &hname, TH1 *hsrc) const |
| void | processResolution (const std::string &path, bool writeflag=false) |
| 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 | |
| ParHistograms | m_test |
| why mess about with separate tools for the distributions, the efficiencies and resolutions | |
| ParHistograms | m_reference |
| TIDA::Histogram2D< float > | m_vtx_ntest_vs_nref |
| ParHisrograms matched;. | |
| TIDA::Histogram< float > | m_vtx_res_x |
| residuals ... | |
| TIDA::Histogram< float > | m_vtx_res_y |
| TIDA::Histogram< float > | m_vtx_res_z |
| TIDA::Histogram2D< float > | m_vtx_res_z_vs_z |
| diferential residuals ... | |
| TIDA::Histogram2D< float > | m_vtx_res_z_vs_ntracks |
| TIDA::Histogram2D< float > | m_vtx_res_z_vs_nvtx |
| TIDA::Histogram2D< float > | m_vtx_res_z_vs_mu |
| TIDA::Histogram2D< float > | m_vtx_eff_vs_z |
| efficiencies ... | |
| TIDA::Histogram2D< float > | m_vtx_eff_vs_mu |
| TIDA::Histogram2D< float > | m_vtx_eff_vs_nvtx |
| TIDA::Histogram2D< float > | m_vtx_eff_vs_ntracks |
| 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 38 of file VertexPlots.h.
| IDTPM2::VertexPlots::VertexPlots | ( | const std::string & | name, |
| ToolHandle< GenericMonitoringTool > * | m = 0 ) |
Constructor.
Definition at line 20 of file VertexPlots.cxx.
|
virtualdefault |
Destructor.
|
protectedinherited |
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.
|
inlinestaticinherited |
factory creation mathod
Definition at line 50 of file IPlotBase.h.
|
virtual |
this can be over ridden if need be
don't need run and event number ??
multiplicity histograms ...
fill parameter histograms ...
could loop over these independently, but we have the matcheing information, so might as well do it here ...
in the original IDTPM code information on the associated tracks and weights was passed in separately. Really, if need them, they should be added to the vertex itself - so they would be added as methods on the VertexView. Will come back to this ...
Implements IDTPM2::IPlotBase.
Definition at line 191 of file VertexPlots.cxx.
|
virtual |
Print out final stats on histograms.
Implements IDTPM2::IPlotBase.
Definition at line 293 of file VertexPlots.cxx.
|
inlineprotectedinherited |
Definition at line 88 of file IPlotBase.h.
|
protectedinherited |
Definition at line 42 of file IPlotBase.cxx.
|
inlineprotectedvirtualinherited |
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.
|
virtual |
Book the histograms.
parameter histograms ...
initialise resolutions and efficiencies here ...
residuals ...
diferential residuals ...
efficiencies ...
Implements IDTPM2::IPlotBase.
Definition at line 31 of file VertexPlots.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineinherited |
mon tool
Definition at line 71 of file IPlotBase.h.
|
inlineinherited |
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.
|
inlineinherited |
|
inlineprotectedinherited |
Definition at line 89 of file IPlotBase.h.
|
protectedinherited |
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.
|
inherited |
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.
|
inlineinherited |
|
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 |
|
protectedinherited |
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.
|
protectedinherited |
Definition at line 114 of file IPlotBase.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 110 of file VertexPlots.h.
|
private |
why mess about with separate tools for the distributions, the efficiencies and resolutions
Definition at line 109 of file VertexPlots.h.
|
private |
Definition at line 129 of file VertexPlots.h.
|
private |
Definition at line 131 of file VertexPlots.h.
|
private |
Definition at line 130 of file VertexPlots.h.
|
private |
efficiencies ...
Definition at line 128 of file VertexPlots.h.
|
private |
ParHisrograms matched;.
Definition at line 114 of file VertexPlots.h.
|
private |
residuals ...
Definition at line 117 of file VertexPlots.h.
|
private |
Definition at line 118 of file VertexPlots.h.
|
private |
Definition at line 119 of file VertexPlots.h.
|
private |
Definition at line 125 of file VertexPlots.h.
|
private |
Definition at line 123 of file VertexPlots.h.
|
private |
Definition at line 124 of file VertexPlots.h.
|
private |
diferential residuals ...
Definition at line 122 of file VertexPlots.h.