ATLAS Offline Software
TrigEgammaForwardPrecisionElectronHypoAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TrigEgammaForwardPrecisionElectronHypoAlg_h
5 #define TrigEgammaForwardPrecisionElectronHypoAlg_h
6 
7 #include <string>
8 
12 #include "xAODEgamma/Electron.h"
18 
19 
25 
26  public:
27 
28  TrigEgammaForwardPrecisionElectronHypoAlg( const std::string& name, ISvcLocator* pSvcLocator );
29 
30  virtual StatusCode initialize() override;
31  virtual StatusCode execute( const EventContext& context ) const override;
32 
33  private:
34 
36 
37  Gaudi::Property< bool > m_runInView { this, "RunInView", false , "Set input DH for running in views" };
38  SG::ReadHandleKey< xAOD::ElectronContainer > m_electronsKey { this, "Electrons", "Electrons", "Electrons in roi" };
39 
40  ToolHandleArray< ITrigEgammaForwardPrecisionElectronHypoTool > m_hypoTools { this, "HypoTools", {}, "Hypo tools" };
41  ToolHandleArray<IAsgElectronLikelihoodTool> m_egammaElectronLHTools{ this, "FwdElectronLHSelectorTools", {},"Forward Likelihood tools" };
42 
43  Gaudi::Property<std::vector<std::string>> m_lhNames {this, "LHNames", {}, "LH pid names."};
44 
45  /*Luminosity info*/
46  SG::ReadDecorHandleKey<xAOD::EventInfo> m_avgMuKey { this, "averageInteractionsPerCrossingKey", "EventInfo.averageInteractionsPerCrossing", "Decoration for Average Interaction Per Crossing" };
47 
48  ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "", "Monitoring tool" };
49 
50 
51 };
52 
53 #endif //> !TRIGEGAMMAHYPO_TESTTRIGPRECISIONELECTRONHYPOALG_H
TrigCompositeUtils.h
TrigEgammaForwardPrecisionElectronHypoAlg::initialize
virtual StatusCode initialize() override
Definition: TrigEgammaForwardPrecisionElectronHypoAlg.cxx:18
SG::ReadHandleKey< xAOD::ElectronContainer >
TrigEgammaForwardPrecisionElectronHypoAlg
Implements precision electron selection for the new HLT framework.
Definition: TrigEgammaForwardPrecisionElectronHypoAlg.h:24
TrigEgammaForwardPrecisionElectronHypoAlg::m_avgMuKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_avgMuKey
Definition: TrigEgammaForwardPrecisionElectronHypoAlg.h:46
GenericMonitoringTool.h
IAsgElectronLikelihoodTool.h
TrigEgammaForwardPrecisionElectronHypoAlg::m_egammaElectronLHTools
ToolHandleArray< IAsgElectronLikelihoodTool > m_egammaElectronLHTools
Definition: TrigEgammaForwardPrecisionElectronHypoAlg.h:41
ElectronContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigEgammaForwardPrecisionElectronHypoAlg::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigEgammaForwardPrecisionElectronHypoAlg.h:48
TrigEgammaForwardPrecisionElectronHypoAlg::m_hypoTools
ToolHandleArray< ITrigEgammaForwardPrecisionElectronHypoTool > m_hypoTools
Definition: TrigEgammaForwardPrecisionElectronHypoAlg.h:40
TrigEgammaForwardPrecisionElectronHypoAlg::m_lhNames
Gaudi::Property< std::vector< std::string > > m_lhNames
Definition: TrigEgammaForwardPrecisionElectronHypoAlg.h:43
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
HypoBase
Hypothesis algorithms take the output of reco algorithms and the decision from the preceeding InputMa...
Definition: HypoBase.h:13
TrigEgammaForwardPrecisionElectronHypoAlg::m_electronsKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronsKey
Definition: TrigEgammaForwardPrecisionElectronHypoAlg.h:38
EventInfo.h
TrigEgammaForwardPrecisionElectronHypoAlg::TrigEgammaForwardPrecisionElectronHypoAlg
TrigEgammaForwardPrecisionElectronHypoAlg()
ITrigEgammaForwardPrecisionElectronHypoTool.h
TrigEgammaForwardPrecisionElectronHypoAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition: TrigEgammaForwardPrecisionElectronHypoAlg.cxx:39
HypoBase.h
ReadDecorHandle.h
Handle class for reading a decoration on an object.
Electron.h
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85
TrigEgammaForwardPrecisionElectronHypoAlg::m_runInView
Gaudi::Property< bool > m_runInView
Definition: TrigEgammaForwardPrecisionElectronHypoAlg.h:37