|
ATLAS Offline Software
|
#include <Electron_v1.h>
|
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...
|
|
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) |
| Create a new private store for this object and copy aux data. More...
|
|
template<class U1 > |
void | makePrivateStore (const U1 *other) |
| 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...
|
|
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...
|
|
|
| Electron_v1 () |
| Default constructor. No store is attached. More...
|
|
| Electron_v1 (const Electron_v1 &el) |
| Copy ctor. This involves copying the entire Auxilary store (Deep copy). More...
|
|
|
Electron_v1 & | operator= (const Electron_v1 &el) |
| Assignment Operator. Ends up using the assignment of AuxElement for the store. More...
|
|
|
float | charge () const |
| Obtain the charge of the object. More...
|
|
void | setCharge (float charge) |
| set the charge of the object More...
|
|
|
virtual Type::ObjectType | type () const override final |
| The type of the object as a simple enumeration. More...
|
|
|
bool | trackCaloMatchValue (float &value, const EgammaParameters::TrackCaloMatchType information) const |
| Accessor for Track to Calo Match Values. More...
|
|
float | trackCaloMatchValue (const EgammaParameters::TrackCaloMatchType information) const |
| Accessor for Track to Calo Match values , this just returns the value without internaly checking if it exists. More...
|
|
bool | setTrackCaloMatchValue (const float value, const EgammaParameters::TrackCaloMatchType information) |
| Set method for Track to Calo Match values. More...
|
|
bool | setTrackCaloMatchValues (const std::array< double, 4 > &deltaEta, const std::array< double, 4 > &deltaPhi, const std::array< double, 4 > &deltaPhiRescaled, const double deltaPhiLast) |
| Convinience wrapper for setTrackCaloMatchValue. More...
|
|
bool | trackParticleSummaryValue (uint8_t &value, const SummaryType information, int index=0) const |
| Accessor to the matching track(s) float information (index = 0 is the best match) If 'information' is stored in this xAOD::Egamma and is of the correct type, then the function fills 'value' and returns 'true', otherwise it returns 'false', and does not touch 'value'. More...
|
|
bool | trackParticleSummaryValue (float &value, const SummaryType information, int index=0) const |
|
uint8_t | trackParticleSummaryIntValue (const SummaryType information, int index=0) const |
| Accessor to the matching track(s) int information (index = 0 is the best match) Will lead to an exception if the information is not available. More...
|
|
float | trackParticleSummaryFloatValue (const SummaryType information, int index=0) const |
|
Definition at line 34 of file Electron_v1.h.
◆ Accessor
template<class T , class ALLOC = AuxAllocator_t<T>>
◆ CLELVec_t
◆ ConstAccessor
template<class T , class ALLOC = AuxAllocator_t<T>>
◆ Decorator
template<class T , class ALLOC = AuxAllocator_t<T>>
◆ EgammaCovMatrix_t
◆ FourMom_t
Definition of the 4-momentum type.
Definition at line 107 of file Egamma_v1.h.
◆ GenVecFourMom_t
◆ TPELVec_t
◆ TypelessConstAccessor
◆ PrivateStoreState
The current private data state.
Enumerator |
---|
NO_PRIVATE | |
HAVE_PRIVATE | |
HAD_PRIVATE | |
Definition at line 131 of file IAuxElement.h.
◆ Electron_v1() [1/2]
xAOD::Electron_v1::Electron_v1 |
( |
| ) |
|
◆ Electron_v1() [2/2]
Copy ctor. This involves copying the entire Auxilary store (Deep copy).
Definition at line 20 of file Electron_v1.cxx.
◆ addAuthor()
void xAOD::Egamma_v1::addAuthor |
( |
uint16_t |
newAuthor | ) |
|
|
inherited |
add author
Definition at line 172 of file Egamma_v1.cxx.
173 static const Accessor< uint16_t >
acc(
"author" );
◆ ambiguousObject()
Get ambiguous.
ambiguous
Definition at line 193 of file Egamma_v1.cxx.
195 if( ! ambiguityLinkAcc.isAvailable( *
this ) ) {
◆ author()
Get author.
egamma author
Definition at line 166 of file Egamma_v1.cxx.
167 static const Accessor< uint16_t >
acc(
"author" );
◆ auxdata() [1/4]
template<class T , class ALLOC = AuxAllocator_t<T>>
Fetch an aux data variable, as a non-const reference.
- Parameters
-
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.
◆ auxdata() [2/4]
template<class T , class ALLOC = AuxAllocator_t<T>>
Fetch an aux data variable, as a const reference.
- Parameters
-
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.
◆ auxdata() [3/4]
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.
- Parameters
-
name | Name of the aux variable |
clsname | The name of the associated class. May be blank |
- Returns
- A modifiable reference to the decoration
Definition at line 98 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
◆ auxdata() [4/4]
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.
- Parameters
-
name | Name of the aux variable |
clsname | The name of the associated class. May be blank |
- Returns
- A constant reference to the decoration
Definition at line 118 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
◆ auxdataConst() [1/2]
template<class T , class ALLOC = AuxAllocator_t<T>>
Fetch an aux data variable, as a const reference.
- Parameters
-
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.
◆ auxdataConst() [2/2]
template<class T , class ALLOC = AuxAllocator_t<T>>
Fetch an aux data variable, as a const reference.
- Parameters
-
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.
◆ auxdecor() [1/2]
template<class T , class ALLOC = AuxAllocator_t<T>>
Fetch an aux decoration, as a non-const reference.
- Parameters
-
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.
◆ auxdecor() [2/2]
template<class T , class ALLOC = AuxAllocator_t<T>>
Fetch an aux decoration, as a non-const reference.
- Parameters
-
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.
◆ caloCluster()
◆ caloClusterLink()
◆ caloClusterLinks()
◆ charge()
float xAOD::Electron_v1::charge |
( |
| ) |
const |
Obtain the charge of the object.
◆ clearAux()
void SG::AuxElement::clearAux |
( |
| ) |
|
|
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 535 of file AuxElement.cxx.
◆ clearCache()
void SG::AuxElement::clearCache |
( |
| ) |
|
|
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 319 of file AuxElement.cxx.
◆ clearDecorations()
bool SG::AuxElement::clearDecorations |
( |
| ) |
const |
|
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 385 of file AuxElement.cxx.
◆ container() [1/2]
Return the container holding this element.
◆ container() [2/2]
Return the container holding this element.
◆ copyAux()
Copy aux data from another object.
- Parameters
-
other | The object from which to copy. |
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 561 of file AuxElement.cxx.
575 size_t oindex =
other.index();
582 if (!
r.isLinked (auxid)) {
583 r.copy (auxid, cont,
index(), *ocont, oindex, 1);
588 if (!other_ids.test (auxid)) {
589 r.clear (auxid, cont,
index(), 1);
◆ covMatrix()
Returns the 4x4 symmetric covariance matrix .
Definition at line 135 of file Egamma_v1.cxx.
137 static const Accessor< std::vector<float> >
acc(
"EgammaCovarianceMatrix" );
141 if(!
acc.isAvailable(*
this) ) {
144 const std::vector<float>&
v =
acc(*
this);
145 size_t size=
v.size();
148 cov = Eigen::Map<const EgammaCovMatrix_t> (
v.data());
◆ e()
double xAOD::Egamma_v1::e |
( |
| ) |
const |
|
finaloverridevirtualinherited |
◆ eta()
double xAOD::Egamma_v1::eta |
( |
| ) |
const |
|
finaloverridevirtualinherited |
The pseudorapidity ( \(\eta\)) of the particle.
Implements xAOD::IParticle.
Definition at line 70 of file Egamma_v1.cxx.
71 static const Accessor<float >
acc(
"eta" );
◆ genvecP4()
The full 4-momentum of the particle : internal egamma type.
Depends on return value optimization.
Definition at line 86 of file Egamma_v1.cxx.
◆ getAuxIDs()
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 335 of file AuxElement.cxx.
337 #ifdef ATHCONTAINERS_R21_COMPAT
◆ getConstStore()
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 284 of file AuxElement.cxx.
◆ getStore()
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 299 of file AuxElement.cxx.
302 #ifdef ATHCONTAINERS_R21_COMPAT
◆ hadPrivateData()
bool SG::IAuxElement::hadPrivateData |
( |
| ) |
const |
|
protectedinherited |
True if this element had private data before it was added to its current container.
◆ hasNonConstStore()
bool SG::AuxElement::hasNonConstStore |
( |
| ) |
const |
|
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 368 of file AuxElement.cxx.
◆ hasStore()
bool SG::AuxElement::hasStore |
( |
| ) |
const |
|
inherited |
Return true if this object has an associated store.
This will be true for either a private or standalone store.
Definition at line 355 of file AuxElement.cxx.
◆ havePrivateData()
bool SG::IAuxElement::havePrivateData |
( |
| ) |
const |
|
protectedinherited |
True if this element currently has private data.
◆ index() [1/2]
size_t SG::IAuxElement::index |
( |
| ) |
const |
|
inherited |
Return the index of this element within its container.
◆ index() [2/2]
size_t SG::IAuxElement::index |
|
inherited |
Return the index of this element within its container.
Inherited from IAuxElement.
◆ isAvailable()
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.
- Parameters
-
name | Name of the auxiliary variable |
clsname | The name of the associated class. May be blank |
- Returns
- Whether the decoration exists or not
Definition at line 135 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
◆ isAvailableWritable() [1/2]
template<class T , class ALLOC = AuxAllocator_t<T>>
Check if an aux variable is available for writing.
- Parameters
-
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.
◆ isAvailableWritable() [2/2]
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.
- Parameters
-
name | Name of the auxiliary variable |
clsname | The name of the associated class. May be blank |
- Returns
- Whether the decoration is possible to set
Definition at line 152 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
◆ isAvailableWritableAsDecoration()
template<class T , class ALLOC = AuxAllocator_t<T>>
Check if an aux variable is available for writing as a decoration.
- Parameters
-
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.
◆ isGoodOQ()
Check object quality. Return True is it is Good Object Quality.
Object Quality.
Definition at line 236 of file Egamma_v1.cxx.
237 static const Accessor< uint32_t >
acc(
"OQ" );
◆ isolation() [1/2]
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.
268 if( !acc )
throw std::runtime_error(
"Unknown/Unavailable Isolation type requested" );
269 return ( *acc )(*this);
◆ isolation() [2/2]
Accessor for Isolation values.
Isolation value.
Definition at line 253 of file Egamma_v1.cxx.
258 if(!
acc->isAvailable(*
this) ) {
262 value = ( *acc )(*this);
◆ isolationCaloCorrection() [1/4]
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.
296 if( !
acc.isAvailable(*
this) ) {
throw std::runtime_error(
"Unknown/Unavailable Isolation correction requested" );}
◆ isolationCaloCorrection() [2/4]
Accessor for flavour and type depended Isolation Calo correction.
Isolation corrections.
Definition at line 281 of file Egamma_v1.cxx.
284 if(!
acc.isAvailable(*
this) ) {
◆ isolationCaloCorrection() [3/4]
Accessor for type depended Isolation Calo correction.
Definition at line 308 of file Egamma_v1.cxx.
310 if(!
acc.isAvailable(*
this) ) {
◆ isolationCaloCorrection() [4/4]
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.
320 if( !
acc.isAvailable(*
this) ) {
throw std::runtime_error(
"Unknown/Unavailable Isolation correction requested" );}
◆ isolationCorrectionBitset() [1/2]
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.
365 if( !
acc.isAvailable(*
this) ) {
throw std::runtime_error(
"Unknown/Unavailable Isolation BitSet requested" );}
◆ isolationCorrectionBitset() [2/2]
Accessor for Isolation corection Bitset.
Definition at line 353 of file Egamma_v1.cxx.
355 if(!
acc.isAvailable(*
this) ) {
359 value = std::bitset<32>(
acc(*
this));
◆ isolationTrackCorrection() [1/2]
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.
342 if( !
acc.isAvailable(*
this) ) {
throw std::runtime_error(
"Unknown/Unavailable Isolation correction requested" );}
◆ isolationTrackCorrection() [2/2]
Accessor for Isolation Track correction.
Definition at line 330 of file Egamma_v1.cxx.
332 if(!
acc.isAvailable(*
this) ) {
◆ isolationValue() [1/2]
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.
◆ isolationValue() [2/2]
old Accessor for Isolation values.
Definition at line 257 of file Egamma_v1.h.
◆ likelihoodValue() [1/2]
float xAOD::Egamma_v1::likelihoodValue |
( |
const std::string & |
LHValue = std::string("LHValue") | ) |
const |
|
inherited |
Return the LH value as float If the LH Value is not stored in this xAOD::Egamma, an exception will occur.
◆ likelihoodValue() [2/2]
bool xAOD::Egamma_v1::likelihoodValue |
( |
float & |
value, |
|
|
const std::string & |
LHValue = std::string("LHValue") |
|
) |
| const |
|
inherited |
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'.
◆ m()
double xAOD::Egamma_v1::m |
( |
| ) |
const |
|
finaloverridevirtualinherited |
◆ makePrivateStore() [1/3]
void SG::AuxElement::makePrivateStore |
( |
| ) |
|
|
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 172 of file AuxElement.cxx.
◆ makePrivateStore() [2/3]
template<class U1 >
void SG::AuxElement::makePrivateStore |
( |
const U1 & |
other | ) |
|
|
inherited |
Create a new private store for this object and copy aux data.
- Parameters
-
other | The object from which aux data should be copied. |
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.
◆ makePrivateStore() [3/3]
template<class U1 >
void SG::AuxElement::makePrivateStore |
( |
const U1 * |
other | ) |
|
|
inherited |
Create a new private store for this object and copy aux data.
- Parameters
-
other | The object from which aux data should be copied. |
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.
◆ makePrivateStore1() [1/2]
Create a new private store for this object and copy aux data.
- Parameters
-
other | The object from which aux data should be copied. |
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 521 of file AuxElement.cxx.
◆ makePrivateStore1() [2/2]
void SG::AuxElement::makePrivateStore1 |
( |
const void * |
| ) |
|
|
privateinherited |
Create a new private store for this object and copy aux data.
- Parameters
-
other | The object from which aux data should be copied. |
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.
◆ nCaloClusters()
size_t xAOD::Egamma_v1::nCaloClusters |
( |
| ) |
const |
|
inherited |
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.
380 clusterAcc(
"caloClusterLinks" );
382 if( clusterAcc.isAvailable(*
this) ) {
383 return clusterAcc(*this).size();
◆ noPrivateData()
bool SG::IAuxElement::noPrivateData |
( |
| ) |
const |
|
protectedinherited |
True if this element has no private data.
◆ nTrackParticles()
size_t xAOD::Electron_v1::nTrackParticles |
( |
| ) |
const |
Return the number xAOD::TrackParticles that match the electron candidate.
Definition at line 44 of file Electron_v1.cxx.
47 trackAcc(
"trackParticleLinks" );
49 if( trackAcc.isAvailable( *
this ) ) {
50 return trackAcc( *this ).size();
◆ operator=()
Assignment Operator. Ends up using the assignment of AuxElement for the store.
Definition at line 24 of file Electron_v1.cxx.
◆ OQ()
Return the object quality bit word.
Definition at line 242 of file Egamma_v1.cxx.
243 static const Accessor< uint32_t >
acc(
"OQ" );
◆ p4()
|
finaloverridevirtualinherited |
◆ passSelection() [1/2]
bool xAOD::Egamma_v1::passSelection |
( |
bool & |
value, |
|
|
const std::string & |
menu |
|
) |
| const |
|
inherited |
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'.
◆ passSelection() [2/2]
bool xAOD::Egamma_v1::passSelection |
( |
const std::string & |
menu | ) |
const |
|
inherited |
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.
◆ phi()
double xAOD::Egamma_v1::phi |
( |
| ) |
const |
|
finaloverridevirtualinherited |
◆ pt()
double xAOD::Egamma_v1::pt |
( |
| ) |
const |
|
finaloverridevirtualinherited |
◆ rapidity()
double xAOD::Egamma_v1::rapidity |
( |
| ) |
const |
|
finaloverridevirtualinherited |
◆ releasePrivateStore()
void SG::AuxElement::releasePrivateStore |
( |
| ) |
|
|
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 190 of file AuxElement.cxx.
201 typeid(*
m_container) !=
typeid(AuxElementPrivateData))
◆ releasePrivateStoreForDtor()
void SG::AuxElement::releasePrivateStoreForDtor |
( |
| ) |
|
|
privateinherited |
Out-of-line portion of destructor.
Delete a private store if we have one.
Definition at line 398 of file AuxElement.cxx.
400 #ifdef ATHCONTAINERS_R21_COMPAT
◆ selectionisEM() [1/2]
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.
◆ selectionisEM() [2/2]
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.
435 if(!
acc.isAvailable(*
this) ) {
◆ setAuthor()
void xAOD::Egamma_v1::setAuthor |
( |
uint16_t |
newAuthor | ) |
|
|
inherited |
set author
Definition at line 178 of file Egamma_v1.cxx.
179 static const Accessor< uint16_t >
acc(
"author" );
180 acc(*
this) = newAuthor;
◆ setCaloClusterLinks()
◆ setCharge()
void xAOD::Electron_v1::setCharge |
( |
float |
charge | ) |
|
set the charge of the object
◆ setConstStore()
Synonym for setStore
with IConstAuxStore
.
- Parameters
-
◆ setCovMatrix()
set the 4x4 symmetric covariance matrix .
Definition at line 158 of file Egamma_v1.cxx.
160 static const Accessor< std::vector < float > >
acc(
"EgammaCovarianceMatrix" );
◆ setEta()
void xAOD::Egamma_v1::setEta |
( |
float |
eta | ) |
|
|
inherited |
◆ setHadPrivateData()
void SG::IAuxElement::setHadPrivateData |
( |
| ) |
|
|
privateinherited |
Record that this element used to have private data.
◆ setHavePrivateData()
void SG::IAuxElement::setHavePrivateData |
( |
| ) |
|
|
privateinherited |
Record that this element currently has private data.
◆ setIndex()
Set the index/container for this element.
- Parameters
-
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.
◆ setIndexPrivate()
Set the index/container for this element.
- Parameters
-
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 462 of file AuxElement.cxx.
464 #ifdef ATHCONTAINERS_R21_COMPAT
482 typeid(*
m_container) ==
typeid(AuxElementPrivateData))
500 "from a container.");
◆ setIsolation()
set method for Isolation values.
Definition at line 272 of file Egamma_v1.cxx.
274 if( !acc )
return false;
276 ( *acc )(*this) =
value;
◆ setIsolationCaloCorrection() [1/2]
set method for flavour and type depended Isolation Calo Corrections.
Definition at line 300 of file Egamma_v1.cxx.
◆ setIsolationCaloCorrection() [2/2]
set method for type depended Isolation Calo Corrections.
Definition at line 324 of file Egamma_v1.cxx.
◆ setIsolationCorrectionBitset()
Set method for Isolation corection Bitset.
Definition at line 369 of file Egamma_v1.cxx.
◆ setIsolationTrackCorrection()
◆ setIsolationValue()
old set method for Isolation values.
Definition at line 268 of file Egamma_v1.h.
◆ setLikelihoodValue()
void xAOD::Egamma_v1::setLikelihoodValue |
( |
float |
value, |
|
|
const std::string & |
LHValue = std::string("LHValue") |
|
) |
| |
|
inherited |
Set the LHValue as float.
◆ setM()
void xAOD::Egamma_v1::setM |
( |
float |
m | ) |
|
|
inherited |
◆ setNonConstStore()
Synonym for setStore
with IAuxStore
.
- Parameters
-
◆ setNoPrivateData()
void SG::IAuxElement::setNoPrivateData |
( |
| ) |
|
|
privateinherited |
Record that this element does not have private data.
◆ setOQ()
void xAOD::Egamma_v1::setOQ |
( |
uint32_t |
newOQ | ) |
|
|
inherited |
Set the object quality.
Definition at line 247 of file Egamma_v1.cxx.
248 static const Accessor< uint32_t >
acc(
"OQ" );
◆ setP4()
◆ setPassSelection()
void xAOD::Egamma_v1::setPassSelection |
( |
bool |
value, |
|
|
const std::string & |
menu |
|
) |
| |
|
inherited |
Set the selection decision for a menu (using the name)
◆ setPhi()
void xAOD::Egamma_v1::setPhi |
( |
float |
phi | ) |
|
|
inherited |
◆ setPt()
void xAOD::Egamma_v1::setPt |
( |
float |
pt | ) |
|
|
inherited |
◆ setSelectionisEM()
void xAOD::Egamma_v1::setSelectionisEM |
( |
unsigned int |
value, |
|
|
const std::string & |
isEM |
|
) |
| |
|
inherited |
Set the isEM word for a selection menu (using the name)
Definition at line 447 of file Egamma_v1.cxx.
◆ setShowerShapeValue()
Set method for Shower Shape values.
Definition at line 226 of file Egamma_v1.cxx.
228 if( !acc )
return false;
230 ( *acc )(*this) =
value;
◆ setStore() [1/3]
Set the store associated with this object.
- Parameters
-
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.
- Parameters
-
store | Link to the new store. |
Definition at line 249 of file AuxElement.cxx.
◆ setStore() [2/3]
Set the store associated with this object.
- Parameters
-
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 221 of file AuxElement.cxx.
◆ setStore() [3/3]
Set the store associated with this object.
- Parameters
-
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 237 of file AuxElement.cxx.
◆ setStore1()
Set the store associated with this object.
- Parameters
-
Helper for setStore
. Creates the AuxElementStandaloneData
object if needed and returns it.
- Parameters
-
Helper for setStore
. Creates the @x AuxElementStandaloneData object if needed and returns it.
Definition at line 418 of file AuxElement.cxx.
424 AuxElementStandaloneData*
data =
new AuxElementStandaloneData;
431 return static_cast<AuxElementStandaloneData*
> (
container());
434 throw ExcBadPrivateStore (
"Attempt to attach a standalone store to an "
435 "object in a container or with a private store.");
446 throw ExcBadPrivateStore (
"Attempt to remove a standalone store from an "
447 "object in a container or with a private store.");
◆ setTrackCaloMatchValue()
◆ setTrackCaloMatchValues()
Convinience wrapper for setTrackCaloMatchValue.
Definition at line 116 of file Electron_v1.cxx.
◆ setTrackParticleLinks()
void xAOD::Electron_v1::setTrackParticleLinks |
( |
const TPELVec_t & |
links | ) |
|
◆ showerShapeValue() [1/2]
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.
222 if(!acc )
throw std::runtime_error(
"Unknown/Unavailable Shower Shape type requested" );
223 return ( *acc )(*this);
◆ showerShapeValue() [2/2]
Accessor for ShowerShape values.
shower shapes
Definition at line 207 of file Egamma_v1.cxx.
212 if(!
acc->isAvailable(*
this) ) {
216 value = ( *acc )(*this);
◆ trackCaloMatchValue() [1/2]
Accessor for Track to Calo Match values , this just returns the value without internaly checking if it exists.
Will lead to an exception if the information is not available.
◆ trackCaloMatchValue() [2/2]
◆ trackIndices()
bool SG::AuxElement::trackIndices |
( |
| ) |
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.
◆ trackParticle()
◆ trackParticleLink()
◆ trackParticleLinks()
Get all the track particles.
◆ trackParticleSummaryFloatValue()
Definition at line 166 of file Electron_v1.cxx.
168 if (!tempTrackParticle) {
169 throw std::runtime_error(
"TrackParticle not available" );
173 throw std::runtime_error(
"Unknown/Unavailable Float Track Summary type requested" );
◆ trackParticleSummaryIntValue()
Accessor to the matching track(s) int information (index = 0 is the best match) Will lead to an exception if the information is not available.
Definition at line 154 of file Electron_v1.cxx.
156 if (!tempTrackParticle) {
157 throw std::runtime_error(
"TrackParticle not available" );
161 throw std::runtime_error(
"Unknown/Unavailable Int Track Summary type requested" );
◆ trackParticleSummaryValue() [1/2]
◆ trackParticleSummaryValue() [2/2]
Accessor to the matching track(s) float information (index = 0 is the best match) If 'information' is stored in this xAOD::Egamma and is of the correct type, then the function fills 'value' and returns 'true', otherwise it returns 'false', and does not touch 'value'.
Definition at line 140 of file Electron_v1.cxx.
143 if (!tempTrackParticle)
return false;
◆ type()
◆ usingPrivateStore()
bool SG::AuxElement::usingPrivateStore |
( |
| ) |
const |
|
inherited |
Test to see if this object is currently using a private store.
Definition at line 260 of file AuxElement.cxx.
263 typeid(*m_container) ==
typeid(AuxElementPrivateData);
◆ usingStandaloneStore()
bool SG::AuxElement::usingStandaloneStore |
( |
| ) |
const |
|
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 270 of file AuxElement.cxx.
273 typeid(*m_container) ==
typeid(AuxElementStandaloneData);
◆ m_container
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 324 of file AuxElement.h.
◆ m_index
size_t SG::IAuxElement::m_index |
|
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.
◆ m_privateStoreState
◆ supportsThinning
constexpr bool SG::AuxElement::supportsThinning = true |
|
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 920 of file AuxElement.h.
The documentation for this class was generated from the following files:
const SG::IConstAuxStore * getConstStore() const
Return the current store, as a const interface.
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items for this object.
char data[hepevt_bytes_allocation_ATLAS]
@ deltaPhiRescaled
difference between the cluster phi (sampling 2) and the phi of the track extrapolated from the perige...
virtual Type::ObjectType type() const override=0
The type of the object as a simple enumeration, remains pure virtual in e/gamma.
@ deltaPhi0
difference between the cluster phi (presampler) and the eta of the track extrapolated to the presampl...
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.
Electron_v1 Electron
Definition of the current "egamma version".
@ deltaPhi3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
static AuxTypeRegistry & instance()
Return the singleton registry instance.
const SG::auxid_set_t & getWritableAuxIDs() const
Return a set of identifiers for writable data items in this store.
void copyAux(const ConstAuxElement &other)
Copy aux data from another object.
setSAddress setEtaMS setDirPhiMS setDirZMS setBarrelRadius setEndcapAlpha setEndcapRadius setInterceptInner setEtaMap setEtaBin setIsTgcFailure setDeltaPt deltaPhi
const SG::AuxVectorData * m_container
The container of which this object is an element.
bool summaryValue(uint8_t &value, const SummaryType &information) const
Accessor for TrackSummary values.
@ deltaEta0
difference between the cluster eta (presampler) and the eta of the track extrapolated to the presampl...
uint16_t author(uint16_t bitmask=EgammaParameters::AuthorALL) const
Get author.
bool hasNonConstStore() const
Return true if this object has an associated non-const store.
@ deltaEta2
difference between the cluster eta (second sampling) and the eta of the track extrapolated to the sec...
bool usingStandaloneStore() const
Test to see if this object is currently using a standalone store.
virtual FourMom_t p4() const override final
The full 4-momentum of the particle as a TLoretzVector.
bool setIndexPrivate(size_t index, const SG::AuxVectorData *container)
Set the index/container for this element.
const xAOD::TrackParticle * trackParticle(size_t index=0) const
Pointer to the xAOD::TrackParticle/s that match the electron candidate.
@ deltaPhiRescaled3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
Exception — Non-const operation performed on const aux data.
std::vector< ElementLink< TrackParticleContainer > > TPELVec_t
Helper type definition.
void setNoPrivateData()
Record that this element does not have private data.
size_t nCaloClusters() const
Return the number of xAOD::CaloClusters that define the electron candidate.
bool isValid() const
Test to see if the link can be dereferenced.
bool setIsolation(float value, const Iso::IsolationType information)
set method for Isolation values.
size_t nTrackParticles() const
Return the number xAOD::TrackParticles that match the electron candidate.
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items in store associated with this object.
const SG::AuxElement::Accessor< float > getIsolationCorrectionAccessor(Iso::IsolationFlavour type, Iso::IsolationCaloCorrection corr, Iso::IsolationCorrectionParameter param)
@ deltaPhi1
difference between the cluster eta (1st sampling) and the eta of the track extrapolated to the 1st sa...
Handle mappings between names and auxid_t.
size_t index() const
Return the index of this element within its container.
void setHadPrivateData()
Record that this element used to have private data.
@ deltaPhiFromLastMeasurement
difference between the cluster phi (sampling 2) and the eta of the track extrapolated from the last m...
size_t auxid_t
Identifier for a particular aux data item.
double deltaEta(const I4Momentum &p1, const I4Momentum &p2)
Computes efficiently .
bool isolation(float &value, const Iso::IsolationType information) const
Accessor for Isolation values.
void clearAux()
Clear all aux data associated with this element.
AuxElement()
Default constructor.
Egamma_v1 & operator=(const Egamma_v1 &eg)
Assignment Operator. Using the assignment of SG::AuxElement.
bool havePrivateData() const
True if this element currently has private data.
const SG::AuxElement::Accessor< float > * showerShapeAccessorV1(xAOD::EgammaParameters::ShowerShapeType type)
Explicit Instantiation of Template.
SG::IAuxStore * getStore()
Return the current store, as a non-const interface.
@ deltaEta3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
Internal data container for private store.
@ deltaPhiRescaled2
difference between the cluster phi (second sampling) and the phi of the track extrapolated to the sec...
void compress(const Eigen::Matrix< float, N, N, 0, N, N > &covMatrix, std::vector< float > &vec)
virtual double phi() const override final
The azimuthal angle ( ) of the particle.
@ deltaPhiRescaled0
difference between the cluster phi (presampler) and the eta of the track extrapolated to the presampl...
const SG::AuxElement::Accessor< float > * getIsolationAccessor(Iso::IsolationType type)
Get the Accessor object for a given isolation type.
uint32_t OQ() const
Return the object quality bit word.
bool hasStore() const
Return true if this object has an associated store.
ElementLink implementation for ROOT usage.
const CLELVec_t & caloClusterLinks() const
Get all cluster links.
@ deltaPhiLast
deltaPhi from the las point
void setHavePrivateData()
Record that this element currently has private data.
void clearCache()
Clear the cached aux data pointers.
Eigen::Matrix< float, 4, 4 > EgammaCovMatrix_t
4x4 Covariance Matrix in EtEtaPhiM (needs decision)
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for egamma.
@ deltaPhi2
difference between the cluster phi (second sampling) and the phi of the track extrapolated to the sec...
Egamma_v1()
Default constructor.
void makePrivateStore()
Create a new (empty) private store for this object.
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal egamma type.
void setIndex(size_t index)
Set the index of this element within its container.
@ deltaPhiRescaled1
difference between the cluster eta (1st sampling) and the eta of the track extrapolated to the 1st sa...
bool clearDecorations() const
Clear all decorations.
void expand(std::vector< float >::const_iterator it, std::vector< float >::const_iterator, Eigen::Matrix< float, N, N, 0, N, N > &covMatrix)
Exception — Bad use of private store.
bool isAvailableWritable(ELT &e) const
Test to see if this variable exists in the store and is writable.
const SG::AuxElement::Accessor< uint32_t > getIsolationCorrectionBitsetAccessor(Iso::IsolationFlavour type)
Returns an accessor for the correction bitset corresponding to this IsolationType.
virtual double pt() const override final
The transverse momentum ( ) of the particle.
A set of aux data identifiers.
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
Manage lookup of vectors of auxiliary data.
#define ATLAS_THREAD_SAFE
Class describing a TrackParticle.
void releasePrivateStoreForDtor()
Out-of-line portion of destructor.
virtual double m() const override final
The invariant mass of the particle.
const SG::AuxVectorData * container() const
Return the container holding this element.
@ deltaEta1
difference between the cluster eta (first sampling) and the eta of the track extrapolated to the firs...
std::vector< ElementLink< CaloClusterContainer > > CLELVec_t
Helper type definition.
const TPELVec_t & trackParticleLinks() const
Get all the track particles.
bool hadPrivateData() const
True if this element had private data before it was added to its current container.
virtual const SG::auxid_set_t & getAuxIDs() const =0
Return a set of identifiers for existing data items in this store.
AuxElementStandaloneData * setStore1(const SG::IConstAuxStore *store)
Set the store associated with this object.
bool setTrackCaloMatchValue(const float value, const EgammaParameters::TrackCaloMatchType information)
Set method for Track to Calo Match values.