7#ifndef ASG_ANALYSIS_ALGORITHMS__EVENT_FLAG_SELECTION_ALG_H
8#define ASG_ANALYSIS_ALGORITHMS__EVENT_FLAG_SELECTION_ALG_H
23 virtual StatusCode
execute()
final;
28 Gaudi::Property<std::vector<std::string>>
m_selFlags {
this,
"selectionFlags", {},
"list of flags to use as selection criteria"};
31 Gaudi::Property<std::vector<bool>>
m_invertFlags {
this,
"invertFlags", {},
"toggles for inverting the selection (index-parallel to selectionFlags)"};
34 std::vector<std::unique_ptr<ISelectionReadAccessor>>
m_accessors;
an algorithm for selecting events by flag
virtual StatusCode finalize() final
virtual StatusCode initialize() final
FilterReporterParams m_filterParams
the filter reporter params
std::vector< std::unique_ptr< ISelectionReadAccessor > > m_accessors
a vector of accessors to read the flags
virtual StatusCode execute() final
Gaudi::Property< std::vector< bool > > m_invertFlags
invert flags
Gaudi::Property< std::vector< std::string > > m_selFlags
flags that we want to select events with
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
a handle for applying algorithm filter decisions
Select isolated Photons, Electrons and Muons.