ATLAS Offline Software
GlobalTrigDecisionSelector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef GLOBALTRIGDECISIONSELECTOR_H_
6 #define GLOBALTRIGDECISIONSELECTOR_H_
7 
9 
10 #include <memory>
11 
12 #include "AsgTools/AsgTool.h"
13 #include "AsgTools/ToolHandle.h"
14 
16 
17 
18 namespace top {
19  class Event;
20  class TopConfig;
21 
23  public:
25 
26  bool apply(top::Event const& event) const override;
27  std::string name() const override;
28  private:
29  mutable ToolHandle<ITrigGlobalEfficiencyCorrectionTool> m_globalTriggerSF;
30  mutable ToolHandle<ITrigGlobalEfficiencyCorrectionTool> m_globalTriggerSFLoose;
31  };
32 }
33 
34 #endif
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
ITrigGlobalEfficiencyCorrectionTool.h
Event
Definition: trigbs_orderedMerge.cxx:42
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
top::GlobalTrigDecisionSelector::m_globalTriggerSF
ToolHandle< ITrigGlobalEfficiencyCorrectionTool > m_globalTriggerSF
Definition: GlobalTrigDecisionSelector.h:29
top::EventSelectorBase
This should apply event-level cuts and perform simple plotting on top::Event objects.
Definition: EventSelectorBase.h:20
top::GlobalTrigDecisionSelector::apply
bool apply(top::Event const &event) const override
This does stuff based on the information in an event.
Definition: GlobalTrigDecisionSelector.cxx:19
top::GlobalTrigDecisionSelector::GlobalTrigDecisionSelector
GlobalTrigDecisionSelector()
Definition: GlobalTrigDecisionSelector.cxx:14
top::GlobalTrigDecisionSelector
Definition: GlobalTrigDecisionSelector.h:22
EventSelectorBase.h
top::GlobalTrigDecisionSelector::m_globalTriggerSFLoose
ToolHandle< ITrigGlobalEfficiencyCorrectionTool > m_globalTriggerSFLoose
Definition: GlobalTrigDecisionSelector.h:30
top::Event
Very simple class to hold event data after reading from a file.
Definition: Event.h:49
ToolHandle.h
AsgTool.h
top::GlobalTrigDecisionSelector::name
std::string name() const override
A human readable name.
Definition: GlobalTrigDecisionSelector.cxx:30