The Gaudi Framework  v30r3 (a5ef0a68)
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 
33  virtual ~ViewTester(); // virtual & protected desctrustor
34 
35  private:
37  ViewTester(); // no default constructor
39  ViewTester( const ViewTester& ); // no copy constructor
41  ViewTester& operator=( const ViewTester& ); // no assignement
42 
47 
48  // View config
49  Gaudi::Property<std::string> m_baseViewName{this, "baseViewName", "view",
50  "Views to be named this, plus a numerical index"};
51  Gaudi::Property<unsigned int> m_viewNumber{this, "viewNumber", 0, "How many views to make"};
52  Gaudi::Property<std::string> m_viewNodeName{this, "viewNodeName", "viewNode", "Name of node to attach views to"};
53  };
54 }
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:765
Implementation of property with value of concrete type.
Definition: Property.h:381
std::vector< DataObjectHandle< DataObject > * > m_outputHandles
Definition: ViewTester.h:46
Header file for class GaudiAlgorithm.
StatusCode initialize() override
Its initialization.
Definition: ViewTester.cpp:29
StatusCode finalize() override
the finalization of the algorithm
Definition: ViewTester.cpp:115
Gaudi::Property< std::string > m_baseViewName
Definition: ViewTester.h:49
STL class.
ViewTester & operator=(const ViewTester &)
the assignement operator is disabled
Gaudi::Property< std::string > m_viewNodeName
Definition: ViewTester.h:52
std::vector< DataObjectHandle< DataObject > * > m_inputHandles
Definition: ViewTester.h:45
Gaudi::Property< std::vector< std::string > > m_inpKeys
Definition: ViewTester.h:43
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:44
StatusCode execute() override
the execution of the algorithm
Definition: ViewTester.cpp:61
STL class.
ViewTester()
the default constructor is disabled
bool isClonable() const override
Definition: ViewTester.h:20
virtual ~ViewTester()
virtual & protected desctrustor
Definition: ViewTester.cpp:22
Gaudi::Property< unsigned int > m_viewNumber
Definition: ViewTester.h:51