24 return StatusCode::FAILURE;
32 std::string chainfix = chain;
33 std::replace(chainfix.begin(), chainfix.end(),
'.',
'p');
34 std::replace(chainfix.begin(), chainfix.end(),
'-',
'_');
41 return StatusCode::SUCCESS;
49 filter.setPassed(
true);
50 return StatusCode::SUCCESS;
56 for (
size_t i = 0; i <
m_trigList.size(); i++) {
57 bool trigPassed =
m_noL1.value()
64 filter.setPassed (
true);
67 return StatusCode::SUCCESS;
74 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
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
virtual::StatusCode execute()
execute this algorithm
a guard class for use with ref FilterReporterParams
This module defines the arguments passed from the BATCH driver to the BATCH worker.
static const unsigned int requireDecision
EventInfo_v1 EventInfo
Definition of the latest event info version.