|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef ATHENASERVICES_DECISIONSVC_H
5 #define ATHENASERVICES_DECISIONSVC_H
13 #include "GaudiKernel/ISvcLocator.h"
14 #include "GaudiKernel/IAlgExecStateSvc.h"
65 virtual const std::vector<std::string>
getAcceptAlgs(
const std::string&
stream)
const override;
69 virtual const std::vector<std::string>
getVetoAlgs(
const std::string&
stream)
const override;
71 virtual const std::vector<std::string>
getStreams()
const override;
102 StatusCode fillMap(std::map<std::string, std::vector<std::string> >& streamsModeMap,
103 const std::string&
name,
104 const std::string&
stream);
107 #endif //> !ATHENASERVICES_DECISIONSVC_H
std::map< std::string, std::vector< std::string > > m_stream_accept
Maps of streams – algorithm names' vectors.
std::vector< std::string > m_streamNames
virtual const std::vector< std::string > getVetoAlgs(const std::string &stream) const override
Return list of VetoAlg names.
virtual ~DecisionSvc()
Destructor.
DecisionSvc(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
std::map< std::string, std::vector< std::string > > m_stream_veto
ServiceHandle< StoreGateSvc > m_evtStore
::StatusCode StatusCode
StatusCode definition for legacy code.
ServiceHandle< IAlgExecStateSvc > m_algstateSvc
virtual const std::vector< std::string > getRequireAlgs(const std::string &stream) const override
Return list of RequireAlg names.
virtual StatusCode initialize() override
Gaudi Service Implementation.
virtual StatusCode addRequireAlg(const std::string &name, const std::string &stream) override
Add an algorithm to the list of RequireAlgs of a stream.
StatusCode DeclareToCutFlowSvc ATLAS_NOT_THREAD_SAFE()
virtual StatusCode finalize() override
virtual bool isEventAccepted(const std::string &stream) const override
Test whether this event should be output.
StatusCode interpretAlgMap()
virtual StatusCode addStream(const std::string &stream) override
Add a stream.
virtual StatusCode start() override
Gaudi::Property< bool > m_calcStats
virtual StatusCode addAcceptAlg(const std::string &name, const std::string &stream) override
Add an algorithm to the list of AcceptAlgs of a stream.
This implementes the methods for IDecisionSvc.
ServiceHandle< ICutFlowSvc > m_cutflowSvc
StatusCode fillMap(std::map< std::string, std::vector< std::string > > &streamsModeMap, const std::string &name, const std::string &stream)
virtual const std::vector< std::string > getStreams() const override
Return list of Streams.
virtual StatusCode addVetoAlg(const std::string &name, const std::string &stream) override
Add an algorithm to the list of VetoAlgs of a stream.
Define macros for attributes used to control the static checker.
virtual const std::vector< std::string > getAcceptAlgs(const std::string &stream) const override
Return list of AcceptAlg names.
std::map< std::string, std::vector< std::string > > m_stream_require