|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef XAODTRUTH_VERSIONS_TRUTHEVENT_V1_H
9 #define XAODTRUTH_VERSIONS_TRUTHEVENT_V1_H
17 #include "AthLinks/ElementLink.h"
46 const std::vector< float >&
weights()
const;
180 std::pair< const TruthParticle*, const TruthParticle* >
217 #endif // XAODTRUTH_VERSIONS_TRUTHEVENT_V1_H
bool pdfInfoParameter(int &value, PdfParam parameter) const
Read an integer PDF info parameter.
void setCrossSection(float value)
Set the cross-section.
PdfInfo()
Constructor to set (invalid) defaults.
void toPersistent()
Function making sure that the object is ready for persistification.
void setSignalProcessVertexLink(const TruthVertexLink_t &link)
Set pointer to a vertex representing the primary beam interaction point.
@ SCALE
Not implemented!!!
float crossSectionError() const
Get the cross section error.
void setWeights(const std::vector< float > &weights)
Set the event weights.
void setBeamParticle2Link(const TruthParticleLink_t &pcl2)
Set one incoming beam particle.
bool heavyIonParameter(int &value, HIParam parameter) const
Read an integer HI parameter.
bool setHeavyIonParameter(int value, HIParam parameter)
Set an integer HI parameter.
DATAVECTOR_BASE(xAOD::TruthEvent_v1, xAOD::TruthEventBase_v1)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
@ NWOUNDEDNWOUNDEDCOLLISIONS
[int]
TruthEvent_v1()
Default constructor.
const TruthVertexLink_t & signalProcessVertexLink() const
Link to the vertex representing the primary beam interaction point.
PdfInfo pdfInfo() const
Retrieve a full PdfInfo with a single call.
ElementLink< TruthParticleContainer > TruthParticleLink_t
Type of the links pointing at truth particles.
ElementLink< TruthVertexContainer > TruthVertexLink_t
Type of the links pointing at truth vertices.
PdfParam
Accessor enums for PDF info parameter lookup.
const TruthParticleLink_t & beamParticle2Link() const
Get the link to the second incoming beam particle.
@ NNWOUNDEDCOLLISIONS
[int]
bool setPdfInfoParameter(int value, PdfParam parameter)
Set an integer PDF info parameter.
Class describing a signal truth event in the MC record.
void setCrossSectionError(float value)
Set the cross-section error.
bool valid() const
Check if all the variables in the object are valid.
ElementLink implementation for ROOT usage.
SG_BASE(xAOD::TruthEvent_v1, xAOD::TruthEventBase_v1)
const std::vector< float > & weights() const
Const access to the weights vector.
Helper struct holding a full set of PDF info values.
Base class describing a pile-up or signal truth event in the MC record.
Class describing a truth vertex in the MC record.
const TruthVertex * signalProcessVertex() const
Pointer to a vertex representing the primary beam interaction point.
const TruthParticleLink_t & beamParticle1Link() const
Get the link to the first incoming beam particle.
void setBeamParticleLinks(const TruthParticleLink_t &pcl1, const TruthParticleLink_t &pcl2)
Set incoming beam particles.
An STL vector of pointers that by default owns its pointed-to elements.
float crossSection() const
Get the cross section.
void setCrossSection(float value, float error)
Set the cross-section and its error.
std::pair< const TruthParticle *, const TruthParticle * > beamParticles() const
Pair of pointers to the two incoming beam particles.
ObjectType
Type of objects that have a representation in the xAOD EDM.
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
HIParam
Heavy ion parameter enum.
@ NWOUNDEDNCOLLISIONS
[int]
Base class for elements of a container that can have aux data.
void setBeamParticle1Link(const TruthParticleLink_t &pcl1)
Set one incoming beam particle.