18#include "Gaudi/Property.h"
28 ISvcLocator* pSvcLocator ) :
56 if (!
m_cut.value().empty()) {
60 ATH_MSG_DEBUG (
"==> done with initialize " << name() <<
"..." );
62 return StatusCode::SUCCESS;
73 return StatusCode::SUCCESS;
88 bool eventPasses =
true;
93 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:
virtual StatusCode finalize()
Athena algorithm's finalize hook.
StringProperty m_cut
The cut string.
virtual ~CutAlg()
Destructor:
virtual StatusCode execute()
Athena algorithm's execute hook.
CutAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode initialize()
Athena algorithm's initalize hook.
unsigned long m_nEventsProcessed
Internal event counter.
StatusCode finalizeParser()
std::conditional< 1==1, std::unique_ptr< ExpressionParsing::ExpressionParser >, std::array< std::unique_ptr< ExpressionParsing::ExpressionParser >, 1 > >::type m_parser
ToolHandle< Trig::TrigDecisionTool > m_trigDecisionTool
ExpressionParserUserWithTrigSupport(Args...args)
StatusCode initializeParser(ExpressionParsing::SelectionArg< 1 > selection_string)