ATLAS Offline Software
|
Class describing a signal truth event in the MC record. More...
#include <TruthEvent_v1.h>
Classes | |
struct | PdfInfo |
Helper struct holding a full set of PDF info values. 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 | |
TruthEvent_v1 () | |
Default constructor. More... | |
virtual Type::ObjectType | type () const |
The type of the object as a simple enumeration. More... | |
void | toPersistent () |
Function making sure that the object is ready for persistification. More... | |
void | assign (const AuxElement &other, bool warnUnlocked=false) |
Assignment. More... | |
const SG::AuxVectorData * | container () const |
Return the container holding this element. More... | |
SG::AuxVectorData * | container () |
Return the container holding this element. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::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 >::reference_type | auxdata (const std::string &name, const std::string &clsname) |
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 Accessor< T, ALLOC >::const_reference_type | auxdata (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 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 | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if an aux variable is available for reading. 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... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritableAsDecoration (const std::string &name, const std::string &clsname="") const |
Check if an aux variable is available for writing as a decoration. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type | auxdecor (const std::string &name) const |
Fetch an aux decoration, as a non-const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type | auxdecor (const std::string &name, const std::string &clsname) const |
Fetch an aux decoration, as a non-const reference. More... | |
void | makePrivateStore () |
Create a new (empty) private store for this object. More... | |
template<class U1 > | |
void | makePrivateStore (const U1 &other, bool warnUnlocked=false) |
Create a new private store for this object and copy aux data. More... | |
template<class U1 > | |
void | makePrivateStore (const U1 *other, bool warnUnlocked=false) |
Create a new private store for this object and copy aux data. More... | |
void | releasePrivateStore () |
Release and free any private store associated with this object. More... | |
void | setStore (const SG::IConstAuxStore *store) |
Set the store associated with this object. More... | |
void | setStore (SG::IAuxStore *store) |
Set the store associated with this object. More... | |
void | setStore (const DataLink< SG::IConstAuxStore > &store) |
Set the store associated with this object. More... | |
void | setConstStore (const SG::IConstAuxStore *store) |
Synonym for setStore with IConstAuxStore . More... | |
void | setNonConstStore (SG::IAuxStore *store) |
Synonym for setStore with IAuxStore . More... | |
bool | usingPrivateStore () const |
Test to see if this object is currently using a private store. More... | |
bool | usingStandaloneStore () const |
Test to see if this object is currently using a standalone store. More... | |
const SG::IConstAuxStore * | getConstStore () const |
Return the current store, as a const interface. More... | |
SG::IAuxStore * | getStore () const |
Return the current store, as a non-const interface. More... | |
void | clearCache () |
Clear the cached aux data pointers. More... | |
const SG::auxid_set_t & | getAuxIDs () const |
Return a set of identifiers for existing data items for this object. More... | |
const SG::auxid_set_t & | getDecorIDs () const |
Return a set of identifiers for decorations for this object. More... | |
bool | hasStore () const |
Return true if this object has an associated store. More... | |
bool | hasNonConstStore () const |
Return true if this object has an associated non-const store. More... | |
bool | clearDecorations () const |
Clear all decorations. More... | |
bool | trackIndices () const |
Return true if index tracking is enabled for this object. More... | |
size_t | index () const |
Return the index of this element within its container. More... | |
size_t | index () const |
Return the index of this element within its container. More... | |
Simple event properties | |
const std::vector< float > & | weights () const |
Const access to the weights vector. More... | |
void | setWeights (const std::vector< float > &weights) |
Set the event weights. More... | |
float | crossSection () const |
Get the cross section. More... | |
void | setCrossSection (float value) |
Set the cross-section. More... | |
float | crossSectionError () const |
Get the cross section error. More... | |
void | setCrossSectionError (float value) |
Set the cross-section error. More... | |
void | setCrossSection (float value, float error) |
Set the cross-section and its error. More... | |
Static Public Attributes | |
static constexpr bool | supportsThinning = true |
Mark that this type supports thinning operations. More... | |
Protected Member Functions | |
bool | noPrivateData () const |
True if this element has no private data. More... | |
bool | havePrivateData () const |
True if this element currently has private data. More... | |
bool | hadPrivateData () const |
True if this element had private data before it was added to its current container. More... | |
Private Types | |
enum | PrivateStoreState : uint8_t { PrivateStoreState::NO_PRIVATE = 0, PrivateStoreState::HAVE_PRIVATE = 1, PrivateStoreState::HAD_PRIVATE = 2 } |
The current private data state. More... | |
Private Member Functions | |
void | releasePrivateStoreForDtor () |
Out-of-line portion of destructor. More... | |
void | setIndex (size_t index, SG::AuxVectorData *container) |
Set the index/container for this element. More... | |
bool | setIndexPrivate (size_t index, SG::AuxVectorData *container) |
Set the index/container for this element. More... | |
void | makePrivateStore1 (const void *other, bool warnUnlocked) |
Create a new private store for this object and copy aux data. More... | |
void | makePrivateStore1 (const AuxElement *other, bool warnUnlocked) |
Create a new private store for this object and copy aux data. More... | |
AuxElementStandaloneData * | setStore1 (const SG::IConstAuxStore *store) |
Set the store associated with this object. More... | |
void | clearAux () |
Clear all aux data associated with this element. More... | |
void | copyAux (const ConstAuxElement &other, bool warnUnlocked=false) |
Copy aux data from another object. More... | |
void | setNoPrivateData () |
Record that this element does not have private data. More... | |
void | setHavePrivateData () |
Record that this element currently has private data. More... | |
void | setHadPrivateData () |
Record that this element used to have private data. More... | |
Private Attributes | |
const SG::AuxVectorData * | m_container |
The container of which this object is an element. More... | |
size_t | m_index |
The index of this element within its container. More... | |
PrivateStoreState | m_privateStoreState |
Parton density info | |
Optional due to particle gun & NLO events where a single PDF info doesn't work. | |
enum | PdfParam { PDGID1 = 0, PDGID2 = 1, PDFID1 = 2, PDFID2 = 3, X1 = 4, X2 = 5, SCALE = 6, Q = 6, PDF1 = 7, PDF2 = 8, XF1 = 7, XF2 = 8 } |
Accessor enums for PDF info parameter lookup. More... | |
bool | pdfInfoParameter (int &value, PdfParam parameter) const |
Read an integer PDF info parameter. More... | |
bool | pdfInfoParameter (float &value, PdfParam parameter) const |
Read a floating point PDF info parameter. More... | |
bool | setPdfInfoParameter (int value, PdfParam parameter) |
Set an integer PDF info parameter. More... | |
bool | setPdfInfoParameter (float value, PdfParam parameter) |
Set a floating point PDF info parameter. More... | |
PdfInfo | pdfInfo () const |
Retrieve a full PdfInfo with a single call. More... | |
Heavy ion info | |
enum | HIParam { NCOLLHARD = 0, NPARTPROJ = 1, NPARTTARG = 2, NCOLL = 3, SPECTATORNEUTRONS = 4, SPECTATORPROTONS = 5, NNWOUNDEDCOLLISIONS = 6, NWOUNDEDNCOLLISIONS = 7, NWOUNDEDNWOUNDEDCOLLISIONS = 8, IMPACTPARAMETER = 9, EVENTPLANEANGLE = 10, ECCENTRICITY = 11, SIGMAINELNN = 12, CENTRALITY = 13 } |
Heavy ion parameter enum. More... | |
bool | heavyIonParameter (int &value, HIParam parameter) const |
Read an integer HI parameter. More... | |
bool | heavyIonParameter (float &value, HIParam parameter) const |
Read a floating point HI parameter. More... | |
bool | setHeavyIonParameter (int value, HIParam parameter) |
Set an integer HI parameter. More... | |
bool | setHeavyIonParameter (float value, HIParam parameter) |
Set a floating point HI parameter. More... | |
Links to particles and vertices in the event | |
typedef ElementLink< TruthVertexContainer > | TruthVertexLink_t |
Type of the links pointing at truth vertices. More... | |
typedef ElementLink< TruthParticleContainer > | TruthParticleLink_t |
Type of the links pointing at truth particles. More... | |
const TruthVertex * | signalProcessVertex () const |
Pointer to a vertex representing the primary beam interaction point. More... | |
const TruthVertexLink_t & | signalProcessVertexLink () const |
Link to the vertex representing the primary beam interaction point. More... | |
void | setSignalProcessVertexLink (const TruthVertexLink_t &link) |
Set pointer to a vertex representing the primary beam interaction point. More... | |
std::pair< const TruthParticle *, const TruthParticle * > | beamParticles () const |
Pair of pointers to the two incoming beam particles. More... | |
void | setBeamParticleLinks (const TruthParticleLink_t &pcl1, const TruthParticleLink_t &pcl2) |
Set incoming beam particles. More... | |
const TruthParticleLink_t & | beamParticle1Link () const |
Get the link to the first incoming beam particle. More... | |
void | setBeamParticle1Link (const TruthParticleLink_t &pcl1) |
Set one incoming beam particle. More... | |
const TruthParticleLink_t & | beamParticle2Link () const |
Get the link to the second incoming beam particle. More... | |
void | setBeamParticle2Link (const TruthParticleLink_t &pcl2) |
Set one incoming beam particle. More... | |
Access to all the particles associated with the event | |
typedef std::vector< TruthParticleLink_t > | TruthParticleLinks_t |
Type of the truth particle links vector. More... | |
const TruthParticleLinks_t & | truthParticleLinks () const |
Get all the truth particles. More... | |
void | setTruthParticleLinks (const TruthParticleLinks_t &plinks) |
Set all the truth particles. More... | |
size_t | nTruthParticles () const |
Get the number of truth particles. More... | |
const TruthParticleLink_t & | truthParticleLink (size_t index) const |
Get the link to one of the truth particles. More... | |
const TruthParticle * | truthParticle (size_t index) const |
Get a pointer to one of the truth particles. More... | |
void | addTruthParticleLink (const TruthParticleLink_t &plink) |
Add one truth particle. More... | |
void | clearTruthParticleLinks () |
Remove all truth particles. More... | |
Access to all the vertices associated with the event | |
typedef std::vector< TruthVertexLink_t > | TruthVertexLinks_t |
Type of the truth particle links vector. More... | |
const TruthVertexLinks_t & | truthVertexLinks () const |
Get all the truth vertices. More... | |
void | setTruthVertexLinks (const TruthVertexLinks_t &links) |
Set all the truth vertices. More... | |
size_t | nTruthVertices () const |
Get the number of truth vertices. More... | |
const TruthVertexLink_t & | truthVertexLink (size_t index) const |
Get the link to one of the truth vertices. More... | |
const TruthVertex * | truthVertex (size_t index) const |
Get a pointer to one of the truth vertices. More... | |
void | addTruthVertexLink (const TruthVertexLink_t &vlink) |
Add one truth vertex. More... | |
void | clearTruthVertexLinks () |
Remove all truth vertices. More... | |
Class describing a signal truth event in the MC record.
Definition at line 35 of file TruthEvent_v1.h.
|
inherited |
Definition at line 572 of file AuxElement.h.
|
inherited |
Definition at line 569 of file AuxElement.h.
|
inherited |
Definition at line 575 of file AuxElement.h.
Type of the links pointing at truth particles.
Definition at line 177 of file TruthEvent_v1.h.
|
inherited |
Type of the truth particle links vector.
Definition at line 50 of file TruthEventBase_v1.h.
Type of the links pointing at truth vertices.
Definition at line 163 of file TruthEvent_v1.h.
|
inherited |
Type of the truth particle links vector.
Definition at line 75 of file TruthEventBase_v1.h.
|
inherited |
Definition at line 566 of file AuxElement.h.
Heavy ion parameter enum.
Definition at line 130 of file TruthEvent_v1.h.
Accessor enums for PDF info parameter lookup.
Enumerator | |
---|---|
PDGID1 | [int] |
PDGID2 | [int] |
PDFID1 | [int] |
PDFID2 | [int] |
X1 | [float] |
X2 | [float] |
SCALE | Not implemented!!! |
Q | [float] |
PDF1 | Not implemented!!! |
PDF2 | Not implemented!!! |
XF1 | [float] |
XF2 | [float] |
Definition at line 74 of file TruthEvent_v1.h.
|
strongprivateinherited |
The current private data state.
Enumerator | |
---|---|
NO_PRIVATE | |
HAVE_PRIVATE | |
HAD_PRIVATE |
Definition at line 131 of file IAuxElement.h.
xAOD::TruthEvent_v1::TruthEvent_v1 | ( | ) |
Default constructor.
Definition at line 20 of file TruthEvent_v1.cxx.
|
inherited |
Add one truth particle.
Definition at line 68 of file TruthEventBase_v1.cxx.
|
inherited |
Add one truth vertex.
Definition at line 129 of file TruthEventBase_v1.cxx.
|
inherited |
Assignment.
other | The object from which we're assigning. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
We don't copy container/index, as assignment doesn't change where this object is. However, if we have aux data, then we copy aux data if we're copying from an object that also has it; otherwise, if we're copying from an object with no aux data, then we clear ours.
|
inherited |
Fetch an aux data variable, as a non-const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
or ConstAccessor
classes.
|
inherited |
Fetch an aux data variable, 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.
|
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 Accessor
or ConstAccessor
classes.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor
class.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor
class.
|
inherited |
Fetch an aux decoration, as a non-const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.
|
inherited |
Fetch an aux decoration, as a non-const reference.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.
const TruthParticleLink_t& xAOD::TruthEvent_v1::beamParticle1Link | ( | ) | const |
Get the link to the first incoming beam particle.
const TruthParticleLink_t& xAOD::TruthEvent_v1::beamParticle2Link | ( | ) | const |
Get the link to the second incoming beam particle.
std::pair< const TruthParticle *, const TruthParticle * > xAOD::TruthEvent_v1::beamParticles | ( | ) | const |
Pair of pointers to the two incoming beam particles.
Definition at line 226 of file TruthEvent_v1.cxx.
|
privateinherited |
Clear all aux data associated with this element.
If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData
.
Definition at line 580 of file AuxElement.cxx.
|
inherited |
Clear the cached aux data pointers.
You should call this any time something changes in the aux store that could invalidate the vector pointers.
Definition at line 339 of file AuxElement.cxx.
|
inherited |
Clear all decorations.
Erase all decorations from an associated store, restoring the state to when lock
was called.
Returns true if there were any decorations that were cleared, false if the store did not contain any decorations.
Definition at line 428 of file AuxElement.cxx.
|
inherited |
Remove all truth particles.
Definition at line 74 of file TruthEventBase_v1.cxx.
|
inherited |
Remove all truth vertices.
Definition at line 135 of file TruthEventBase_v1.cxx.
|
inherited |
Return the container holding this element.
|
inherited |
Return the container holding this element.
|
privateinherited |
Copy aux data from another object.
other | The object from which to copy. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData
.
All aux data items from other
are copied to this object. Any aux data items associated with this object that are not present in other
are cleared. (If other
has no aux data, then all aux data items for this object are cleared.)
Definition at line 607 of file AuxElement.cxx.
float xAOD::TruthEvent_v1::crossSection | ( | ) | const |
Get the cross section.
float xAOD::TruthEvent_v1::crossSectionError | ( | ) | const |
Get the cross section error.
|
inherited |
Return a set of identifiers for existing data items for this object.
If this object has a private or standalone store, then information from that will be returned. Otherwise, if this element is part of a container, then information for the container will be returned. Otherwise, return an empty set.
Definition at line 355 of file AuxElement.cxx.
|
inherited |
Return the current store, as a const interface.
This will be non-zero if either a const or non-const store is associated with this object. This will fetch either a private or standalone store.
Definition at line 304 of file AuxElement.cxx.
|
inherited |
Return a set of identifiers for decorations for this object.
If this object has a private or standalone store, then information from that will be returned. Otherwise, if this element is part of a container, then information for the container will be returned. Otherwise, return an empty set.
Definition at line 378 of file AuxElement.cxx.
|
inherited |
Return the current store, as a non-const interface.
This will be non-zero if a non-const store is associated with this object. This will fetch either a private or standalone store.
Definition at line 319 of file AuxElement.cxx.
|
protectedinherited |
True if this element had private data before it was added to its current container.
|
inherited |
Return true if this object has an associated non-const store.
This will be true for either a private or standalone store.
Definition at line 411 of file AuxElement.cxx.
|
inherited |
Return true if this object has an associated store.
This will be true for either a private or standalone store.
Definition at line 398 of file AuxElement.cxx.
|
protectedinherited |
True if this element currently has private data.
|
inherited |
Return the index of this element within its container.
|
inherited |
Return the index of this element within its container.
Inherited from IAuxElement.
|
inherited |
Check if an aux variable is available for reading.
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.
|
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.
|
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.
|
inherited |
Create a new (empty) private store for this object.
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
Definition at line 192 of file AuxElement.cxx.
|
inherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
If other
is an object that has aux data, then those data will be copied; otherwise, nothing will be done.
|
inherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
If other
is an object that has aux data, then those data will be copied; otherwise, nothing will be done.
|
privateinherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
This overload handles the case where other
does have aux data.
Definition at line 565 of file AuxElement.cxx.
|
privateinherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
This overload handles the case where other
does not have aux data.
|
protectedinherited |
True if this element has no private data.
|
inherited |
Get the number of truth particles.
|
inherited |
Get the number of truth vertices.
TruthEvent_v1::PdfInfo xAOD::TruthEvent_v1::pdfInfo | ( | ) | const |
Retrieve a full PdfInfo with a single call.
Definition at line 114 of file TruthEvent_v1.cxx.
|
inherited |
Release and free any private store associated with this object.
ExcBadPrivateStore
will be thrown if this object does not have a private store.
Definition at line 210 of file AuxElement.cxx.
|
privateinherited |
Out-of-line portion of destructor.
Delete a private store if we have one.
Definition at line 441 of file AuxElement.cxx.
void xAOD::TruthEvent_v1::setBeamParticle1Link | ( | const TruthParticleLink_t & | pcl1 | ) |
Set one incoming beam particle.
void xAOD::TruthEvent_v1::setBeamParticle2Link | ( | const TruthParticleLink_t & | pcl2 | ) |
Set one incoming beam particle.
void xAOD::TruthEvent_v1::setBeamParticleLinks | ( | const TruthParticleLink_t & | pcl1, |
const TruthParticleLink_t & | pcl2 | ||
) |
Set incoming beam particles.
Definition at line 250 of file TruthEvent_v1.cxx.
|
inherited |
Synonym for setStore
with IConstAuxStore
.
store | The new store. |
void xAOD::TruthEvent_v1::setCrossSection | ( | float | value | ) |
Set the cross-section.
Set the cross-section and its error.
void xAOD::TruthEvent_v1::setCrossSectionError | ( | float | value | ) |
Set the cross-section error.
|
privateinherited |
Record that this element used to have private data.
|
privateinherited |
Record that this element currently has private data.
|
privateinherited |
Set the index/container for this element.
index | The index of this object within the container. |
container | The container holding this object. May be null if this object is being removed from a container. |
Usually this simply sets the index and container members of this object. However, in the case where this object has an associated private store, then we need to deal with releasing the store if the object is being added to a container, or making a new store if the object is being removed from a container.
|
privateinherited |
Set the index/container for this element.
index | The index of this object within the container. |
container | The container holding this object. May be null if this object is being removed from a container. |
This is called from setIndex
when we have a private store to deal with.
Definition at line 505 of file AuxElement.cxx.
|
inherited |
Synonym for setStore
with IAuxStore
.
store | The new store. |
|
privateinherited |
Record that this element does not have private data.
void xAOD::TruthEvent_v1::setSignalProcessVertexLink | ( | const TruthVertexLink_t & | link | ) |
Set pointer to a vertex representing the primary beam interaction point.
|
inherited |
Set the store associated with this object.
store | The new store. |
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
store | Link to the new store. |
Definition at line 269 of file AuxElement.cxx.
|
inherited |
Set the store associated with this object.
store | The new store. |
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
Definition at line 241 of file AuxElement.cxx.
|
inherited |
Set the store associated with this object.
store | The new store. |
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
Definition at line 257 of file AuxElement.cxx.
|
privateinherited |
Set the store associated with this object.
store | The new store. |
Helper for setStore
. Creates the AuxElementStandaloneData
object if needed and returns it.
store | The new store. |
Helper for setStore
. Creates the @x AuxElementStandaloneData object if needed and returns it.
Definition at line 461 of file AuxElement.cxx.
|
inherited |
Set all the truth particles.
|
inherited |
Set all the truth vertices.
Set the event weights.
const TruthVertex * xAOD::TruthEvent_v1::signalProcessVertex | ( | ) | const |
Pointer to a vertex representing the primary beam interaction point.
The naming of the function is a bit misleading. The returned vertex can only be interpreted as an interaction position.
Definition at line 195 of file TruthEvent_v1.cxx.
const TruthVertexLink_t& xAOD::TruthEvent_v1::signalProcessVertexLink | ( | ) | const |
Link to the vertex representing the primary beam interaction point.
void xAOD::TruthEvent_v1::toPersistent | ( | ) |
Function making sure that the object is ready for persistification.
Definition at line 274 of file TruthEvent_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.
|
inherited |
|
inherited |
Get the link to one of the truth particles.
Definition at line 45 of file TruthEventBase_v1.cxx.
|
inherited |
Get all the truth particles.
|
inherited |
|
inherited |
Get the link to one of the truth vertices.
Definition at line 107 of file TruthEventBase_v1.cxx.
|
inherited |
Get all the truth vertices.
|
virtual |
The type of the object as a simple enumeration.
Implements xAOD::TruthEventBase_v1.
Definition at line 269 of file TruthEvent_v1.cxx.
|
inherited |
Test to see if this object is currently using a private store.
Definition at line 280 of file AuxElement.cxx.
|
inherited |
Test to see if this object is currently using a standalone store.
Test to see if this object is currently using a private store.
Definition at line 290 of file AuxElement.cxx.
Const access to the weights vector.
|
privateinherited |
The container of which this object is an element.
Should be null if this object is not within a container, except that it may also point at a private store.
Definition at line 335 of file AuxElement.h.
|
privateinherited |
The index of this element within its container.
Should be 0 if this object is not within a container.
Definition at line 128 of file IAuxElement.h.
|
privateinherited |
Definition at line 137 of file IAuxElement.h.
|
staticconstexprinherited |
Mark that this type supports thinning operations.
See AthContainers/supportsThinning.h and AthenaPoolCnvSvc/T_AthenaPoolCnv.h. Helps guide which pool converter template will be used. If false, the default pool converter will be used rather than the aux store-specific one. Ordinary xAOD type should not touch this, but may be overridden in a derived class to handle certain special cases.
Definition at line 959 of file AuxElement.h.