ATLAS Offline Software
TrigEgammaPrecisionPhotonCaloIsoHypoAlg.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 TRIGEGAMMAHYPO_TRIGPHOTONCALOISOHYPOALG_PRECISION_H
5 #define TRIGEGAMMAHYPO_TRIGPHOTONCALOISOHYPOALG_PRECISION_H 1
6 
7 #include <string>
8 
9 #include "GaudiKernel/ToolHandle.h"
12 #include "xAODEgamma/Photon.h"
16 
17 
23  public:
24 
25  TrigEgammaPrecisionPhotonCaloIsoHypoAlg( const std::string& name, ISvcLocator* pSvcLocator );
26 
27  virtual StatusCode initialize() override;
28  virtual StatusCode execute( const EventContext& context ) const override;
29 
30  private:
31 
32  ToolHandleArray< ITrigEgammaPrecisionPhotonCaloIsoHypoTool > m_hypoTools { this, "HypoTools", {}, "Hypo tools" };
33  SG::ReadHandleKey< xAOD::PhotonContainer > m_photonsKey { this, "Photons", "", "Photons in roi" };
34  SG::WriteHandleKey< xAOD::PhotonContainer > m_IsophotonsKey { this, "IsoPhotons", "", "Output isolated photon container" };
35 
36  //Gaudi::Property<std::vector<std::string>> m_isemNames {this, "IsEMNames", {}, "IsEM pid names."};
37  // Should I add here the isolation tool and run it as in Egamma reconstruction?
38 
39 };
40 
41 #endif //> !TRIGEGAMMAHYPO_TESTTRIGPHOTONCALOISOHYPOALG_H
TrigEgammaPrecisionPhotonCaloIsoHypoAlg::m_photonsKey
SG::ReadHandleKey< xAOD::PhotonContainer > m_photonsKey
Definition: TrigEgammaPrecisionPhotonCaloIsoHypoAlg.h:33
TrigEgammaPrecisionPhotonCaloIsoHypoAlg::TrigEgammaPrecisionPhotonCaloIsoHypoAlg
TrigEgammaPrecisionPhotonCaloIsoHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigEgammaPrecisionPhotonCaloIsoHypoAlg.cxx:14
TrigCompositeUtils.h
TrigEgammaPrecisionPhotonCaloIsoHypoAlg::m_IsophotonsKey
SG::WriteHandleKey< xAOD::PhotonContainer > m_IsophotonsKey
Definition: TrigEgammaPrecisionPhotonCaloIsoHypoAlg.h:34
TrigEgammaPrecisionPhotonCaloIsoHypoAlg
Implements egamma calorimeter isolation selection for precision photon triggers.
Definition: TrigEgammaPrecisionPhotonCaloIsoHypoAlg.h:22
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
ITrigEgammaPrecisionPhotonCaloIsoHypoTool.h
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
Photon.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigEgammaPrecisionPhotonCaloIsoHypoAlg::initialize
virtual StatusCode initialize() override
Definition: TrigEgammaPrecisionPhotonCaloIsoHypoAlg.cxx:19
TrigEgammaPrecisionPhotonCaloIsoHypoAlg::m_hypoTools
ToolHandleArray< ITrigEgammaPrecisionPhotonCaloIsoHypoTool > m_hypoTools
Definition: TrigEgammaPrecisionPhotonCaloIsoHypoAlg.h:32
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
HypoBase
Hypothesis algorithms take the output of reco algorithms and the decision from the preceeding InputMa...
Definition: HypoBase.h:13
TrigEgammaPrecisionPhotonCaloIsoHypoAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition: TrigEgammaPrecisionPhotonCaloIsoHypoAlg.cxx:32
PhotonAuxContainer.h
HypoBase.h
PhotonContainer.h