xAOD::TrigElectron_v1 Class Reference

#include <TrigElectron_v1.h>

Inheritance diagram for xAOD::TrigElectron_v1:
xAOD::IParticle SG::AuxElement SG::IAuxElement

List of all members.

Public Member Functions

 TrigElectron_v1 ()
 Default constructor.
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.
Functions implementing the xAOD::IParticle interface



virtual double pt () const
 The transverse momentum ($p_T$) of the particle.
virtual double eta () const
 The pseudorapidity ($\eta$) of the particle.
virtual double phi () const
 The azimuthal angle ($\phi$) of the particle.
virtual double m () const
 The invariant mass of the particle.
virtual double e () const
 The total energy of the particle.
virtual double rapidity () const
 The true rapidity (y) of the particle.
virtual const FourMom_tp4 () const
 The full 4-momentum of the particle.
virtual Type::ObjectType type () const
 The type of the object as a simple enumeration.
Simple electron properties



uint32_t roiWord () const
 Get the RoI word that seeded the reconstruction of this object.
void setRoiWord (uint32_t roi)
 Set the RoI word that seeded the reconstruction of this object.
float zvtx () const
 Get the Z position of the vertex that the electron is associated to.
void setZvtx (float zVtx)
 Set the Z position of the vertex that the electron is associated to.
float charge () const
 Get the charge of the electron.
void setCharge (float charge)
 Set the charge of the electron.
int nTRTHits () const
 Get the number of TRT hits that were used in the reconstruction.
void setNTRTHits (int nTRTHits)
 Set the number of TRT hits that were used in the reconstruction.
int nTRTHiThresholdHits () const
 Get the number of high-threshold TRT hits used in the reconstruction.
void setNTRTHiThresholdHits (int nTRTHiThresholdHits)
 Set the number of high-threshold TRT hits used in the reconstruction.
float rcore () const
 Documentation to be added.
void setRcore (float rcore)
 Documentation to be added.
float eratio () const
 Documentation to be added.
void setEratio (float eratio)
 Documentation to be added.
float etHad () const
 Documentation to be added.
void setEtHad (float etHad)
 Documentation to be added.
float etHad1 () const
 Documentation to be added.
void setEtHad1 (float etHad1)
 Documentation to be added.
float f0 () const
 Documentation to be added.
void setF0 (float value)
 Documentation to be added.
float f1 () const
 Documentation to be added.
void setF1 (float value)
 Documentation to be added.
float f2 () const
 Documentation to be added.
void setF2 (float value)
 Documentation to be added.
float f3 () const
 Documentation to be added.
void setF3 (float value)
 Documentation to be added.
Four-momentum properties



float trkEtaAtCalo () const
 Get the track's pseudorapidity extrapolated to the calorimeter.
void setTrkEtaAtCalo (float trEta)
 Set the track's pseudorapidity extrapolated to the calorimeter.
float trkPhiAtCalo () const
 Get the track's azimuthal angle extrapolated to the calorimeter.
void setTrkPhiAtCalo (float trPhi)
 Set the track's azimuthal angle extrapolated to the calorimeter.
float etOverPt () const
 Get $E_T / p_T$ for the electron.
void setEtOverPt (float etOverpt)
 Set $E_T / p_T$ for the electron.
float trkClusDeta () const
 The absolute value of the track-calo eta measurement difference.
float trkClusDphi () const
 The absolute value of the track-calo phi measurement difference.
void setPt (double pt)
 Set the transverse momentum ($p_T$) of the electron.
float caloEta () const
 Pseudorapidity ($\eta$) of the electron in the calorimeter.
void setCaloEta (float caloEta)
 Set the pseudorapidity ($\eta$) of the electron in the calorimeter.
float caloPhi () const
 Azimuthal angle ($\phi$) of the electron in the calorimeter.
void setCaloPhi (float caloPhi)
 Set the azimuthal angle ($\phi$) of the electron in the calorimeter.

Links to constituent objects



typedef ElementLink
< TrigEMClusterContainer
EMClusterLink_t
 Type of the EM cluster link.
typedef ElementLink
< TrackParticleContainer
TrackParticleLink_t
 The type of the track particle link.
const TrigEMClusteremCluster () const
 The associated EM cluster, as a simple pointer.
const EMClusterLink_temClusterLink () const
 The associated EM cluster, as an ElementLink.
void setEmClusterLink (const EMClusterLink_t &value)
 Set the ElementLink pointing to the EM cluster constituent.
const TrackParticletrackParticle () const
 The associated track particle, as a simple pointer.
const TrackParticleLink_ttrackParticleLink () const
 The associated track particle, as an ElementLink.
void setTrackParticleLink (const TrackParticleLink_t &value)
 Set the ElementLink pointing to the track particle constituent.

Detailed Description

Class describing an electron reconstructed in the HLT

The HLT reconstructs electrons in a simplified manner before using parts of the offline software to reconstruct electrons in a manner that's very similar to what the offline reconstruction is doing.

Author:
Fabrizio Salvatore <Fabrizio.Salvatore@cern.ch>
Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
Revision
631115
Date
2014-11-26 09:34:25 +0100 (Wed, 26 Nov 2014)

Constructor & Destructor Documentation

xAOD::TrigElectron_v1::TrigElectron_v1 (  ) 

Default constructor.

The default constructor doesn't do much, it just sets up the object in a reasonable state. Remember that an object created with this constructor is not usable yet. You either have to add it to a container, or give it a private auxiliary store before setting properties on it.


Member Function Documentation

double xAOD::TrigElectron_v1::e (  )  const [virtual]

The total energy of the particle.

This function gets the energy of the electron using the internal TLorentzVector. Which calculates the energy based on the eta, phi, pt, and m properties.

Returns:
The energy of the electron

Implements xAOD::IParticle.

const TrigElectron_v1::FourMom_t & xAOD::TrigElectron_v1::p4 (  )  const [virtual]

The full 4-momentum of the particle.

This is one of the trickier functions. It provides the 4-momentum of the object as a TLorentzVector. It does this by caching such an object internally, and returning a reference to this cached object.

Returns:
The full 4-momentum of the electron

Implements xAOD::IParticle.

double xAOD::TrigElectron_v1::rapidity (  )  const [virtual]

The true rapidity (y) of the particle.

This function gets the rapidity of the electron using the internal TLorentzVector. Which calculates the rapidity based on the eta, phi, pt, and m properties.

Returns:
The rapidity (y) of the electron

Implements xAOD::IParticle.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1