ATLAS Offline Software
Loading...
Searching...
No Matches
EventDecisionAlg.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2025 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"
21
22
25{
26
28 // Public methods:
30 public:
31
32 // Copy constructor:
33
35 EventDecisionAlg( const std::string& name, ISvcLocator* pSvcLocator );
36
38 virtual ~EventDecisionAlg();
39
41 virtual StatusCode initialize();
42
44 virtual StatusCode execute();
45
47 virtual StatusCode finalize();
48
49
50
52 // Private data:
54 private:
55 // The handle to the IDecisionSvc;
56 ServiceHandle<IDecisionSvc> m_decSvc{ this, "DecisionService", "DecisionSvc/DecisionSvc",
57 "The handle to the IDecisionSvc" };
58
60 StringArrayProperty m_streamNames{ this, "OutputStreamNames", {},
61 "The names of all output streams to check" };
62
63};
64
65
66#endif //> !EVENTUTILS_EVENTDECISIONALG_H
AthFilterAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
EventDecisionAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ServiceHandle< IDecisionSvc > m_decSvc
StringArrayProperty m_streamNames
The names of all output streams to check.
virtual ~EventDecisionAlg()
Destructor:
virtual StatusCode initialize()
Athena algorithm's initalize hook.
virtual StatusCode finalize()
Athena algorithm's finalize hook.
virtual StatusCode execute()
Athena algorithm's execute hook.