| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

HiveTestAlgorithm.h
Go to the documentation of this file.
1 //
2 // HiveTestAlgorithm.h
3 //
4 //
5 // Created by Benedikt Hegner on 7/21/12.
6 // Copyright (c) 2012 __CERN__. All rights reserved.
7 //
8
9 #include "GaudiAlg/GaudiAlgorithm.h"
10 #include "GaudiKernel/Property.h"
11
12 class GAUDI_API HiveTestAlgorithm: public GaudiAlgorithm {
13 public:
14
18 HiveTestAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
19
23 virtual ~HiveTestAlgorithm( );
24
25 /*****************************
26 ** Public Function Members **
27 *****************************/
28
29 StatusCode initialize();
30 StatusCode execute();
31 StatusCode finalize();
32
33 // BH: concurrency additions
34 virtual const std::vector<std::string> get_inputs();
35 virtual const std::vector<std::string> get_outputs();
36
37 private:
38
39 /**************************
40 ** Private Data Members **
41 **************************/
42
46 int m_total;
47
48 std::vector<std::string> m_inputs;
49 std::vector<std::string> m_outputs;
50 };
51
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
gaudiComponentHelp.name
name
Definition: gaudiComponentHelp.py:28
GaudiAlgorithm::initialize
StatusCode initialize() override
standard initialization method
Definition: GaudiAlgorithm.cpp:48
GaudiAlgorithm.h
HiveTestAlgorithm
Definition: HiveTestAlgorithm.h:12
GaudiAlgorithm::execute
StatusCode execute() override
standard execution method
Definition: GaudiAlgorithm.cpp:76
std::string
STL class.
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
GaudiAlgorithm::finalize
StatusCode finalize() override
standard finalization method
Definition: GaudiAlgorithm.cpp:62
GaudiAlgorithm
The useful base class for data processing algorithms.
Definition: GaudiAlgorithm.h:93
std::vector< std::string >
Property.h
HiveTestAlgorithm::m_outputs
std::vector< std::string > m_outputs
Definition: HiveTestAlgorithm.h:49
HiveTestAlgorithm::m_inputs
std::vector< std::string > m_inputs
Definition: HiveTestAlgorithm.h:48
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
HiveTestAlgorithm::m_total
int m_total
The total events seen.
Definition: HiveTestAlgorithm.h:46