![]() |
ATLAS Offline Software
|
#include <AnalysisR4.h>
Public Member Functions | |
| AnalysisR4 (const std::string &name) | |
| virtual void | initialise () |
| virtual void | execute (TrackAnalysisStore &collections) const |
| virtual void | finalize () |
| const std::string & | name () const |
| void | set_monTool (ToolHandle< GenericMonitoringTool > *m) |
| ToolHandle< GenericMonitoringTool > * | monTool () |
| void | addFillTool (const std::string &toolname) |
| add a fill tool = this is called from the parent class, otherwise there are no fill tools booked | |
Protected Types | |
| using | FactoryFn = std::unique_ptr<IPlotBase>(*)( const std::string&, ToolHandle<GenericMonitoringTool>* ) |
| factory stuff .. | |
Protected Member Functions | |
| std::unique_ptr< IPlotBase > | create (const std::string &key) |
| factory stuff .. | |
| void | registerCreator (const std::string &key, FactoryFn builder) |
| do we want this to be public ?? | |
Protected Attributes | |
| std::map< std::string, FactoryFn > | m_factory |
| initialise the factory in the constructor, so the header does not need to be modified to add a tool Also some factory helper function should be added so that tools can be added to the factory on the fly, without needing to recompile the code | |
Private Attributes | |
| std::string | m_name |
| ToolHandle< GenericMonitoringTool > * | m_monTool |
| the parent montool | |
| std::vector< std::unique_ptr< IPlotBase > > | m_tools |
| the tool children | |
Definition at line 33 of file AnalysisR4.h.
|
protected |
factory stuff ..
Definition at line 70 of file AnalysisR4.h.
| IDTPM2::AnalysisR4::AnalysisR4 | ( | const std::string & | name | ) |
register the different plotters ...
Definition at line 31 of file AnalysisR4.cxx.
|
inline |
add a fill tool = this is called from the parent class, otherwise there are no fill tools booked
Definition at line 53 of file AnalysisR4.h.
factory stuff ..
Definition at line 59 of file AnalysisR4.h.
|
virtual |
Definition at line 67 of file AnalysisR4.cxx.
|
virtual |
Definition at line 74 of file AnalysisR4.cxx.
|
virtual |
we have to tell the class which sets of plots it should create from the factory This can be done externally using the addFillTool() method, but any default tools that should always be enabled, should be created here, like this ...
all the tools are set from the TrackAnalysis by calling addFillTool()
Definition at line 46 of file AnalysisR4.cxx.
|
inline |
Definition at line 49 of file AnalysisR4.h.
|
inline |
Definition at line 45 of file AnalysisR4.h.
|
inlineprotected |
do we want this to be public ??
Definition at line 73 of file AnalysisR4.h.
|
inline |
Definition at line 47 of file AnalysisR4.h.
|
protected |
initialise the factory in the constructor, so the header does not need to be modified to add a tool Also some factory helper function should be added so that tools can be added to the factory on the fly, without needing to recompile the code
Definition at line 84 of file AnalysisR4.h.
|
private |
the parent montool
Definition at line 91 of file AnalysisR4.h.
|
private |
Definition at line 88 of file AnalysisR4.h.
|
private |
the tool children
Definition at line 94 of file AnalysisR4.h.