ATLAS Offline Software
|
Class describing a truth particle in the MC record. More...
#include <TruthParticle_v1.h>
Classes | |
struct | Polarization |
Single container for full polarization information. More... | |
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 | |
TruthParticle_v1 () | |
Default constructor. More... | |
void | toPersistent () |
Function making sure that the object is ready for persistification. 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... | |
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... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. More... | |
Functions identifying the particle in the MC record | |
void | setPdgId (int pid) |
Set PDG ID code. More... | |
int | pdgId () const |
PDG ID code. More... | |
int | pdg_id () const |
PDG ID code. More... | |
int | absPdgId () const |
Absolute PDG ID code (often useful) More... | |
int | barcode () const |
Barcode. More... | |
void | setBarcode (int value) |
Set barcode. More... | |
int | id () const |
Unique ID. More... | |
int | status () const |
Status code. More... | |
void | setStatus (int value) |
Set status code. More... | |
Links to the production and decay vertices | |
bool | hasProdVtx () const |
Check for a production vertex on this particle. More... | |
const TruthVertex_v1 * | prodVtx () const |
The production vertex of this particle. More... | |
const TruthVertex_v1 * | production_vertex () const |
The production vertex of this particle. More... | |
const ElementLink< TruthVertexContainer > & | prodVtxLink () const |
The production vertex link of this particle. More... | |
void | setProdVtxLink (const ElementLink< TruthVertexContainer > &link) |
Set the production vertex of the particle. More... | |
bool | hasDecayVtx () const |
Check for a decay vertex on this particle. More... | |
const TruthVertex_v1 * | decayVtx () const |
The decay vertex of this particle. More... | |
const TruthVertex_v1 * | end_vertex () const |
The decay vertex of this particle. More... | |
const ElementLink< TruthVertexContainer > & | decayVtxLink () const |
The decay vertex link of this particle. More... | |
void | setDecayVtxLink (const ElementLink< TruthVertexContainer > &link) |
Set the decay vertex of the particle. More... | |
Particle connection / origin / decay information | |
size_t | nParents () const |
Number of parents of this particle. More... | |
const TruthParticle_v1 * | parent (size_t i=0) const |
Retrieve the i-th mother (TruthParticle) of this TruthParticle. More... | |
size_t | nChildren () const |
Number of children of this particle. More... | |
const TruthParticle_v1 * | child (size_t i=0) const |
Retrieve the i-th mother (TruthParticle) of this TruthParticle. More... | |
4-momentum accessors specific to truth particles | |
double | abseta () const |
The absolute pseudorapidity ( \(|\eta|\)) of the particle. More... | |
double | absrapidity () const |
The true absolute rapidity ( \(|y|\)) of the particle. More... | |
float | px () const |
The x component of the particle's momentum. More... | |
void | setPx (float value) |
Set the x component of the particle's momentum. More... | |
float | py () const |
The y component of the particle's momentum. More... | |
void | setPy (float value) |
Set the y component of the particle's momentum. More... | |
float | pz () const |
The z component of the particle's momentum. More... | |
void | setPz (float value) |
Set the z component of the particle's momentum. More... | |
void | setE (float value) |
Set the energy of the particle. More... | |
void | setM (float value) |
Also store the mass. More... | |
Particle species information | |
Just convenience methods here, since they all just forward to the utility functions operating on the PDG particle ID code. | |
double | charge () const |
Physical charge. More... | |
int | threeCharge () const |
3 x the physical charge (so it can be an int for quarks) More... | |
bool | isCharged () const |
Whether the particle is electrically charged. More... | |
bool | isNeutral () const |
Whether the particle is electrically neutral. More... | |
bool | isPhoton () const |
Whether the particle is a photon. More... | |
bool | isLepton () const |
Whether the particle is a lepton. More... | |
bool | isChLepton () const |
Whether the particle is a charged lepton. More... | |
bool | isElectron () const |
Whether the particle is an electron (or positron) More... | |
bool | isMuon () const |
Whether the particle is a muon (or antimuon) More... | |
bool | isTau () const |
Whether the particle is a tau (or antitau) More... | |
bool | isNeutrino () const |
Whether the particle is a neutrino (or antineutrino) More... | |
bool | isHadron () const |
Whether the particle is a hadron. More... | |
bool | isMeson () const |
Whether the particle is a meson. More... | |
bool | isBaryon () const |
Whether the particle is a baryon. More... | |
bool | hasStrange () const |
Whether the particle contains a strange quark (or antiquark) More... | |
bool | hasCharm () const |
Whether the particle contains a charm quark (or antiquark) More... | |
bool | hasBottom () const |
Whether the particle contains a bottom quark (or antiquark) More... | |
bool | isLightMeson () const |
Determine if the PID is that of a light flavour (not b or c) meson. More... | |
bool | isLightBaryon () const |
Determine if the PID is that of a light flavour (not b or c) baryon. More... | |
bool | isLightHadron () const |
Determine if the PID is that of a light flavour (not b or c) hadron. More... | |
bool | isHeavyMeson () const |
Determine if the PID is that of a heavy flavour (b or c) meson. More... | |
bool | isHeavyBaryon () const |
Determine if the PID is that of a heavy flavour (b or c) baryon. More... | |
bool | isHeavyHadron () const |
Determine if the PID is that of a heavy flavour (b or c) hadron. More... | |
bool | isBottomMeson () const |
Determine if the PID is that of a b-meson. More... | |
bool | isBottomBaryon () const |
Determine if the PID is that of a b-baryon. More... | |
bool | isBottomHadron () const |
Determine if the PID is that of a b-hadron. More... | |
bool | isCharmMeson () const |
Determine if the PID is that of a c-meson. More... | |
bool | isCharmBaryon () const |
Determine if the PID is that of a c-baryon. More... | |
bool | isCharmHadron () const |
Determine if the PID is that of a c-hadron. More... | |
bool | isStrangeMeson () const |
Determine if the PID is that of a strange meson. More... | |
bool | isStrangeBaryon () const |
Determine if the PID is that of a strange baryon. More... | |
bool | isStrangeHadron () const |
Determine if the PID is that of a strange hadron. More... | |
bool | isQuark () const |
Check if this particle is a quark. More... | |
bool | isParton () const |
Check if this particle is a parton. More... | |
bool | isTop () const |
Check if this particle is a top quark. More... | |
bool | isW () const |
Check if this particle is a W boson. More... | |
bool | isZ () const |
Check if this particle is a Z boson. More... | |
bool | isHiggs () const |
Check if this particle is a Higgs boson. More... | |
bool | isResonance () const |
Check if this particle is a resonant state. More... | |
bool | isGenSpecific () const |
Check if this is a generator specific (non-physical) particle. More... | |
bool | isBSM () const |
Check if this is a BSM particle. More... | |
bool | isGenStable () const |
Check if this is generator stable particle. More... | |
Functions for getting and setting user properties | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
Fetch an aux data variable, as a const reference. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for reading or not. More... | |
template<class T > | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
Check if a user property is available for writing or not. 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 *) |
Create a new private store for this object and copy aux data. More... | |
void | makePrivateStore1 (const AuxElement *other) |
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) |
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 | |
isPrimary, isDecayed, isPrompt, isFromDecay, hasHadronicDecay, hasLeptonicDecay, isHadronic/LeptonicTau ...
| |
typedef IParticle::FourMom_t | FourMom_t |
Definition of the 4-momentum type. More... | |
typedef ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > | GenVecFourMom_t |
Base 4 Momentum type for TruthParticle. More... | |
virtual double | pt () const override final |
The transverse momentum ( \(p_T\)) of the particle. More... | |
virtual double | eta () const override final |
The pseudorapidity ( \(\eta\)) of the particle. More... | |
virtual double | phi () const override final |
The azimuthal angle ( \(\phi\)) of the particle. More... | |
virtual double | m () const override final |
The 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. More... | |
GenVecFourMom_t | genvecP4 () const |
The full 4-momentum of the particle : GenVector form. More... | |
virtual Type::ObjectType | type () const override final |
The type of the object as a simple enumeration. More... | |
Polarization properties (optional) | |
enum | PolParam { polarizationPhi = 0, polarizationTheta = 1 } |
Polarization parameter types. More... | |
bool | polarizationParameter (float &value, PolParam parameter) const |
Accessor for polarization parameters. More... | |
bool | setPolarizationParameter (float value, PolParam parameter) |
Set method for polarization parameter values. More... | |
float | polarizationParameter (PolParam parameter) const |
Convenience accessor for a polariozation parameter. More... | |
Polarization | polarization () const |
Retrieve a full Polarization with a single call. More... | |
Class describing a truth particle in the MC record.
The xAOD truth record mimicks the structure of HepMC. Truth particles and truth vertices form a decay tree. Where each truth particle is connected to a single production and decay vertex. And each vertex is connected to one or more incoming, and one or more outgoing particles.
Definition at line 37 of file TruthParticle_v1.h.
|
inherited |
Definition at line 548 of file AuxElement.h.
|
inherited |
Definition at line 545 of file AuxElement.h.
|
inherited |
Definition at line 551 of file AuxElement.h.
Definition of the 4-momentum type.
Definition at line 147 of file TruthParticle_v1.h.
typedef ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double> > xAOD::TruthParticle_v1::GenVecFourMom_t |
Base 4 Momentum type for TruthParticle.
Definition at line 157 of file TruthParticle_v1.h.
|
inherited |
Definition at line 542 of file AuxElement.h.
Polarization parameter types.
Enumerator | |
---|---|
polarizationPhi | Polarization in ( \(\phi\)) |
polarizationTheta | Polarization in ( \(\theta\)) |
Definition at line 317 of file TruthParticle_v1.h.
|
strongprivateinherited |
The current private data state.
Enumerator | |
---|---|
NO_PRIVATE | |
HAVE_PRIVATE | |
HAD_PRIVATE |
Definition at line 131 of file IAuxElement.h.
xAOD::TruthParticle_v1::TruthParticle_v1 | ( | ) |
double xAOD::TruthParticle_v1::abseta | ( | ) | const |
The absolute pseudorapidity ( \(|\eta|\)) of the particle.
Definition at line 218 of file TruthParticle_v1.cxx.
int xAOD::TruthParticle_v1::absPdgId | ( | ) | const |
Absolute PDG ID code (often useful)
double xAOD::TruthParticle_v1::absrapidity | ( | ) | const |
The true absolute rapidity ( \(|y|\)) of the particle.
Definition at line 223 of file TruthParticle_v1.cxx.
|
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.
int xAOD::TruthParticle_v1::barcode | ( | ) | const |
double xAOD::TruthParticle_v1::charge | ( | ) | const |
Physical charge.
const TruthParticle_v1 * xAOD::TruthParticle_v1::child | ( | size_t | i = 0 | ) | const |
Retrieve the i-th mother (TruthParticle) of this TruthParticle.
Definition at line 149 of file TruthParticle_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 535 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 319 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 385 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. |
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.
const TruthVertex_v1* xAOD::TruthParticle_v1::decayVtx | ( | ) | const |
The decay vertex of this particle.
const ElementLink< TruthVertexContainer >& xAOD::TruthParticle_v1::decayVtxLink | ( | ) | const |
The decay vertex link of this particle.
|
finaloverridevirtual |
The total energy of the particle.
Implements xAOD::IParticle.
|
inline |
|
finaloverridevirtual |
The pseudorapidity ( \(\eta\)) of the particle.
Implements xAOD::IParticle.
Definition at line 174 of file TruthParticle_v1.cxx.
TruthParticle_v1::GenVecFourMom_t xAOD::TruthParticle_v1::genvecP4 | ( | ) | const |
The full 4-momentum of the particle : GenVector form.
Definition at line 201 of file TruthParticle_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 335 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 284 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 299 of file AuxElement.cxx.
|
protectedinherited |
True if this element had private data before it was added to its current container.
bool xAOD::TruthParticle_v1::hasBottom | ( | ) | const |
Whether the particle contains a bottom quark (or antiquark)
bool xAOD::TruthParticle_v1::hasCharm | ( | ) | const |
Whether the particle contains a charm quark (or antiquark)
bool xAOD::TruthParticle_v1::hasDecayVtx | ( | ) | const |
Check for a decay vertex on this particle.
|
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.
bool xAOD::TruthParticle_v1::hasProdVtx | ( | ) | const |
Check for a production vertex on this particle.
Definition at line 74 of file TruthParticle_v1.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 355 of file AuxElement.cxx.
bool xAOD::TruthParticle_v1::hasStrange | ( | ) | const |
Whether the particle contains a strange quark (or antiquark)
|
protectedinherited |
True if this element currently has private data.
int xAOD::TruthParticle_v1::id | ( | ) | const |
Unique ID.
|
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.
bool xAOD::TruthParticle_v1::isBaryon | ( | ) | const |
Whether the particle is a baryon.
bool xAOD::TruthParticle_v1::isBottomBaryon | ( | ) | const |
Determine if the PID is that of a b-baryon.
bool xAOD::TruthParticle_v1::isBottomHadron | ( | ) | const |
Determine if the PID is that of a b-hadron.
bool xAOD::TruthParticle_v1::isBottomMeson | ( | ) | const |
Determine if the PID is that of a b-meson.
bool xAOD::TruthParticle_v1::isBSM | ( | ) | const |
Check if this is a BSM particle.
bool xAOD::TruthParticle_v1::isCharged | ( | ) | const |
Whether the particle is electrically charged.
bool xAOD::TruthParticle_v1::isCharmBaryon | ( | ) | const |
Determine if the PID is that of a c-baryon.
Specifically, the heaviest quark is a c: a baryon containing a b & c is a b-baryon and NOT a c-baryon. To test for the simpler case, just use a combination of hasCharm() and isBaryon().
bool xAOD::TruthParticle_v1::isCharmHadron | ( | ) | const |
Determine if the PID is that of a c-hadron.
bool xAOD::TruthParticle_v1::isCharmMeson | ( | ) | const |
Determine if the PID is that of a c-meson.
Specifically, the heaviest quark is a c: a B_c is a b-meson and NOT a c-meson. Charmonia (closed charm) are counted as c-mesons here.
bool xAOD::TruthParticle_v1::isChLepton | ( | ) | const |
Whether the particle is a charged lepton.
bool xAOD::TruthParticle_v1::isElectron | ( | ) | const |
Whether the particle is an electron (or positron)
bool xAOD::TruthParticle_v1::isGenSpecific | ( | ) | const |
Check if this is a generator specific (non-physical) particle.
bool xAOD::TruthParticle_v1::isGenStable | ( | ) | const |
bool xAOD::TruthParticle_v1::isHadron | ( | ) | const |
Whether the particle is a hadron.
bool xAOD::TruthParticle_v1::isHeavyBaryon | ( | ) | const |
Determine if the PID is that of a heavy flavour (b or c) baryon.
bool xAOD::TruthParticle_v1::isHeavyHadron | ( | ) | const |
Determine if the PID is that of a heavy flavour (b or c) hadron.
bool xAOD::TruthParticle_v1::isHeavyMeson | ( | ) | const |
Determine if the PID is that of a heavy flavour (b or c) meson.
bool xAOD::TruthParticle_v1::isHiggs | ( | ) | const |
Check if this particle is a Higgs boson.
bool xAOD::TruthParticle_v1::isLepton | ( | ) | const |
Whether the particle is a lepton.
bool xAOD::TruthParticle_v1::isLightBaryon | ( | ) | const |
Determine if the PID is that of a light flavour (not b or c) baryon.
bool xAOD::TruthParticle_v1::isLightHadron | ( | ) | const |
Determine if the PID is that of a light flavour (not b or c) hadron.
bool xAOD::TruthParticle_v1::isLightMeson | ( | ) | const |
Determine if the PID is that of a light flavour (not b or c) meson.
bool xAOD::TruthParticle_v1::isMeson | ( | ) | const |
Whether the particle is a meson.
bool xAOD::TruthParticle_v1::isMuon | ( | ) | const |
Whether the particle is a muon (or antimuon)
bool xAOD::TruthParticle_v1::isNeutral | ( | ) | const |
Whether the particle is electrically neutral.
bool xAOD::TruthParticle_v1::isNeutrino | ( | ) | const |
Whether the particle is a neutrino (or antineutrino)
bool xAOD::TruthParticle_v1::isParton | ( | ) | const |
Check if this particle is a parton.
bool xAOD::TruthParticle_v1::isPhoton | ( | ) | const |
Whether the particle is a photon.
bool xAOD::TruthParticle_v1::isQuark | ( | ) | const |
Check if this particle is a quark.
bool xAOD::TruthParticle_v1::isResonance | ( | ) | const |
Check if this particle is a resonant state.
bool xAOD::TruthParticle_v1::isStrangeBaryon | ( | ) | const |
Determine if the PID is that of a strange baryon.
bool xAOD::TruthParticle_v1::isStrangeHadron | ( | ) | const |
Determine if the PID is that of a strange hadron.
bool xAOD::TruthParticle_v1::isStrangeMeson | ( | ) | const |
Determine if the PID is that of a strange meson.
bool xAOD::TruthParticle_v1::isTau | ( | ) | const |
Whether the particle is a tau (or antitau)
bool xAOD::TruthParticle_v1::isTop | ( | ) | const |
Check if this particle is a top quark.
bool xAOD::TruthParticle_v1::isW | ( | ) | const |
Check if this particle is a W boson.
bool xAOD::TruthParticle_v1::isZ | ( | ) | const |
Check if this particle is a Z boson.
|
finaloverridevirtual |
The mass of the particle.
Note, not necessarily = \(E^2-p^2\) if not on mass shell.
Implements xAOD::IParticle.
|
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.
|
inherited |
Create a new private store for this object and copy aux data.
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.
|
inherited |
Create a new private store for this object and copy aux data.
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.
|
privateinherited |
Create a new private store for this object and copy aux data.
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.
|
privateinherited |
Create a new private store for this object and copy aux data.
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.
size_t xAOD::TruthParticle_v1::nChildren | ( | ) | const |
|
protectedinherited |
True if this element has no private data.
size_t xAOD::TruthParticle_v1::nParents | ( | ) | const |
|
finaloverridevirtual |
The full 4-momentum of the particle.
Note that m may not be right, though, if not on mass shell. In which case p4().M()
will be different from m()
.
Implements xAOD::IParticle.
Definition at line 196 of file TruthParticle_v1.cxx.
const TruthParticle_v1 * xAOD::TruthParticle_v1::parent | ( | size_t | i = 0 | ) | const |
Retrieve the i-th mother (TruthParticle) of this TruthParticle.
Definition at line 131 of file TruthParticle_v1.cxx.
|
inline |
int xAOD::TruthParticle_v1::pdgId | ( | ) | const |
PDG ID code.
|
finaloverridevirtual |
The azimuthal angle ( \(\phi\)) of the particle.
Implements xAOD::IParticle.
Definition at line 181 of file TruthParticle_v1.cxx.
TruthParticle_v1::Polarization xAOD::TruthParticle_v1::polarization | ( | ) | const |
Retrieve a full Polarization with a single call.
Definition at line 383 of file TruthParticle_v1.cxx.
Accessor for polarization parameters.
Generic C++ code should use this function to retrieve the polarization parameters of a truth particle. Since these parameters are optional, the function is designed to tell the user whether the requested parameter could be retrieved or not.
value | The polarization parameter value read from the object |
parameter | The polarization parameter that we are interested in |
true
if the retrieval was successful, false
if it wasn't Definition at line 328 of file TruthParticle_v1.cxx.
Convenience accessor for a polariozation parameter.
Throws an exception if the request can't be completed. It should mostly be used in PyROOT, as the other form of this function is very hard to use there. But one needs to know for sure that the requested parameter will exist.
parameter | The polarion parameter that we are interested in |
Definition at line 369 of file TruthParticle_v1.cxx.
|
inline |
const TruthVertex * xAOD::TruthParticle_v1::prodVtx | ( | ) | const |
The production vertex of this particle.
Definition at line 80 of file TruthParticle_v1.cxx.
const ElementLink< TruthVertexContainer >& xAOD::TruthParticle_v1::prodVtxLink | ( | ) | const |
The production vertex link of this particle.
|
finaloverridevirtual |
The transverse momentum ( \(p_T\)) of the particle.
Implements xAOD::IParticle.
Definition at line 166 of file TruthParticle_v1.cxx.
float xAOD::TruthParticle_v1::px | ( | ) | const |
The x component of the particle's momentum.
float xAOD::TruthParticle_v1::py | ( | ) | const |
The y component of the particle's momentum.
float xAOD::TruthParticle_v1::pz | ( | ) | const |
The z component of the particle's momentum.
|
finaloverridevirtual |
The true rapidity ( \(y\)) of the particle.
Implements xAOD::IParticle.
Definition at line 191 of file TruthParticle_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 190 of file AuxElement.cxx.
|
privateinherited |
Out-of-line portion of destructor.
Delete a private store if we have one.
Definition at line 398 of file AuxElement.cxx.
void xAOD::TruthParticle_v1::setBarcode | ( | int | value | ) |
Set barcode.
|
inherited |
Synonym for setStore
with IConstAuxStore
.
store | The new store. |
void xAOD::TruthParticle_v1::setDecayVtxLink | ( | const ElementLink< TruthVertexContainer > & | link | ) |
Set the decay vertex of the particle.
void xAOD::TruthParticle_v1::setE | ( | float | value | ) |
Set the energy of the particle.
Definition at line 235 of file TruthParticle_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 462 of file AuxElement.cxx.
void xAOD::TruthParticle_v1::setM | ( | float | value | ) |
Also store the mass.
Definition at line 241 of file TruthParticle_v1.cxx.
|
inherited |
Synonym for setStore
with IAuxStore
.
store | The new store. |
|
privateinherited |
Record that this element does not have private data.
void xAOD::TruthParticle_v1::setPdgId | ( | int | pid | ) |
Set PDG ID code.
Set method for polarization parameter values.
In order to keep the symmetry with the getter function, this setter communicates a possible failure in its operation through a return value. Setting a polariozation parameter is much less likely to fail than retrieving one, but in some situations it may still happen...
value | The polarization parameter value to set on the object |
parameter | The polarization parameter type that we want to set |
true
if the operation was successful, or false
if it wasn't Definition at line 351 of file TruthParticle_v1.cxx.
void xAOD::TruthParticle_v1::setProdVtxLink | ( | const ElementLink< TruthVertexContainer > & | link | ) |
Set the production vertex of the particle.
void xAOD::TruthParticle_v1::setPx | ( | float | value | ) |
Set the x component of the particle's momentum.
void xAOD::TruthParticle_v1::setPy | ( | float | value | ) |
Set the y component of the particle's momentum.
void xAOD::TruthParticle_v1::setPz | ( | float | value | ) |
Set the z component of the particle's momentum.
void xAOD::TruthParticle_v1::setStatus | ( | int | value | ) |
Set status code.
|
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 249 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 221 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 237 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 418 of file AuxElement.cxx.
int xAOD::TruthParticle_v1::status | ( | ) | const |
Status code.
int xAOD::TruthParticle_v1::threeCharge | ( | ) | const |
3 x the physical charge (so it can be an int for quarks)
void xAOD::TruthParticle_v1::toPersistent | ( | ) |
Function making sure that the object is ready for persistification.
Definition at line 396 of file TruthParticle_v1.cxx.
|
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.
|
finaloverridevirtual |
The type of the object as a simple enumeration.
Implements xAOD::IParticle.
Definition at line 205 of file TruthParticle_v1.cxx.
|
inherited |
Test to see if this object is currently using a private store.
Definition at line 260 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 270 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 324 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 920 of file AuxElement.h.