|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGDECISIONLOOSESELECTOR_H_
6 #define TRIGDECISIONLOOSESELECTOR_H_
56 std::string
name()
const override;
Sometimes you may want to select events that pass a certain trigger, or triggers.
TopConfig A simple configuration that is NOT a singleton.
std::vector< std::pair< std::string, int > > m_triggers
List of triggers to 'or' together for each event. If any one passes, the event passes.
virtual bool apply(const top::Event &event) const override
Select events based on the 'OR' of a few user defined triggers.
POOL::TEvent event(POOL::TEvent::kClassAccess)
This should apply event-level cuts and perform simple plotting on top::Event objects.
std::string name() const override
TRIGDEC because we might have a tool for trigger matching too at some point.
Very simple class to hold event data after reading from a file.
TrigDecisionLooseSelector(const std::string &selectorName, std::shared_ptr< top::TopConfig > config)
A tool to select events that pass a certain trigger (or any trigger in a list).