|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef EGAMMAD3PDANALYSIS_EGAMMATRUTHALG_H
14 #define EGAMMAD3PDANALYSIS_EGAMMATRUTHALG_H
24 #include "GaudiKernel/ToolHandle.h"
87 float& depthCalo)
const;
95 {
this,
"InputKey",
"",
"SG key for the input container." };
99 {
this,
"OutputKey",
"",
"SG key for the output container." };
117 ToolHandle<Trk::IParticleCaloExtensionTool>
m_exten
118 {
this,
"ParticleCaloExtensionTool",
"",
"Extrapolator to calorimeter." };
125 #endif // not EGAMMAD3PDANALYSIS_EGAMMATRUTHALG_H
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
ToolHandle< Trk::IParticleCaloExtensionTool > m_exten
Property: Extrapolation tool to calorimeter.
std::string m_auxPrefix
Property: Prefix to add to aux data items.
bool isAccepted(const xAOD::TruthParticle &tp, const xAOD::TruthParticleContainer &cont, float &iso) const
Test to see if we accept a particle.
float m_etaMax
Property: Maximum eta.
float m_photonEtIsoMax
Property: Maximum isolation cone energy allowed to keep a photon.
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteHandleKey< xAOD::TruthParticleContainer > m_outputKey
Property: Name of the output container.
Select egtruth particles.
Block filler tool for noisy FEB information.
Property holding a SG store/key/clid from which a WriteHandle is made.
float m_photonPtMin
Property: Minimum pt for photons.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a truth particle in the MC record.
egammaTruthAlg(const std::string &name, ISvcLocator *svcloc)
Standard Gaudi algorithm constructor.
virtual StatusCode execute(const EventContext &ctx) const override
Standard Gaudi execute method.
Property holding a SG store/key/clid from which a WriteHandle is made.
float m_isoCone
Property: Isolation cone width.
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_inputKey
Property: Name of the input container.
float computeIso(const xAOD::TruthParticle &tp, const xAOD::TruthParticleContainer &cont) const
Compute isolation around a particle.
float m_electronPtMin
Property: Minimum pt for electrons.
StatusCode findImpact(const xAOD::TruthParticle &tp, float &etaCalo, float &phiCalo, float &depthCalo) const
Find the impact of a particle in the calorimeter.