![]() |
ATLAS Offline Software
|
Class describing an electron reconstructed in the HLT. More...
#include <TrigElectron_v1.h>
Public Types | |
using | TypelessConstAccessor = ConstAuxElement::TypelessConstAccessor |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
using | ConstAccessor = SG::ConstAccessor< T, ALLOC > |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
using | Accessor = SG::Accessor< T, ALLOC > |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
using | Decorator = SG::Decorator< T, ALLOC > |
Public Member Functions | |
TrigElectron_v1 () | |
Default constructor. More... | |
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. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::reference_type | auxdata (const std::string &name) |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdata (const std::string &name) const |
Fetch an aux data variable, as a const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") |
Check if an aux variable is available for writing. More... | |
void | assign (const AuxElement &other, bool warnUnlocked=false) |
Assignment. More... | |
const SG::AuxVectorData * | container () const |
Return the container holding this element. More... | |
SG::AuxVectorData * | container () |
Return the container holding this element. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdataConst (const std::string &name) const |
Fetch an aux data variable, as a const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdataConst (const std::string &name, const std::string &clsname) const |
Fetch an aux data variable, as a const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritableAsDecoration (const std::string &name, const std::string &clsname="") const |
Check if an aux variable is available for writing as a decoration. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type | auxdecor (const std::string &name) const |
Fetch an aux decoration, as a non-const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type | auxdecor (const std::string &name, const std::string &clsname) const |
Fetch an aux decoration, as a non-const reference. More... | |
void | makePrivateStore () |
Create a new (empty) private store for this object. More... | |
template<class U1 > | |
void | makePrivateStore (const U1 &other, bool warnUnlocked=false) |
Create a new private store for this object and copy aux data. More... | |
template<class U1 > | |
void | makePrivateStore (const U1 *other, bool warnUnlocked=false) |
Create a new private store for this object and copy aux data. More... | |
void | releasePrivateStore () |
Release and free any private store associated with this object. More... | |
void | setStore (const SG::IConstAuxStore *store) |
Set the store associated with this object. More... | |
void | setStore (SG::IAuxStore *store) |
Set the store associated with this object. More... | |
void | setStore (const DataLink< SG::IConstAuxStore > &store) |
Set the store associated with this object. More... | |
void | setConstStore (const SG::IConstAuxStore *store) |
Synonym for setStore with IConstAuxStore . More... | |
void | setNonConstStore (SG::IAuxStore *store) |
Synonym for setStore with IAuxStore . More... | |
bool | usingPrivateStore () const |
Test to see if this object is currently using a private store. More... | |
bool | usingStandaloneStore () const |
Test to see if this object is currently using a standalone store. More... | |
const SG::IConstAuxStore * | getConstStore () const |
Return the current store, as a const interface. More... | |
SG::IAuxStore * | getStore () const |
Return the current store, as a non-const interface. More... | |
void | clearCache () |
Clear the cached aux data pointers. More... | |
const SG::auxid_set_t & | getAuxIDs () const |
Return a set of identifiers for existing data items for this object. More... | |
const SG::auxid_set_t & | getDecorIDs () const |
Return a set of identifiers for decorations for this object. More... | |
bool | hasStore () const |
Return true if this object has an associated store. More... | |
bool | hasNonConstStore () const |
Return true if this object has an associated non-const store. More... | |
bool | clearDecorations () const |
Clear all decorations. More... | |
bool | trackIndices () const |
Return true if index tracking is enabled for this object. More... | |
size_t | index () const |
Return the index of this element within its container. More... | |
size_t | index () const |
Return the index of this element within its container. More... | |
Simple electron properties | |
uint32_t | roiWord () const |
Get the RoI word that seeded the reconstruction of this object. More... | |
void | setRoiWord (uint32_t roi) |
Set the RoI word that seeded the reconstruction of this object. More... | |
float | zvtx () const |
Get the Z position of the vertex that the electron is associated to. More... | |
void | setZvtx (float zVtx) |
Set the Z position of the vertex that the electron is associated to. More... | |
float | charge () const |
Get the charge of the electron. More... | |
void | setCharge (float charge) |
Set the charge of the electron. More... | |
int | nTRTHits () const |
Get the number of TRT hits that were used in the reconstruction. More... | |
void | setNTRTHits (int nTRTHits) |
Set the number of TRT hits that were used in the reconstruction. More... | |
int | nTRTHiThresholdHits () const |
Get the number of high-threshold TRT hits used in the reconstruction. More... | |
void | setNTRTHiThresholdHits (int nTRTHiThresholdHits) |
Set the number of high-threshold TRT hits used in the reconstruction. More... | |
float | rcore () const |
Documentation to be added. More... | |
void | setRcore (float rcore) |
Documentation to be added. More... | |
float | eratio () const |
Documentation to be added. More... | |
void | setEratio (float eratio) |
Documentation to be added. More... | |
float | etHad () const |
Documentation to be added. More... | |
void | setEtHad (float etHad) |
Documentation to be added. More... | |
float | etHad1 () const |
Documentation to be added. More... | |
void | setEtHad1 (float etHad1) |
Documentation to be added. More... | |
float | f0 () const |
Documentation to be added. More... | |
void | setF0 (float value) |
Documentation to be added. More... | |
float | f1 () const |
Documentation to be added. More... | |
void | setF1 (float value) |
Documentation to be added. More... | |
float | f2 () const |
Documentation to be added. More... | |
void | setF2 (float value) |
Documentation to be added. More... | |
float | f3 () const |
Documentation to be added. More... | |
void | setF3 (float value) |
Documentation to be added. More... | |
Four-momentum properties | |
float | trkEtaAtCalo () const |
Get the track's pseudorapidity extrapolated to the calorimeter. More... | |
void | setTrkEtaAtCalo (float trEta) |
Set the track's pseudorapidity extrapolated to the calorimeter. More... | |
float | trkPhiAtCalo () const |
Get the track's azimuthal angle extrapolated to the calorimeter. More... | |
void | setTrkPhiAtCalo (float trPhi) |
Set the track's azimuthal angle extrapolated to the calorimeter. More... | |
float | etOverPt () const |
Get \(E_T / p_T\) for the electron. More... | |
void | setEtOverPt (float etOverpt) |
Set \(E_T / p_T\) for the electron. More... | |
float | trkClusDeta () const |
The absolute value of the track-calo eta measurement difference. More... | |
float | trkClusDphi () const |
The absolute value of the track-calo phi measurement difference. More... | |
void | setPt (double pt) |
Set the transverse momentum ( \(p_T\)) of the electron. More... | |
float | caloEta () const |
Pseudorapidity ( \(\eta\)) of the electron in the calorimeter. More... | |
void | setCaloEta (float caloEta) |
Set the pseudorapidity ( \(\eta\)) of the electron in the calorimeter. More... | |
float | caloPhi () const |
Azimuthal angle ( \(\phi\)) of the electron in the calorimeter. More... | |
void | setCaloPhi (float caloPhi) |
Set the azimuthal angle ( \(\phi\)) of the electron in the calorimeter. More... | |
Static Public Attributes | |
static constexpr bool | supportsThinning = true |
Mark that this type supports thinning operations. More... | |
Protected Member Functions | |
bool | noPrivateData () const |
True if this element has no private data. More... | |
bool | havePrivateData () const |
True if this element currently has private data. More... | |
bool | hadPrivateData () const |
True if this element had private data before it was added to its current container. More... | |
Private Types | |
enum | PrivateStoreState : uint8_t { PrivateStoreState::NO_PRIVATE = 0, PrivateStoreState::HAVE_PRIVATE = 1, PrivateStoreState::HAD_PRIVATE = 2 } |
The current private data state. More... | |
Private Member Functions | |
void | releasePrivateStoreForDtor () |
Out-of-line portion of destructor. More... | |
void | setIndex (size_t index, SG::AuxVectorData *container) |
Set the index/container for this element. More... | |
bool | setIndexPrivate (size_t index, SG::AuxVectorData *container) |
Set the index/container for this element. More... | |
void | makePrivateStore1 (const void *other, bool warnUnlocked) |
Create a new private store for this object and copy aux data. More... | |
void | makePrivateStore1 (const AuxElement *other, bool warnUnlocked) |
Create a new private store for this object and copy aux data. More... | |
AuxElementStandaloneData * | setStore1 (const SG::IConstAuxStore *store) |
Set the store associated with this object. More... | |
void | clearAux () |
Clear all aux data associated with this element. More... | |
void | copyAux (const ConstAuxElement &other, bool warnUnlocked=false) |
Copy aux data from another object. More... | |
void | setNoPrivateData () |
Record that this element does not have private data. More... | |
void | setHavePrivateData () |
Record that this element currently has private data. More... | |
void | setHadPrivateData () |
Record that this element used to have private data. More... | |
Private Attributes | |
const SG::AuxVectorData * | m_container |
The container of which this object is an element. More... | |
size_t | m_index |
The index of this element within its container. More... | |
PrivateStoreState | m_privateStoreState |
Functions implementing the xAOD::IParticle interface | |
typedef ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > | GenVecFourMom_t |
Base 4 Momentum type for egamma. More... | |
virtual double | pt () const |
The transverse momentum ( \(p_T\)) of the particle. More... | |
virtual double | eta () const |
The pseudorapidity ( \(\eta\)) of the particle. More... | |
virtual double | phi () const |
The azimuthal angle ( \(\phi\)) of the particle. More... | |
virtual double | m () const |
The invariant mass of the particle. More... | |
virtual double | e () const |
The total energy of the particle. More... | |
virtual double | rapidity () const |
The true rapidity (y) of the particle. More... | |
virtual FourMom_t | p4 () const |
The full 4-momentum of the particle. More... | |
GenVecFourMom_t | genvecP4 () const |
The full 4-momentum of the particle : internal egamma type. More... | |
virtual Type::ObjectType | type () const |
The type of the object as a simple enumeration. More... | |
Links to constituent objects | |
typedef ElementLink< TrigEMClusterContainer > | EMClusterLink_t |
Type of the EM cluster link. More... | |
typedef ElementLink< TrackParticleContainer > | TrackParticleLink_t |
The type of the track particle link. More... | |
const TrigEMCluster * | emCluster () const |
The associated EM cluster, as a simple pointer. More... | |
const EMClusterLink_t & | emClusterLink () const |
The associated EM cluster, as an ElementLink. More... | |
void | setEmClusterLink (const EMClusterLink_t &value) |
Set the ElementLink pointing to the EM cluster constituent. More... | |
const TrackParticle * | trackParticle () const |
The associated track particle, as a simple pointer. More... | |
const TrackParticleLink_t & | trackParticleLink () const |
The associated track particle, as an ElementLink. More... | |
void | setTrackParticleLink (const TrackParticleLink_t &value) |
Set the ElementLink pointing to the track particle constituent. More... | |
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 39 of file TrigElectron_v1.h.
|
inherited |
Definition at line 572 of file AuxElement.h.
|
inherited |
Definition at line 569 of file AuxElement.h.
|
inherited |
Definition at line 575 of file AuxElement.h.
Type of the EM cluster link.
Definition at line 188 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 65 of file TrigElectron_v1.h.
The type of the track particle link.
Definition at line 198 of file TrigElectron_v1.h.
|
inherited |
Definition at line 566 of file AuxElement.h.
|
strongprivateinherited |
The current private data state.
Enumerator | |
---|---|
NO_PRIVATE | |
HAVE_PRIVATE | |
HAD_PRIVATE |
Definition at line 131 of file IAuxElement.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.
|
inherited |
Assignment.
other | The object from which we're assigning. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
We don't copy container/index, as assignment doesn't change where this object is. However, if we have aux data, then we copy aux data if we're copying from an object that also has it; otherwise, if we're copying from an object with no aux data, then we clear ours.
|
inherited |
Fetch an aux data variable, as a non-const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
or ConstAccessor
classes.
|
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.
name | Name of the aux variable |
clsname | The name of the associated class. May be blank |
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.
name | Name of the aux variable |
clsname | The name of the associated class. May be blank |
Definition at line 118 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor
class.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor
class.
|
inherited |
Fetch an aux decoration, as a non-const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.
|
inherited |
Fetch an aux decoration, as a non-const reference.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.
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.
|
privateinherited |
Clear all aux data associated with this element.
If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData
.
Definition at line 580 of file AuxElement.cxx.
|
inherited |
Clear the cached aux data pointers.
You should call this any time something changes in the aux store that could invalidate the vector pointers.
Definition at line 339 of file AuxElement.cxx.
|
inherited |
Clear all decorations.
Erase all decorations from an associated store, restoring the state to when lock
was called.
Returns true if there were any decorations that were cleared, false if the store did not contain any decorations.
Definition at line 428 of file AuxElement.cxx.
|
inherited |
Return the container holding this element.
|
inherited |
Return the container holding this element.
|
privateinherited |
Copy aux data from another object.
other | The object from which to copy. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData
.
All aux data items from other
are copied to this object. Any aux data items associated with this object that are not present in other
are cleared. (If other
has no aux data, then all aux data items for this object are cleared.)
Definition at line 607 of file AuxElement.cxx.
|
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 51 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.
|
inherited |
Return a set of identifiers for existing data items for this object.
If this object has a private or standalone store, then information from that will be returned. Otherwise, if this element is part of a container, then information for the container will be returned. Otherwise, return an empty set.
Definition at line 355 of file AuxElement.cxx.
|
inherited |
Return the current store, as a const interface.
This will be non-zero if either a const or non-const store is associated with this object. This will fetch either a private or standalone store.
Definition at line 304 of file AuxElement.cxx.
|
inherited |
Return a set of identifiers for decorations for this object.
If this object has a private or standalone store, then information from that will be returned. Otherwise, if this element is part of a container, then information for the container will be returned. Otherwise, return an empty set.
Definition at line 378 of file AuxElement.cxx.
|
inherited |
Return the current store, as a non-const interface.
This will be non-zero if a non-const store is associated with this object. This will fetch either a private or standalone store.
Definition at line 319 of file AuxElement.cxx.
|
protectedinherited |
True if this element had private data before it was added to its current container.
|
inherited |
Return true if this object has an associated non-const store.
This will be true for either a private or standalone store.
Definition at line 411 of file AuxElement.cxx.
|
inherited |
Return true if this object has an associated store.
This will be true for either a private or standalone store.
Definition at line 398 of file AuxElement.cxx.
|
protectedinherited |
True if this element currently has private data.
|
inherited |
Return the index of this element within its container.
|
inherited |
Return the index of this element within its container.
Inherited from IAuxElement.
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.
name | Name of the auxiliary variable |
clsname | The name of the associated class. May be blank |
Definition at line 135 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inherited |
Check if an aux variable is available for writing.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
|
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.
name | Name of the auxiliary variable |
clsname | The name of the associated class. May be blank |
Definition at line 152 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inherited |
Check if an aux variable is available for writing as a decoration.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
|
inlinevirtual |
The invariant mass of the particle.
Implements xAOD::IParticle.
Definition at line 55 of file TrigElectron_v1.h.
|
inherited |
Create a new (empty) private store for this object.
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
Definition at line 192 of file AuxElement.cxx.
|
inherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
If other
is an object that has aux data, then those data will be copied; otherwise, nothing will be done.
|
inherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
If other
is an object that has aux data, then those data will be copied; otherwise, nothing will be done.
|
privateinherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
This overload handles the case where other
does have aux data.
Definition at line 565 of file AuxElement.cxx.
|
privateinherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
This overload handles the case where other
does not have aux data.
|
protectedinherited |
True if this element has no private data.
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 53 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.
|
inherited |
Release and free any private store associated with this object.
ExcBadPrivateStore
will be thrown if this object does not have a private store.
Definition at line 210 of file AuxElement.cxx.
|
privateinherited |
Out-of-line portion of destructor.
Delete a private store if we have one.
Definition at line 441 of file AuxElement.cxx.
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::setCharge | ( | float | charge | ) |
Set the charge of the electron.
|
inherited |
Synonym for setStore
with IConstAuxStore
.
store | The new store. |
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::setEtOverPt | ( | float | etOverpt | ) |
Set \(E_T / p_T\) for the electron.
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.
|
privateinherited |
Record that this element used to have private data.
|
privateinherited |
Record that this element currently has private data.
|
privateinherited |
Set the index/container for this element.
index | The index of this object within the container. |
container | The container holding this object. May be null if this object is being removed from a container. |
Usually this simply sets the index and container members of this object. However, in the case where this object has an associated private store, then we need to deal with releasing the store if the object is being added to a container, or making a new store if the object is being removed from a container.
|
privateinherited |
Set the index/container for this element.
index | The index of this object within the container. |
container | The container holding this object. May be null if this object is being removed from a container. |
This is called from setIndex
when we have a private store to deal with.
Definition at line 505 of file AuxElement.cxx.
|
inherited |
Synonym for setStore
with IAuxStore
.
store | The new store. |
|
privateinherited |
Record that this element does not have private data.
void xAOD::TrigElectron_v1::setNTRTHiThresholdHits | ( | int | nTRTHiThresholdHits | ) |
Set the number of high-threshold TRT hits used in the reconstruction.
void xAOD::TrigElectron_v1::setNTRTHits | ( | int | nTRTHits | ) |
Set the number of TRT hits that were used in the reconstruction.
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.
|
inherited |
Set the store associated with this object.
store | The new store. |
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
store | Link to the new store. |
Definition at line 269 of file AuxElement.cxx.
|
inherited |
Set the store associated with this object.
store | The new store. |
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
Definition at line 241 of file AuxElement.cxx.
|
inherited |
Set the store associated with this object.
store | The new store. |
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
Definition at line 257 of file AuxElement.cxx.
|
privateinherited |
Set the store associated with this object.
store | The new store. |
Helper for setStore
. Creates the AuxElementStandaloneData
object if needed and returns it.
store | The new store. |
Helper for setStore
. Creates the @x AuxElementStandaloneData object if needed and returns it.
Definition at line 461 of file AuxElement.cxx.
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.
|
inherited |
Return true if index tracking is enabled for this object.
Always returns true. Included here to be consistent with AuxVectorBase when standalone objects may be used as template parameters.
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 71 of file TrigElectron_v1.h.
|
inherited |
Test to see if this object is currently using a private store.
Definition at line 280 of file AuxElement.cxx.
|
inherited |
Test to see if this object is currently using a standalone store.
Test to see if this object is currently using a private store.
Definition at line 290 of file AuxElement.cxx.
float xAOD::TrigElectron_v1::zvtx | ( | ) | const |
Get the Z position of the vertex that the electron is associated to.
|
privateinherited |
The container of which this object is an element.
Should be null if this object is not within a container, except that it may also point at a private store.
Definition at line 335 of file AuxElement.h.
|
privateinherited |
The index of this element within its container.
Should be 0 if this object is not within a container.
Definition at line 128 of file IAuxElement.h.
|
privateinherited |
Definition at line 137 of file IAuxElement.h.
|
staticconstexprinherited |
Mark that this type supports thinning operations.
See AthContainers/supportsThinning.h and AthenaPoolCnvSvc/T_AthenaPoolCnv.h. Helps guide which pool converter template will be used. If false, the default pool converter will be used rather than the aux store-specific one. Ordinary xAOD type should not touch this, but may be overridden in a derived class to handle certain special cases.
Definition at line 959 of file AuxElement.h.