ATLAS Offline Software
TrigMatchSelector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef TRIGMATCHSELECTOR_H_
6 #define TRIGMATCHSELECTOR_H_
7 
9 #include <memory>
10 
11 namespace top {
12  // Forward declare
13  class Event;
14  class TopConfig;
15 
21  public:
22  TrigMatchSelector(const std::string& selectorName, std::shared_ptr<top::TopConfig> config);
23 
24  virtual bool apply(const top::Event& event) const override;
25 
26  std::string name() const override;
27  private:
29  std::vector<std::pair<std::string, int> > m_allTriggers_Tight;
30  std::vector<std::pair<std::string, int> > m_allTriggers_Loose;
31  };
32 }
33 
34 #endif /* TRIGDECISIONSELECTOR_H_ */
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
Event
Definition: trigbs_orderedMerge.cxx:42
config
Definition: PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
top::TrigMatchSelector::m_allTriggers_Loose
std::vector< std::pair< std::string, int > > m_allTriggers_Loose
Definition: TrigMatchSelector.h:30
top::TrigMatchSelector::m_allTriggers_Tight
std::vector< std::pair< std::string, int > > m_allTriggers_Tight
List of triggers to 'or' together for each event. If any one passes, the event passes.
Definition: TrigMatchSelector.h:29
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
top::TrigMatchSelector::apply
virtual bool apply(const top::Event &event) const override
This does stuff based on the information in an event.
Definition: TrigMatchSelector.cxx:18
top::TrigMatchSelector::name
std::string name() const override
A human readable name.
Definition: TrigMatchSelector.cxx:82
top::EventSelectorBase
This should apply event-level cuts and perform simple plotting on top::Event objects.
Definition: EventSelectorBase.h:20
top::TrigMatchSelector::TrigMatchSelector
TrigMatchSelector(const std::string &selectorName, std::shared_ptr< top::TopConfig > config)
Definition: TrigMatchSelector.cxx:13
EventSelectorBase.h
top::Event
Very simple class to hold event data after reading from a file.
Definition: Event.h:49
top::TrigMatchSelector
Match offline object to trigger.
Definition: TrigMatchSelector.h:20