ATLAS Offline Software
EventDecisionAlg.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // EventDecisionAlg.h
8 // Header file for class EventDecisionAlg
9 // Author: Karsten Koeneke <karsten.koeneke@cern.ch>
11 #ifndef EVENTUTILS_EVENTDECISIONALG_H
12 #define EVENTUTILS_EVENTDECISIONALG_H 1
13 
14 // STL includes
15 #include <string>
16 
17 // FrameWork includes
18 #include "GaudiKernel/ServiceHandle.h"
20 
21 // forward declarations
22 class IDecisionSvc;
23 
24 
26  : public ::AthFilterAlgorithm
27 {
28 
30  // Public methods:
32  public:
33 
34  // Copy constructor:
35 
37  EventDecisionAlg( const std::string& name, ISvcLocator* pSvcLocator );
38 
40  virtual ~EventDecisionAlg();
41 
43  virtual StatusCode initialize();
44 
46  virtual StatusCode execute();
47 
49  virtual StatusCode finalize();
50 
51 
52 
54  // Private data:
56  private:
57  // The handle to the IDecisionSvc;
59 
61  StringArrayProperty m_streamNames;
62 
63 };
64 
65 
66 #endif //> !EVENTUTILS_EVENTDECISIONALG_H
EventDecisionAlg::execute
virtual StatusCode execute()
Athena algorithm's execute hook.
Definition: EventDecisionAlg.cxx:73
EventDecisionAlg::initialize
virtual StatusCode initialize()
Athena algorithm's initalize hook.
Definition: EventDecisionAlg.cxx:44
EventDecisionAlg::m_decSvc
ServiceHandle< IDecisionSvc > m_decSvc
Definition: EventDecisionAlg.h:58
EventDecisionAlg::~EventDecisionAlg
virtual ~EventDecisionAlg()
Destructor:
Definition: EventDecisionAlg.cxx:37
AthFilterAlgorithm
Definition: AthFilterAlgorithm.h:26
IDecisionSvc
This class defines a protocol to register boolean decisions and.
Definition: IDecisionSvc.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EventDecisionAlg::EventDecisionAlg
EventDecisionAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition: EventDecisionAlg.cxx:24
EventDecisionAlg::finalize
virtual StatusCode finalize()
Athena algorithm's finalize hook.
Definition: EventDecisionAlg.cxx:61
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
EventDecisionAlg
Definition: EventDecisionAlg.h:27
EventDecisionAlg::m_streamNames
StringArrayProperty m_streamNames
The names of all output streams to check.
Definition: EventDecisionAlg.h:61
AthFilterAlgorithm.h
ServiceHandle< IDecisionSvc >