Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ViewTester.h
Go to the documentation of this file.
1 
6 
7 //------------------------------------------------------------------------------
8 
13 namespace Test {
14 
15  class ViewTester : public GaudiAlgorithm {
16 
17  public:
18  bool isClonable() const override { return true; }
19 
21  StatusCode execute() override;
23  StatusCode initialize() override;
25  StatusCode finalize() override;
26 
27  ViewTester( const std::string& name, // the algorithm instance name
28  ISvcLocator* pSvc ); // the Service Locator
29 
30  private:
32  ViewTester(); // no default constructor
34  ViewTester( const ViewTester& ); // no copy constructor
36  ViewTester& operator=( const ViewTester& ); // no assignement
37 
42 
43  // View config
44  Gaudi::Property<std::string> m_baseViewName{this, "baseViewName", "view",
45  "Views to be named this, plus a numerical index"};
46  Gaudi::Property<unsigned int> m_viewNumber{this, "viewNumber", 0, "How many views to make"};
47  Gaudi::Property<std::string> m_viewNodeName{this, "viewNodeName", "viewNode", "Name of node to attach views to"};
48  };
49 } // namespace Test
std::vector< std::unique_ptr< DataObjectHandle< DataObject > > > m_outputHandles
Definition: ViewTester.h:41
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
Implementation of property with value of concrete type.
Definition: Property.h:352
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:635
Header file for class GaudiAlgorithm.
StatusCode initialize() override
Its initialization.
Definition: ViewTester.cpp:20
StatusCode finalize() override
the finalization of the algorithm
Definition: ViewTester.cpp:106
Gaudi::Property< std::string > m_baseViewName
Definition: ViewTester.h:44
STL class.
ViewTester & operator=(const ViewTester &)
the assignement operator is disabled
Gaudi::Property< std::string > m_viewNodeName
Definition: ViewTester.h:47
Gaudi::Property< std::vector< std::string > > m_inpKeys
Definition: ViewTester.h:38
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
The useful base class for data processing algorithms.
Gaudi::Property< std::vector< std::string > > m_outKeys
Definition: ViewTester.h:39
StatusCode execute() override
the execution of the algorithm
Definition: ViewTester.cpp:52
STL class.
ViewTester()
the default constructor is disabled
bool isClonable() const override
Definition: ViewTester.h:18
std::vector< std::unique_ptr< DataObjectHandle< DataObject > > > m_inputHandles
Definition: ViewTester.h:40
Gaudi::Property< unsigned int > m_viewNumber
Definition: ViewTester.h:46