#include <TruthEvent_v1.h>
Classes | |
struct | PdfInfo |
Helper struct holding a full set of PDF info values. More... | |
Public Member Functions | |
TruthEvent_v1 () | |
Default constructor. | |
virtual Type::ObjectType | type () const |
The type of the object as a simple enumeration. | |
void | toPersistent () |
Function making sure that the object is ready for persistification. | |
Simple event properties | |
const std::vector< float > & | weights () const |
void | setWeights (const std::vector< float > &weights) |
float | crossSection () const |
Get the cross section. | |
void | setCrossSection (float value) |
Set the cross-section. | |
float | crossSectionError () const |
Get the cross section error. | |
void | setCrossSectionError (float value) |
Set the cross-section error. | |
void | setCrossSection (float value, float error) |
Set the cross-section and its error. | |
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. | |
bool | pdfInfoParameter (float &value, PdfParam parameter) const |
Read a floating point PDF info parameter. | |
bool | setPdfInfoParameter (int value, PdfParam parameter) |
Set an integer PDF info parameter. | |
bool | setPdfInfoParameter (float value, PdfParam parameter) |
Set a floating point PDF info parameter. | |
PdfInfo | pdfInfo () const |
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. | |
bool | heavyIonParameter (float &value, HIParam parameter) const |
Read a floating point HI parameter. | |
bool | setHeavyIonParameter (int value, HIParam parameter) |
Set an integer HI parameter. | |
bool | setHeavyIonParameter (float value, HIParam parameter) |
Set a floating point HI parameter. | |
Links to particles and vertices in the event | |
| |
typedef ElementLink < TruthVertexContainer > | TruthVertexLink_t |
Type of the links pointing at truth vertices. | |
typedef ElementLink < TruthParticleContainer > | TruthParticleLink_t |
Type of the links pointing at truth particles. | |
const TruthVertex * | signalProcessVertex () const |
const TruthVertexLink_t & | signalProcessVertexLink () const |
Link to the vertex representing the primary beam interaction point. | |
void | setSignalProcessVertexLink (const TruthVertexLink_t &link) |
Set pointer to a vertex representing the primary beam interaction point. | |
std::pair< const TruthParticle *, const TruthParticle * > | beamParticles () const |
Pair of pointers to the two incoming beam particles. | |
void | setBeamParticleLinks (const TruthParticleLink_t &pcl1, const TruthParticleLink_t &pcl2) |
Set incoming beam particles. | |
const TruthParticleLink_t & | beamParticle1Link () const |
Get the link to the first incoming beam particle. | |
void | setBeamParticle1Link (const TruthParticleLink_t &pcl1) |
Set one incoming beam particle. | |
const TruthParticleLink_t & | beamParticle2Link () const |
Get the link to the second incoming beam particle. | |
void | setBeamParticle2Link (const TruthParticleLink_t &pcl2) |
Set one incoming beam particle. |
Class describing a signal truth event in the MC record
Heavy ion parameter enum.
TruthEvent_v1::PdfInfo xAOD::TruthEvent_v1::pdfInfo | ( | ) | const |
Retrieve a full PdfInfo with a single call
void xAOD::TruthEvent_v1::setWeights | ( | const std::vector< float > & | weights | ) |
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*.
const std::vector< float >& xAOD::TruthEvent_v1::weights | ( | ) | const |
Const access to the weights vector