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