24 return StatusCode::FAILURE;
37 return StatusCode::SUCCESS;
45 filter.setPassed(
true);
46 return StatusCode::SUCCESS;
52 for (
size_t i = 0; i <
m_trigList.size(); i++) {
53 bool trigPassed =
m_noL1.value()
60 filter.setPassed (
true);
63 return StatusCode::SUCCESS;
70 return StatusCode::SUCCESS;
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
virtual StatusCode initialize() final
ToolHandle< Trig::ITrigDecisionTool > m_trigDecisionTool
trigger decision tool handle
Gaudi::Property< bool > m_noFilter
whether to not apply an event filter
TrigEventSelectionAlg(const std::string &name, ISvcLocator *svcLoc=nullptr)
Gaudi::Property< bool > m_noL1
whether to not require L1 decision
Gaudi::Property< std::string > m_selectionDecoration
the decoration for trigger selection
FilterReporterParams m_filterParams
the filter reporter params
virtual StatusCode execute() final
std::vector< SG::Decorator< bool > > m_selectionAccessors
the accessors for m_selectionDecoration and m_trigList combination
virtual StatusCode finalize() final
Gaudi::Property< std::vector< std::string > > m_trigList
list of triggers or trigger chains
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
a guard class for use with ref FilterReporterParams
This module defines the arguments passed from the BATCH driver to the BATCH worker.
std::string substitute(const std::string &str, const std::string &pattern, const std::string &with)
effects: substitute all occurences of "pattern" with "with" in the string "str" returns: the substitu...
static const unsigned int requireDecision
EventInfo_v1 EventInfo
Definition of the latest event info version.