![]() |
ATLAS Offline Software
|
This implementes the methods for IDecisionSvc. More...
#include <DecisionSvc.h>
Public Member Functions | |
| DecisionSvc (const std::string &name, ISvcLocator *pSvcLocator) | |
| Constructor. | |
| virtual | ~DecisionSvc () |
| Destructor. | |
| virtual StatusCode | initialize () override |
| Gaudi Service Implementation. | |
| virtual StatusCode start | ATLAS_NOT_THREAD_SAFE () override |
| virtual StatusCode | finalize () override |
| virtual StatusCode | addStream (const std::string &stream) override |
| Add a stream. | |
| virtual StatusCode | addAcceptAlg (const std::string &name, const std::string &stream) override |
| Add an algorithm to the list of AcceptAlgs of a stream. | |
| virtual StatusCode | addRequireAlg (const std::string &name, const std::string &stream) override |
| Add an algorithm to the list of RequireAlgs of a stream. | |
| virtual StatusCode | addVetoAlg (const std::string &name, const std::string &stream) override |
| Add an algorithm to the list of VetoAlgs of a stream. | |
| virtual const std::vector< std::string > | getAcceptAlgs (const std::string &stream) const override |
| Return list of AcceptAlg names. | |
| virtual const std::vector< std::string > | getRequireAlgs (const std::string &stream) const override |
| Return list of RequireAlg names. | |
| virtual const std::vector< std::string > | getVetoAlgs (const std::string &stream) const override |
| Return list of VetoAlg names. | |
| virtual const std::vector< std::string > | getStreams () const override |
| Return list of Streams. | |
| virtual bool | isEventAccepted (const std::string &stream) const override |
| Test whether this event should be output. | |
| virtual bool | isEventAccepted (const std::string &stream, const EventContext &) const override |
Private Member Functions | |
| StatusCode | interpretAlgMap () |
| StatusCode DeclareToCutFlowSvc | ATLAS_NOT_THREAD_SAFE () |
| StatusCode | fillMap (std::map< std::string, std::vector< std::string > > &streamsModeMap, const std::string &name, const std::string &stream) |
Private Attributes | |
| std::map< std::string, std::vector< std::string > > | m_stream_accept |
| Maps of streams – algorithm names' vectors. | |
| std::map< std::string, std::vector< std::string > > | m_stream_require |
| std::map< std::string, std::vector< std::string > > | m_stream_veto |
| std::vector< std::string > | m_streamNames |
| Gaudi::Property< bool > | m_calcStats {this, "CalcStats", false} |
| bool | m_frozen {false} |
| ServiceHandle< StoreGateSvc > | m_evtStore |
| ServiceHandle< ICutFlowSvc > | m_cutflowSvc |
| ServiceHandle< IAlgExecStateSvc > | m_algstateSvc |
This implementes the methods for IDecisionSvc.
Definition at line 30 of file DecisionSvc.h.
| DecisionSvc::DecisionSvc | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Constructor.
Definition at line 12 of file DecisionSvc.cxx.
|
virtual |
|
overridevirtual |
Add an algorithm to the list of AcceptAlgs of a stream.
Definition at line 163 of file DecisionSvc.cxx.
|
overridevirtual |
Add an algorithm to the list of RequireAlgs of a stream.
Definition at line 173 of file DecisionSvc.cxx.
|
overridevirtual |
Add a stream.
Definition at line 98 of file DecisionSvc.cxx.
|
overridevirtual |
Add an algorithm to the list of VetoAlgs of a stream.
Definition at line 184 of file DecisionSvc.cxx.
|
private |
|
overridevirtual |
|
private |
Definition at line 121 of file DecisionSvc.cxx.
|
overridevirtual |
Definition at line 57 of file DecisionSvc.cxx.
|
overridevirtual |
Return list of AcceptAlg names.
Definition at line 202 of file DecisionSvc.cxx.
|
overridevirtual |
Return list of RequireAlg names.
Definition at line 211 of file DecisionSvc.cxx.
|
overridevirtual |
Return list of Streams.
Definition at line 195 of file DecisionSvc.cxx.
|
overridevirtual |
Return list of VetoAlg names.
Definition at line 220 of file DecisionSvc.cxx.
|
overridevirtual |
Gaudi Service Implementation.
Definition at line 30 of file DecisionSvc.cxx.
|
private |
Definition at line 64 of file DecisionSvc.cxx.
|
overridevirtual |
Test whether this event should be output.
Definition at line 235 of file DecisionSvc.cxx.
|
overridevirtual |
Definition at line 244 of file DecisionSvc.cxx.
|
private |
Definition at line 99 of file DecisionSvc.h.
|
private |
Definition at line 95 of file DecisionSvc.h.
|
private |
Definition at line 98 of file DecisionSvc.h.
|
private |
Definition at line 97 of file DecisionSvc.h.
|
private |
Definition at line 96 of file DecisionSvc.h.
|
private |
Maps of streams – algorithm names' vectors.
Definition at line 89 of file DecisionSvc.h.
|
private |
Definition at line 90 of file DecisionSvc.h.
|
private |
Definition at line 91 of file DecisionSvc.h.
|
private |
Definition at line 93 of file DecisionSvc.h.