14#ifndef EGAMMAD3PDMAKER_ELECTRONJETDRASSOCIATOR_H
15#define EGAMMAD3PDMAKER_ELECTRONJETDRASSOCIATOR_H
23#include "GaudiKernel/ToolHandle.h"
55 const std::string& name,
56 const IInterface* parent);
73 const std::type_info& ti)
override;
96 virtual StatusCode
book() final;
119 float& signedIP,
float& PTRel);
133 {
this,
"TrackToVertexIPEstimator",
"Trk::TrackToVertexIPEstimator",
"" };
virtual StatusCode configureD3PD(IAddVariable *tree, const std::type_info &ti) override
Configure during initialization: type-check.
StatusCode findSignedIPAndPTRelEleJetPair(const xAOD::Electron *eg, const xAOD::Jet *j0, float &signedIP, float &PTRel)
Find the signed impact parameter and PTRel of EG's track relative to the beamspot.
float * m_ptrel
Variable: Relative Pt between electron and jet.
ToolHandle< ICollectionGetterRegistryTool > m_registry
Property: The ICollectionGetterRegistryTool instance.
ICollectionGetterTool * m_target
Getter defining the collection within which to index.
float * m_reducedPt
Variable: Jet pT with electron removed.
virtual StatusCode reset(const xAOD::Electron &eg) override
Start the iteration for a new association.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
unsigned int * m_jetSize
Variable: Number of jet constituents.
double m_drcut
Property: DR cut between electrons and jets.
ToolHandle< Trk::ITrackToVertexIPEstimator > m_trackToVertexIPEstimator
Property: Tool for the estimation of the IPs to the vertex.
virtual StatusCode book() final
Create any needed tuple variables.
virtual const xAOD::Jet * next() override
Return a pointer to the next element in the association.
StatusCode findReducedPt(const xAOD::Electron *eg, const xAOD::Jet *j, float &reducedPt)
Find the pT of the jet with electron removed.
float * m_dr
Variable: DR between electron and jet.
float * m_signedIP
Variable: Signed impact parameter between electron and jet.
ElectronJetDRAssociator(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
MultiAssociationTool< xAOD::Electron, xAOD::Jet > Base
const xAOD::Electron * m_eg
std::string m_vertexContainerName
Property: Vertex container name.
std::string m_targetLabel
Property: Target label for the getter for the jets to which to associate.
Common interface for adding a variable to a tuple.
Class describing an electron.
Block filler tool for noisy FEB information.
Ensure that the ATLAS eigen extensions are properly loaded.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Jet_v1 Jet
Definition of the current "jet version".
Electron_v1 Electron
Definition of the current "egamma version".