|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef EGAMMAALGS_XAODEGAMMABUILDER_H
6 #define EGAMMAALGS_XAODEGAMMABUILDER_H
61 #include "GaudiKernel/ToolHandle.h"
111 template <
typename T>
113 const ToolHandle<IegammaBaseTool>&
tool,
118 "ElectronTools", {},
"Tools for dressing ONLY electrons"};
122 "PhotonTools", {},
"Tools for dressing ONLY photons"};
126 "EMClusterTool",
"egammaTools/EMClusterTool",
127 "Tool that does electron/photon final cluster building"};
131 "EMShowerTool",
"egammaTools/EMShowerBuilder",
132 "Tool that does electron/photon shower shape building"};
136 "AmbiguityTool",
"EGammaAmbiguityTool/egammaambiguitytool",
137 "Tool that does electron/photon ambiguity resolution"};
141 "ObjectQualityTool", {},
142 "Tool that adds electron/photon Object Quality info"};
148 "ElectronOutputName",
"ElectronContainer",
149 "Name of Electron Container to be created"};
153 "PhotonOutputName",
"PhotonContainer",
154 "Name of Photon Container to be created"};
158 "InputElectronRecCollectionName",
159 "ElectronSuperRecCollection",
160 "Input container for electron Super Cluster egammaRec objects"};
164 "InputPhotonRecCollectionName",
165 "PhotonSuperRecCollection",
166 "Input container for electron Super Cluster egammaRec objects"};
170 "CaloDetDescrManager",
171 "CaloDetDescrManager",
172 "SG Key for CaloDetDescrManager in the Condition Store"
177 "DummyElectronOutputName",
"",
178 "Name of Dummy Electron Container to be created"};
183 Gaudi::Property<bool>
m_isTruth {
this,
"isTruth",
false,
"is truth"};
184 Gaudi::Property<bool>
m_doPhotons {
this,
"doPhotons",
true,
"Run the Photon reconstruction"};
185 Gaudi::Property<bool>
m_doElectrons {
this,
"doElectrons",
true,
"Run the Electron reconstruction"};
Property holding a SG store/key/clid from which a ReadHandle is made.
xAOD::ElectronContainer * electronContainer
SG::ReadHandleKey< EgammaRecContainer > m_photonClusterRecContainerKey
Name of input super cluster photon egammaRec container.
ToolHandleArray< IegammaBaseTool > m_photonTools
Vector of tools for dressing ONLY photons.
StatusCode initialize() override final
Gaudi::Property< bool > m_doPhotons
StatusCode CallTool(const EventContext &ctx, const ToolHandle< IegammaBaseTool > &tool, DataVector< T > *container) const
Call a tool using contExecute and an electron or photon container.
ToolHandleArray< IegammaBaseTool > m_electronTools
Vector of tools for dressing ONLY electrons.
ToolHandle< IEMClusterTool > m_clusterTool
Tool to do the final electron/photon cluster building.
StatusCode execute(const EventContext &ctx) const override final
bool getElectron(const egammaRec *egRec, xAOD::ElectronContainer *electronContainer, const unsigned int author, const uint8_t type) const
Given an egammaRec object, a pointer to the electron container and the author, create and dress an el...
StatusCode finalize() override final
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteHandleKey< xAOD::ElectronContainer > m_electronOutputKey
Name of the electron output collection.
Definition of CaloDetDescrManager.
ToolHandle< IEGammaAmbiguityTool > m_ambiguityTool
Tool to resolve electron/photon ambiguity.
An algorithm that can be simultaneously executed in multiple threads.
std::unique_ptr< electronPearShapeAlignmentCorrection > m_deltaEta1Pear
xAODEgammaBuilder(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< EgammaRecContainer > m_electronClusterRecContainerKey
Name of input super cluster electron egammaRec container.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::WriteHandleKey< xAOD::ElectronContainer > m_dummyElectronOutputKey
Name of the dummy electron output collection.
Gaudi::Property< bool > m_isTruth
Option to do truth.
ToolHandle< IEMShowerBuilder > m_ShowerTool
Tool to compute shower shapes.
xAOD::PhotonContainer * photonContainer
Property holding a SG store/key/clid from which a WriteHandle is made.
Gaudi::Property< bool > m_doElectrons
bool getPhoton(const egammaRec *egRec, xAOD::PhotonContainer *photonContainer, const unsigned int author, uint8_t type) const
Given an egammaRec object, a pointer to the photon container and the author, create and dress a photo...
ToolHandle< IegammaOQFlagsBuilder > m_egammaOQTool
Tool to add electron/photon Object Quality info.
SG::WriteHandleKey< xAOD::PhotonContainer > m_photonOutputKey
Name of the photon output collection.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey