ATLAS Offline Software
Loading...
Searching...
No Matches
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
Handle class for reading a decoration on an object.
HypoBase(const std::string &name, ISvcLocator *pSvcLocator)
constructor, to be called by sub-class constructors
Definition HypoBase.cxx:12
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode execute(const EventContext &context) const override
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronsKey
Gaudi::Property< std::vector< std::string > > m_lhNames
TrigEgammaForwardPrecisionElectronHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandleArray< IAsgElectronLikelihoodTool > m_egammaElectronLHTools
ToolHandleArray< ITrigEgammaForwardPrecisionElectronHypoTool > m_hypoTools