ATLAS Offline Software
GlobalLeptonTriggerCalculator.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 // $Id: GlobalLeptonTriggerCalculator.h 799556 2017-03-05 19:46:03Z tpelzer $
6 #ifndef ANALYSISTOP_TOPCORRECTIONS_GLOBALLEPTONTRIGGERCALCULATOR_H
7 #define ANALYSISTOP_TOPCORRECTIONS_GLOBALLEPTONTRIGGERCALCULATOR_H
8 
17 // system include(s):
18 #include <memory>
19 #include <set>
20 
21 // Framework include(s):
22 #include "AsgTools/AsgTool.h"
23 #include "AsgTools/ToolHandle.h"
24 
25 // Systematic include(s):
27 
28 // CP Tool include(s):
33 
34 // Forward declaration(s):
35 namespace xAOD {
36  class SystematicEvent;
37 }
38 namespace top {
39  class TopConfig;
40 }
41 
42 namespace top {
44  public:
45  explicit GlobalLeptonTriggerCalculator(const std::string& name);
47 
48  // Delete Standard constructors
52 
55  private:
56  void processEvent(const xAOD::SystematicEvent* systEvent, bool withScaleFactorVariations);
57 
58  std::shared_ptr<top::TopConfig> m_config;
59 
60  ToolHandle<ITrigGlobalEfficiencyCorrectionTool> m_globalTriggerSF;
61  ToolHandle<ITrigGlobalEfficiencyCorrectionTool> m_globalTriggerSFLoose;
62 
63  std::vector<ToolHandle<IAsgElectronEfficiencyCorrectionTool> > m_electronTools;
64  std::vector<ToolHandle<CP::IMuonTriggerScaleFactors> > m_muonTools;
65  std::vector<ToolHandle<IAsgPhotonEfficiencyCorrectionTool> > m_photonTools;
66 
67  std::string m_decor_triggerSF;
68  };
69 } // namespace
70 #endif
top::GlobalLeptonTriggerCalculator::GlobalLeptonTriggerCalculator
GlobalLeptonTriggerCalculator(GlobalLeptonTriggerCalculator &&rhs)=delete
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
top::GlobalLeptonTriggerCalculator::m_globalTriggerSFLoose
ToolHandle< ITrigGlobalEfficiencyCorrectionTool > m_globalTriggerSFLoose
Definition: GlobalLeptonTriggerCalculator.h:61
IAsgElectronEfficiencyCorrectionTool.h
ITrigGlobalEfficiencyCorrectionTool.h
top::GlobalLeptonTriggerCalculator::m_electronTools
std::vector< ToolHandle< IAsgElectronEfficiencyCorrectionTool > > m_electronTools
Definition: GlobalLeptonTriggerCalculator.h:63
SystematicSet.h
top::GlobalLeptonTriggerCalculator::m_decor_triggerSF
std::string m_decor_triggerSF
Definition: GlobalLeptonTriggerCalculator.h:67
top::GlobalLeptonTriggerCalculator::~GlobalLeptonTriggerCalculator
virtual ~GlobalLeptonTriggerCalculator()
Definition: GlobalLeptonTriggerCalculator.h:46
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
IAsgPhotonEfficiencyCorrectionTool.h
top::GlobalLeptonTriggerCalculator::GlobalLeptonTriggerCalculator
GlobalLeptonTriggerCalculator(const GlobalLeptonTriggerCalculator &rhs)=delete
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IMuonTriggerScaleFactors.h
top::GlobalLeptonTriggerCalculator::m_photonTools
std::vector< ToolHandle< IAsgPhotonEfficiencyCorrectionTool > > m_photonTools
Definition: GlobalLeptonTriggerCalculator.h:65
top::GlobalLeptonTriggerCalculator::m_globalTriggerSF
ToolHandle< ITrigGlobalEfficiencyCorrectionTool > m_globalTriggerSF
Definition: GlobalLeptonTriggerCalculator.h:60
top::GlobalLeptonTriggerCalculator::GlobalLeptonTriggerCalculator
GlobalLeptonTriggerCalculator(const std::string &name)
Definition: GlobalLeptonTriggerCalculator.cxx:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
top::GlobalLeptonTriggerCalculator::m_config
std::shared_ptr< top::TopConfig > m_config
Definition: GlobalLeptonTriggerCalculator.h:58
xAOD::SystematicEvent
SystematicEvent A simple xAOD class which we can persist into a mini-xAOD The xAOD EDM is way too com...
Definition: SystematicEvent.h:27
top::GlobalLeptonTriggerCalculator::processEvent
void processEvent(const xAOD::SystematicEvent *systEvent, bool withScaleFactorVariations)
Definition: GlobalLeptonTriggerCalculator.cxx:110
top::GlobalLeptonTriggerCalculator::m_muonTools
std::vector< ToolHandle< CP::IMuonTriggerScaleFactors > > m_muonTools
Definition: GlobalLeptonTriggerCalculator.h:64
top::GlobalLeptonTriggerCalculator::operator=
GlobalLeptonTriggerCalculator & operator=(const GlobalLeptonTriggerCalculator &rhs)=delete
ToolHandle.h
top::GlobalLeptonTriggerCalculator
Definition: GlobalLeptonTriggerCalculator.h:43
AsgTool.h
top::GlobalLeptonTriggerCalculator::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition: GlobalLeptonTriggerCalculator.cxx:33
top::GlobalLeptonTriggerCalculator::execute
StatusCode execute()
Definition: GlobalLeptonTriggerCalculator.cxx:81