18#include "Gaudi/Property.h"
24 ISvcLocator* pSvcLocator ) :
50 ATH_MSG_DEBUG (
"==> done with initialize " << name() <<
"..." );
51 return StatusCode::SUCCESS;
63 return StatusCode::SUCCESS;
76 bool eventPasses =
true;
77 for (
const std::string& streamName :
m_streamNames.value() ){
80 eventPasses =
m_decSvc->isEventAccepted(streamName);
82 ATH_MSG_DEBUG(
"Got an event accept from stream name " << streamName);
89 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
ServiceHandle< StoreGateSvc > & evtStore()
virtual void setFilterPassed(bool state) const
Set the filter passed flag to the specified state.
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.