![]() |
ATLAS Offline Software
|
Class describing an electron reconstructed in the HLT. More...
#include <TrigElectron_v1.h>
Public Types | |
Functions describing the 4-momentum of the object | |
| typedef TLorentzVector | FourMom_t |
| Definition of the 4-momentum type. | |
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. | |
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. | |
Functions for getting and setting user properties | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
| Fetch an aux data variable, as a non-const reference. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
| Fetch an aux data variable, as a const reference. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
| Check if a user property is available for reading or not. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
| Check if a user property is available for writing or not. | |
Functions implementing the xAOD::IParticle interface | |
| typedef ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > | GenVecFourMom_t |
| Base 4 Momentum type for egamma. | |
| 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 FourMom_t | p4 () const |
| The full 4-momentum of the particle. | |
| GenVecFourMom_t | genvecP4 () const |
| The full 4-momentum of the particle : internal egamma type. | |
| virtual Type::ObjectType | type () const |
| The type of the object as a simple enumeration. | |
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 TrigEMCluster * | emCluster () const |
| The associated EM cluster, as a simple pointer. | |
| const EMClusterLink_t & | emClusterLink () const |
| The associated EM cluster, as an ElementLink. | |
| void | setEmClusterLink (const EMClusterLink_t &value) |
| Set the ElementLink pointing to the EM cluster constituent. | |
| const TrackParticle * | trackParticle () const |
| The associated track particle, as a simple pointer. | |
| const TrackParticleLink_t & | trackParticleLink () const |
| The associated track particle, as an ElementLink. | |
| void | setTrackParticleLink (const TrackParticleLink_t &value) |
| Set the ElementLink pointing to the track particle constituent. | |
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.
Definition at line 40 of file TrigElectron_v1.h.
Type of the EM cluster link.
Definition at line 189 of file TrigElectron_v1.h.
|
inherited |
Definition of the 4-momentum type.
Definition at line 69 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
| typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> > xAOD::TrigElectron_v1::GenVecFourMom_t |
Base 4 Momentum type for egamma.
Definition at line 66 of file TrigElectron_v1.h.
The type of the track particle link.
Definition at line 199 of file TrigElectron_v1.h.
| 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.
Definition at line 23 of file TrigElectron_v1.cxx.
|
inlineinherited |
Fetch an aux data variable, as a non-const reference.
This function provides an easy way for users to decorate objects with auxiliary data.
Take note that this function is slow. Should not be used inside time-critical code.
Definition at line 98 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inlineinherited |
Fetch an aux data variable, as a const reference.
This function provides an easy way for users to retrieve auxiliary decorations from an object.
Take note that this function is slow. Should not be used inside time-critical code.
Definition at line 118 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
| float xAOD::TrigElectron_v1::caloEta | ( | ) | const |
Pseudorapidity ( \(\eta\)) of the electron in the calorimeter.
| float xAOD::TrigElectron_v1::caloPhi | ( | ) | const |
Azimuthal angle ( \(\phi\)) of the electron in the calorimeter.
| float xAOD::TrigElectron_v1::charge | ( | ) | const |
Get the charge of the electron.
|
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.
Implements xAOD::IParticle.
Definition at line 41 of file TrigElectron_v1.cxx.
| const TrigEMCluster * xAOD::TrigElectron_v1::emCluster | ( | ) | const |
The associated EM cluster, as a simple pointer.
| const EMClusterLink_t & xAOD::TrigElectron_v1::emClusterLink | ( | ) | const |
The associated EM cluster, as an ElementLink.
| float xAOD::TrigElectron_v1::eratio | ( | ) | const |
Documentation to be added.
|
inlinevirtual |
The pseudorapidity ( \(\eta\)) of the particle.
Implements xAOD::IParticle.
Definition at line 52 of file TrigElectron_v1.h.
| float xAOD::TrigElectron_v1::etHad | ( | ) | const |
Documentation to be added.
| float xAOD::TrigElectron_v1::etHad1 | ( | ) | const |
Documentation to be added.
| float xAOD::TrigElectron_v1::etOverPt | ( | ) | const |
Get \(E_T / p_T\) for the electron.
| float xAOD::TrigElectron_v1::f0 | ( | ) | const |
Documentation to be added.
| float xAOD::TrigElectron_v1::f1 | ( | ) | const |
Documentation to be added.
| float xAOD::TrigElectron_v1::f2 | ( | ) | const |
Documentation to be added.
| float xAOD::TrigElectron_v1::f3 | ( | ) | const |
Documentation to be added.
| TrigElectron_v1::GenVecFourMom_t xAOD::TrigElectron_v1::genvecP4 | ( | ) | const |
The full 4-momentum of the particle : internal egamma type.
this provides a GenVector (pt, eta, phi, m)
Definition at line 69 of file TrigElectron_v1.cxx.
| void xAOD::TrigElectron_v1::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.
|
inlineinherited |
Check if a user property is available for reading or not.
This function should be used to check if a user property which may or may not exist, is set on the object.
Definition at line 135 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inlineinherited |
Check if a user property is available for writing or not.
This function can be used to check whether it will be possible to set a user property on the object.
Definition at line 152 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inlinevirtual |
The invariant mass of the particle.
Implements xAOD::IParticle.
Definition at line 56 of file TrigElectron_v1.h.
| int xAOD::TrigElectron_v1::nTRTHiThresholdHits | ( | ) | const |
Get the number of high-threshold TRT hits used in the reconstruction.
| int xAOD::TrigElectron_v1::nTRTHits | ( | ) | const |
Get the number of TRT hits that were used in the reconstruction.
|
virtual |
The full 4-momentum of the particle.
This function provides the 4-momentum of the object as a TLorentzVector.
Implements xAOD::IParticle.
Definition at line 62 of file TrigElectron_v1.cxx.
|
inlinevirtual |
The azimuthal angle ( \(\phi\)) of the particle.
Implements xAOD::IParticle.
Definition at line 54 of file TrigElectron_v1.h.
|
virtual |
The transverse momentum ( \(p_T\)) of the particle.
Implements xAOD::IParticle.
|
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.
Implements xAOD::IParticle.
Definition at line 52 of file TrigElectron_v1.cxx.
| float xAOD::TrigElectron_v1::rcore | ( | ) | const |
Documentation to be added.
| uint32_t xAOD::TrigElectron_v1::roiWord | ( | ) | const |
Get the RoI word that seeded the reconstruction of this object.
| void xAOD::TrigElectron_v1::setCaloEta | ( | float | caloEta | ) |
Set the pseudorapidity ( \(\eta\)) of the electron in the calorimeter.
| void xAOD::TrigElectron_v1::setCaloPhi | ( | float | caloPhi | ) |
Set the azimuthal angle ( \(\phi\)) of the electron in the calorimeter.
| void xAOD::TrigElectron_v1::setEmClusterLink | ( | const EMClusterLink_t & | value | ) |
Set the ElementLink pointing to the EM cluster constituent.
| void xAOD::TrigElectron_v1::setEratio | ( | float | eratio | ) |
Documentation to be added.
| void xAOD::TrigElectron_v1::setEtHad | ( | float | etHad | ) |
Documentation to be added.
| void xAOD::TrigElectron_v1::setEtHad1 | ( | float | etHad1 | ) |
Documentation to be added.
| void xAOD::TrigElectron_v1::setF0 | ( | float | value | ) |
Documentation to be added.
| void xAOD::TrigElectron_v1::setF1 | ( | float | value | ) |
Documentation to be added.
| void xAOD::TrigElectron_v1::setF2 | ( | float | value | ) |
Documentation to be added.
| void xAOD::TrigElectron_v1::setF3 | ( | float | value | ) |
Documentation to be added.
| void xAOD::TrigElectron_v1::setNTRTHiThresholdHits | ( | int | nTRTHiThresholdHits | ) |
| void xAOD::TrigElectron_v1::setNTRTHits | ( | int | nTRTHits | ) |
| void xAOD::TrigElectron_v1::setPt | ( | double | pt | ) |
Set the transverse momentum ( \(p_T\)) of the electron.
| void xAOD::TrigElectron_v1::setRcore | ( | float | rcore | ) |
Documentation to be added.
| void xAOD::TrigElectron_v1::setRoiWord | ( | uint32_t | roi | ) |
Set the RoI word that seeded the reconstruction of this object.
| void xAOD::TrigElectron_v1::setTrackParticleLink | ( | const TrackParticleLink_t & | value | ) |
Set the ElementLink pointing to the track particle constituent.
| void xAOD::TrigElectron_v1::setTrkEtaAtCalo | ( | float | trEta | ) |
Set the track's pseudorapidity extrapolated to the calorimeter.
| void xAOD::TrigElectron_v1::setTrkPhiAtCalo | ( | float | trPhi | ) |
Set the track's azimuthal angle extrapolated to the calorimeter.
| void xAOD::TrigElectron_v1::setZvtx | ( | float | zVtx | ) |
Set the Z position of the vertex that the electron is associated to.
| const TrackParticle * xAOD::TrigElectron_v1::trackParticle | ( | ) | const |
The associated track particle, as a simple pointer.
| const TrackParticleLink_t & xAOD::TrigElectron_v1::trackParticleLink | ( | ) | const |
The associated track particle, as an ElementLink.
| float xAOD::TrigElectron_v1::trkClusDeta | ( | ) | const |
The absolute value of the track-calo eta measurement difference.
| float xAOD::TrigElectron_v1::trkClusDphi | ( | ) | const |
The absolute value of the track-calo phi measurement difference.
| float xAOD::TrigElectron_v1::trkEtaAtCalo | ( | ) | const |
Get the track's pseudorapidity extrapolated to the calorimeter.
| float xAOD::TrigElectron_v1::trkPhiAtCalo | ( | ) | const |
Get the track's azimuthal angle extrapolated to the calorimeter.
|
inlinevirtual |
The type of the object as a simple enumeration.
Implements xAOD::IParticle.
Definition at line 72 of file TrigElectron_v1.h.
| float xAOD::TrigElectron_v1::zvtx | ( | ) | const |
Get the Z position of the vertex that the electron is associated to.