8#ifndef XAODTRIGEGAMMA_VERSIONS_TRIGELECTRON_V1_H
9#define XAODTRIGEGAMMA_VERSIONS_TRIGELECTRON_V1_H
17#include "AthLinks/ElementLink.h"
24#include "Math/Vector4D.h"
50 virtual double pt()
const;
58 virtual double e()
const;
66 typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> >
GenVecFourMom_t;
72 virtual Type::ObjectType
type()
const {
return Type::TrigElectron; }
A number of constexpr particle constants to avoid hardcoding them directly in various places.
TLorentzVector FourMom_t
Definition of the 4-momentum type.
virtual FourMom_t p4() const
The full 4-momentum of the particle.
float trkClusDeta() const
The absolute value of the track-calo eta measurement difference.
uint32_t roiWord() const
Get the RoI word that seeded the reconstruction of this object.
float f1() const
Documentation to be added.
const TrigEMCluster * emCluster() const
The associated EM cluster, as a simple pointer.
float zvtx() const
Get the Z position of the vertex that the electron is associated to.
int nTRTHits() const
Get the number of TRT hits that were used in the reconstruction.
void setEratio(float eratio)
Documentation to be added.
void setNTRTHiThresholdHits(int nTRTHiThresholdHits)
Set the number of high-threshold TRT hits used in the reconstruction.
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for egamma.
float charge() const
Get the charge of the electron.
float trkEtaAtCalo() const
Get the track's pseudorapidity extrapolated to the calorimeter.
int nTRTHiThresholdHits() const
Get the number of high-threshold TRT hits used in the reconstruction.
float eratio() const
Documentation to be added.
virtual double phi() const
The azimuthal angle ( ) of the particle.
void setZvtx(float zVtx)
Set the Z position of the vertex that the electron is associated to.
float trkPhiAtCalo() const
Get the track's azimuthal angle extrapolated to the calorimeter.
void setCaloEta(float caloEta)
Set the pseudorapidity ( ) of the electron in the calorimeter.
virtual double rapidity() const
The true rapidity (y) of the particle.
void setF0(float value)
Documentation to be added.
virtual double e() const
The total energy of the particle.
float etOverPt() const
Get for the electron.
float f2() const
Documentation to be added.
void setEtOverPt(float etOverpt)
Set for the electron.
void setF3(float value)
Documentation to be added.
ElementLink< TrackParticleContainer > TrackParticleLink_t
The type of the track particle link.
void setTrkPhiAtCalo(float trPhi)
Set the track's azimuthal angle extrapolated to the calorimeter.
void setTrkEtaAtCalo(float trEta)
Set the track's pseudorapidity extrapolated to the calorimeter.
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
float rcore() const
Documentation to be added.
const TrackParticleLink_t & trackParticleLink() const
The associated track particle, as an ElementLink.
virtual double eta() const
The pseudorapidity ( ) of the particle.
float f0() const
Documentation to be added.
void setF2(float value)
Documentation to be added.
float f3() const
Documentation to be added.
void setF1(float value)
Documentation to be added.
void setNTRTHits(int nTRTHits)
Set the number of TRT hits that were used in the reconstruction.
void setTrackParticleLink(const TrackParticleLink_t &value)
Set the ElementLink pointing to the track particle constituent.
void setEmClusterLink(const EMClusterLink_t &value)
Set the ElementLink pointing to the EM cluster constituent.
ElementLink< TrigEMClusterContainer > EMClusterLink_t
Type of the EM cluster link.
virtual double pt() const
The transverse momentum ( ) of the particle.
float caloEta() const
Pseudorapidity ( ) of the electron in the calorimeter.
void setRcore(float rcore)
Documentation to be added.
void setCaloPhi(float caloPhi)
Set the azimuthal angle ( ) of the electron in the calorimeter.
const TrackParticle * trackParticle() const
The associated track particle, as a simple pointer.
void setRoiWord(uint32_t roi)
Set the RoI word that seeded the reconstruction of this object.
float etHad1() const
Documentation to be added.
void init(uint32_t roi, float trkEtaAtCalo, float trkPhiAtCalo, float etOverPt, const EMClusterLink_t &clLink, const TrackParticleLink_t &tpLink)
Initialisation function, setting most properties of the object.
void setCharge(float charge)
Set the charge of the electron.
virtual double m() const
The invariant mass of the particle.
void setPt(double pt)
Set the transverse momentum ( ) of the electron.
const EMClusterLink_t & emClusterLink() const
The associated EM cluster, as an ElementLink.
void setEtHad(float etHad)
Documentation to be added.
TrigElectron_v1()
Default constructor.
void setEtHad1(float etHad1)
Documentation to be added.
float etHad() const
Documentation to be added.
float caloPhi() const
Azimuthal angle ( ) of the electron in the calorimeter.
float trkClusDphi() const
The absolute value of the track-calo phi measurement difference.
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal egamma type.
constexpr double electronMassInMeV
the mass of the electron (in MeV)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setStrategy setMatchFlag ElementLink< TrackParticleContainer >
TrackParticle_v1 TrackParticle
Reference the current persistent version:
TrigEMCluster_v1 TrigEMCluster
Define the latest version of the trigger EM cluster class.