![]() |
ATLAS Offline Software
|
#include <Egamma_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 | |
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... | |
xAOD::Egamma Assignment operator | |
Egamma_v1 & | operator= (const Egamma_v1 &eg) |
Assignment Operator. Using the assignment of SG::AuxElement. 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... | |
xAOD::Egamma constructors | |
The xAOD::Egamma is not supposed to be created directly, only via xAOD::Electron and xAOD::Photon. xAOD::Egamma is an abstract class. It does not define the type() pure virtual function from IParticle The default constructors is protected | |
Egamma_v1 () | |
Default constructor. More... | |
Egamma_v1 (const Egamma_v1 &eg) | |
Copy constructor (default implementation) 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 |
xAOD::IParticle functions | |
These are already virtual due to IParticle | |
typedef IParticle::FourMom_t | FourMom_t |
Definition of the 4-momentum type. More... | |
virtual double | pt () const override final |
The transverse momentum ( ) of the particle. More... | |
virtual double | eta () const override final |
The pseudorapidity ( ) of the particle. More... | |
virtual double | phi () const override final |
The azimuthal angle ( ) of the particle. More... | |
virtual double | m () const override final |
The invariant mass of the particle. More... | |
virtual double | e () const override final |
The total energy of the particle. More... | |
virtual double | rapidity () const override final |
The true rapidity (y) of the particle. More... | |
virtual FourMom_t | p4 () const override final |
The full 4-momentum of the particle as a TLoretzVector. More... | |
virtual Type::ObjectType | type () const override=0 |
The type of the object as a simple enumeration, remains pure virtual in e/gamma. More... | |
xAOD::Egamma 4-Mom functions | |
typedef ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > | GenVecFourMom_t |
Base 4 Momentum type for egamma. More... | |
GenVecFourMom_t | genvecP4 () const |
The full 4-momentum of the particle : internal egamma type. More... | |
void | setP4 (float pt, float eta, float phi, float m) |
set the 4-vec More... | |
void | setPt (float pt) |
set the Pt More... | |
void | setEta (float eta) |
set the eta More... | |
void | setPhi (float phi) |
set the phi More... | |
void | setM (float m) |
set the Mass More... | |
xAOD::Egamma 4x4 Covariance Matrix | |
typedef Eigen::Matrix< float, 4, 4 > | EgammaCovMatrix_t |
4x4 Covariance Matrix in EtEtaPhiM (needs decision) More... | |
EgammaCovMatrix_t | covMatrix () const |
Returns the 4x4 symmetric covariance matrix . More... | |
void | setCovMatrix (const EgammaCovMatrix_t &cov) |
set the 4x4 symmetric covariance matrix . More... | |
xAOD::Egamma Pointer to CaloClusters | |
typedef std::vector< ElementLink< CaloClusterContainer > > | CLELVec_t |
Helper type definition. More... | |
size_t | nCaloClusters () const |
Return the number of xAOD::CaloClusters that define the electron candidate. More... | |
const xAOD::CaloCluster * | caloCluster (size_t index=0) const |
Pointer to the xAOD::CaloCluster/s that define the electron candidate. More... | |
const ElementLink< CaloClusterContainer > & | caloClusterLink (size_t index=0) const |
ElementLink to the xAOD::CaloCluster/s that match the electron candidate. More... | |
const CLELVec_t & | caloClusterLinks () const |
Get all cluster links. More... | |
void | setCaloClusterLinks (const CLELVec_t &links) |
set Pointer to the xAOD::CaloCluster More... | |
Definition at line 56 of file Egamma_v1.h.
|
inherited |
Definition at line 572 of file AuxElement.h.
typedef std::vector< ElementLink< CaloClusterContainer > > xAOD::Egamma_v1::CLELVec_t |
Helper type definition.
Definition at line 174 of file Egamma_v1.h.
|
inherited |
Definition at line 569 of file AuxElement.h.
|
inherited |
Definition at line 575 of file AuxElement.h.
typedef Eigen::Matrix<float,4,4> xAOD::Egamma_v1::EgammaCovMatrix_t |
4x4 Covariance Matrix in EtEtaPhiM (needs decision)
Definition at line 148 of file Egamma_v1.h.
Definition of the 4-momentum type.
Definition at line 107 of file Egamma_v1.h.
typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> > xAOD::Egamma_v1::GenVecFourMom_t |
Base 4 Momentum type for egamma.
Definition at line 122 of file Egamma_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.
|
protected |
Copy constructor (default implementation)
void xAOD::Egamma_v1::addAuthor | ( | uint16_t | newAuthor | ) |
|
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.
uint16_t xAOD::Egamma_v1::author | ( | uint16_t | bitmask = EgammaParameters::AuthorALL | ) | const |
|
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.
const xAOD::CaloCluster * xAOD::Egamma_v1::caloCluster | ( | size_t | index = 0 | ) | const |
Pointer to the xAOD::CaloCluster/s that define the electron candidate.
Definition at line 388 of file Egamma_v1.cxx.
const ElementLink< CaloClusterContainer > & xAOD::Egamma_v1::caloClusterLink | ( | size_t | index = 0 | ) | const |
ElementLink to the xAOD::CaloCluster/s that match the electron candidate.
Definition at line 401 of file Egamma_v1.cxx.
|
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.
Egamma_v1::EgammaCovMatrix_t xAOD::Egamma_v1::covMatrix | ( | ) | const |
|
finaloverridevirtual |
The total energy of the particle.
Implements xAOD::IParticle.
Definition at line 90 of file Egamma_v1.cxx.
|
finaloverridevirtual |
The pseudorapidity ( ) of the particle.
Implements xAOD::IParticle.
Definition at line 70 of file Egamma_v1.cxx.
Egamma_v1::GenVecFourMom_t xAOD::Egamma_v1::genvecP4 | ( | ) | const |
The full 4-momentum of the particle : internal egamma type.
Depends on return value optimization.
Definition at line 86 of file Egamma_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.
|
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.
float xAOD::Egamma_v1::isolation | ( | const Iso::IsolationType | information | ) | const |
Accessor to Isolation values , this just returns the value without internaly checking if it exists.
Will lead to an exception if the information is not available
Definition at line 266 of file Egamma_v1.cxx.
bool xAOD::Egamma_v1::isolation | ( | float & | value, |
const Iso::IsolationType | information | ||
) | const |
float xAOD::Egamma_v1::isolationCaloCorrection | ( | const Iso::IsolationFlavour | flavour, |
const Iso::IsolationCaloCorrection | corr, | ||
const Iso::IsolationCorrectionParameter | param | ||
) | const |
Accessor for flavour and type depended Isolation Calo corrections , this just returns the correction without internaly checking if it exists.
Will lead to an exception if the information is not available
Definition at line 292 of file Egamma_v1.cxx.
bool xAOD::Egamma_v1::isolationCaloCorrection | ( | float & | value, |
const Iso::IsolationFlavour | flavour, | ||
const Iso::IsolationCaloCorrection | corr, | ||
const Iso::IsolationCorrectionParameter | param | ||
) | const |
Accessor for flavour and type depended Isolation Calo correction.
Isolation corrections.
Definition at line 281 of file Egamma_v1.cxx.
bool xAOD::Egamma_v1::isolationCaloCorrection | ( | float & | value, |
Iso::IsolationType | type, | ||
Iso::IsolationCaloCorrection | corr | ||
) | const |
float xAOD::Egamma_v1::isolationCaloCorrection | ( | Iso::IsolationType | type, |
Iso::IsolationCaloCorrection | corr | ||
) | const |
Accessor for type depended Isolation Calo corrections , this just returns the correction without internaly checking if it exists.
Will lead to an exception if the information is not available
Definition at line 318 of file Egamma_v1.cxx.
std::bitset< 32 > xAOD::Egamma_v1::isolationCorrectionBitset | ( | const Iso::IsolationFlavour | flavour | ) | const |
Accessor to Isolation corection Bitset , this just returns the bitset without internaly checking if it exists.
Will lead to an exception if the information is not available
Definition at line 363 of file Egamma_v1.cxx.
bool xAOD::Egamma_v1::isolationCorrectionBitset | ( | std::bitset< 32 > & | value, |
const Iso::IsolationFlavour | flavour | ||
) | const |
Accessor for Isolation corection Bitset.
Definition at line 353 of file Egamma_v1.cxx.
float xAOD::Egamma_v1::isolationTrackCorrection | ( | const Iso::IsolationFlavour | flavour, |
const Iso::IsolationTrackCorrection | corr | ||
) | const |
Accessor to Isolation Track corrections , this just returns the correction without internaly checking if it exists.
Will lead to an exception if the information is not available
Definition at line 340 of file Egamma_v1.cxx.
bool xAOD::Egamma_v1::isolationTrackCorrection | ( | float & | value, |
const Iso::IsolationFlavour | flavour, | ||
const Iso::IsolationTrackCorrection | corr | ||
) | const |
|
inline |
old Accessor to Isolation values , this just returns the value without internaly checking if it exists.
Will lead to an exception if the information is not available
Definition at line 263 of file Egamma_v1.h.
|
inline |
old Accessor for Isolation values.
Definition at line 257 of file Egamma_v1.h.
float xAOD::Egamma_v1::likelihoodValue | ( | const std::string & | LHValue = std::string("LHValue") | ) | const |
Return the LH value as float If the LH Value is not stored in this xAOD::Egamma, an exception will occur.
bool xAOD::Egamma_v1::likelihoodValue | ( | float & | value, |
const std::string & | LHValue = std::string("LHValue") |
||
) | const |
Return the LH value as float If the LH decision is stored in this xAOD::Egamma, then the function fills 'value' with the decision (reference) and returns 'true', otherwise it returns 'false', and does not touch 'value'.
|
finaloverridevirtual |
The invariant mass of the particle.
Implements xAOD::IParticle.
Definition at line 80 of file Egamma_v1.cxx.
|
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.
size_t xAOD::Egamma_v1::nCaloClusters | ( | ) | const |
Return the number of xAOD::CaloClusters that define the electron candidate.
Implementation of the CaloCluster accessor functions.
Definition at line 377 of file Egamma_v1.cxx.
|
protectedinherited |
True if this element has no private data.
Assignment Operator. Using the assignment of SG::AuxElement.
Definition at line 53 of file Egamma_v1.cxx.
uint32_t xAOD::Egamma_v1::OQ | ( | ) | const |
Return the object quality bit word.
Definition at line 242 of file Egamma_v1.cxx.
|
finaloverridevirtual |
Check if the egamma object pass a selection menu (using the name) If the menu decision is stored in this xAOD::Egamma, then the function fills 'value' with the decision (reference) and returns 'true', otherwise it returns 'false', and does not touch 'value'.
Check if the egamma object pass a selection menu (using the name) If the particular menu decision is not stored in this xAOD::Egamma, an exception will occur.
|
finaloverridevirtual |
The azimuthal angle ( ) of the particle.
Implements xAOD::IParticle.
Definition at line 75 of file Egamma_v1.cxx.
|
finaloverridevirtual |
The transverse momentum ( ) of the particle.
Implements xAOD::IParticle.
Definition at line 65 of file Egamma_v1.cxx.
|
finaloverridevirtual |
The true rapidity (y) of the particle.
Implements xAOD::IParticle.
Definition at line 94 of file Egamma_v1.cxx.
|
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.
Return the isEM word for a selection menu (using the name) If the particular isEM word is not stored in this xAOD::Egamma, an exception will occur.
Definition at line 442 of file Egamma_v1.cxx.
Return the isEM word for a selection menu If the menu isEM is stored in this xAOD::Egamma, then the function fills 'value' with the isEM (reference) and returns 'true', otherwise it returns 'false', and does not touch 'value'.
Definition at line 433 of file Egamma_v1.cxx.
void xAOD::Egamma_v1::setAuthor | ( | uint16_t | newAuthor | ) |
set author
Definition at line 178 of file Egamma_v1.cxx.
set Pointer to the xAOD::CaloCluster
|
inherited |
Synonym for setStore
with IConstAuxStore
.
store | The new store. |
void xAOD::Egamma_v1::setCovMatrix | ( | const EgammaCovMatrix_t & | cov | ) |
void xAOD::Egamma_v1::setEta | ( | float | eta | ) |
set the eta
Definition at line 120 of file Egamma_v1.cxx.
|
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.
bool xAOD::Egamma_v1::setIsolation | ( | float | value, |
const Iso::IsolationType | information | ||
) |
bool xAOD::Egamma_v1::setIsolationCaloCorrection | ( | float | value, |
const Iso::IsolationFlavour | flavour, | ||
const Iso::IsolationCaloCorrection | corr, | ||
const Iso::IsolationCorrectionParameter | param | ||
) |
set method for flavour and type depended Isolation Calo Corrections.
Definition at line 300 of file Egamma_v1.cxx.
bool xAOD::Egamma_v1::setIsolationCaloCorrection | ( | float | value, |
Iso::IsolationType | type, | ||
Iso::IsolationCaloCorrection | corr | ||
) |
set method for type depended Isolation Calo Corrections.
Definition at line 324 of file Egamma_v1.cxx.
bool xAOD::Egamma_v1::setIsolationCorrectionBitset | ( | uint32_t | value, |
const Iso::IsolationFlavour | flavour | ||
) |
Set method for Isolation corection Bitset.
Definition at line 369 of file Egamma_v1.cxx.
bool xAOD::Egamma_v1::setIsolationTrackCorrection | ( | float | value, |
const Iso::IsolationFlavour | flavour, | ||
const Iso::IsolationTrackCorrection | corr | ||
) |
|
inline |
old set method for Isolation values.
Definition at line 268 of file Egamma_v1.h.
void xAOD::Egamma_v1::setLikelihoodValue | ( | float | value, |
const std::string & | LHValue = std::string("LHValue") |
||
) |
Set the LHValue as float.
void xAOD::Egamma_v1::setM | ( | float | m | ) |
set the Mass
Definition at line 130 of file Egamma_v1.cxx.
|
inherited |
Synonym for setStore
with IAuxStore
.
store | The new store. |
|
privateinherited |
Record that this element does not have private data.
void xAOD::Egamma_v1::setOQ | ( | uint32_t | newOQ | ) |
Set the object quality.
Definition at line 247 of file Egamma_v1.cxx.
Set the selection decision for a menu (using the name)
void xAOD::Egamma_v1::setPhi | ( | float | phi | ) |
set the phi
Definition at line 125 of file Egamma_v1.cxx.
void xAOD::Egamma_v1::setPt | ( | float | pt | ) |
set the Pt
Definition at line 115 of file Egamma_v1.cxx.
Set the isEM word for a selection menu (using the name)
Definition at line 447 of file Egamma_v1.cxx.
bool xAOD::Egamma_v1::setShowerShapeValue | ( | float | value, |
const EgammaParameters::ShowerShapeType | information | ||
) |
|
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.
float xAOD::Egamma_v1::showerShapeValue | ( | const EgammaParameters::ShowerShapeType | information | ) | const |
Accessor to ShowerShape values , this just returns the value without internaly checking if it exists.
Will lead to an exception if the variable is not available
Definition at line 220 of file Egamma_v1.cxx.
bool xAOD::Egamma_v1::showerShapeValue | ( | float & | value, |
const EgammaParameters::ShowerShapeType | information | ||
) | const |
|
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.
|
overridepure virtual |
The type of the object as a simple enumeration, remains pure virtual in e/gamma.
Implements xAOD::IParticle.
Implemented in xAOD::Electron_v1, and xAOD::Photon_v1.
|
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.
|
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.