ATLAS Offline Software
Loading...
Searching...
No Matches
TrigEgammaPrecisionElectronHypoAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGEGAMMAHYPO_TRIGPRECISIONELECTRONHYPOALG_PRECISION_H
5#define TRIGEGAMMAHYPO_TRIGPRECISIONELECTRONHYPOALG_PRECISION_H 1
6
7#include <string>
8
12#include "xAODEgamma/Electron.h"
21
27
28 public:
29
30 TrigEgammaPrecisionElectronHypoAlg( const std::string& name, ISvcLocator* pSvcLocator );
31
32 virtual StatusCode initialize() override;
33 virtual StatusCode execute( const EventContext& context ) const override;
34
35 private:
36
38
39 Gaudi::Property< bool > m_runInView { this, "RunInView", false , "Set input DH for running in views" };
40
41 SG::ReadHandleKey< xAOD::ElectronContainer > m_electronsKey { this, "Electrons", "Electrons", "Electrons in roi" };
42
43 ToolHandleArray< ITrigEgammaPrecisionElectronHypoTool > m_hypoTools { this, "HypoTools", {}, "Hypo tools" };
44 PublicToolHandleArray<IAsgElectronIsEMSelector> m_egammaElectronCBTools{ this, "ElectronCBSelectorTools", {},"Cut-based tools" };
45 PublicToolHandleArray<IAsgElectronLikelihoodTool> m_egammaElectronLHTools{ this, "ElectronLHSelectorTools", {},"Likelihood tools" };
46 PublicToolHandleArray<IAsgElectronLikelihoodTool> m_egammaElectronDNNTools{ this, "ElectronDNNSelectorTools", {},"DNN tools" };
47
48 Gaudi::Property<std::vector<std::string>> m_cbNames {this, "CBNames", {}, "CB pid names."};
49 Gaudi::Property<std::vector<std::string>> m_lhNames {this, "LHNames", {}, "LH pid names."};
50 Gaudi::Property<std::vector<std::string>> m_dnnNames {this, "DNNNames", {}, "DNN pid names."};
51 /*Luminosity info*/
52 SG::ReadDecorHandleKey<xAOD::EventInfo> m_avgMuKey { this, "averageInteractionsPerCrossingKey", "EventInfo.averageInteractionsPerCrossing", "Decoration for Average Interaction Per Crossing" };
53 ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "", "Monitoring tool" };
54
55
62
63};
64
65#endif //> !TRIGEGAMMAHYPO_TESTTRIGPRECISIONELECTRONHYPOALG_H
Handle class for reading a decoration on an object.
Handle class for adding a decoration to 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.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
virtual StatusCode execute(const EventContext &context) const override
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_decorD0Key
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronsKey
PublicToolHandleArray< IAsgElectronIsEMSelector > m_egammaElectronCBTools
Gaudi::Property< std::vector< std::string > > m_dnnNames
Gaudi::Property< std::vector< std::string > > m_lhNames
ToolHandle< GenericMonitoringTool > m_monTool
TrigEgammaPrecisionElectronHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
PublicToolHandleArray< IAsgElectronLikelihoodTool > m_egammaElectronDNNTools
ToolHandleArray< ITrigEgammaPrecisionElectronHypoTool > m_hypoTools
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_decorClPhiKey
PublicToolHandleArray< IAsgElectronLikelihoodTool > m_egammaElectronLHTools
Gaudi::Property< std::vector< std::string > > m_cbNames
SG::ReadDecorHandleKey< xAOD::EventInfo > m_avgMuKey
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_decorClEtaKey