ATLAS Offline Software
Loading...
Searching...
No Matches
GenVertex_p3 Class Reference

#include <GenVertex_p3.h>

Collaboration diagram for GenVertex_p3:

Public Member Functions

 GenVertex_p3 ()
 Default constructor:
 GenVertex_p3 (const double x, const double y, const double z, const double t, const int id, const std::vector< double >::const_iterator weightsBegin, const std::vector< double >::const_iterator weightsEnd, const int barcode)
 Constructor with a fair number of parameters.

Protected Attributes

float m_x
 x-coordinate of the vertex
float m_y
 y-coordinate of the vertex
float m_z
 z-coordinate of the vertex
float m_t
 t-coordinate of the vertex
std::vector< int > m_particlesIn
 collection of barcodes of in-going particles connected to this vertex
std::vector< int > m_particlesOut
 collection of barcodes of out-going particles connected to this vertex
int m_id
 Id of this vertex.
std::vector< float > m_weights
 Weights for this vertex.
int m_barcode
 barcode of this vertex (uniquely identifying a vertex within an event)

Friends

class McEventCollectionCnv_p3

Detailed Description

Definition at line 23 of file GenVertex_p3.h.

Constructor & Destructor Documentation

◆ GenVertex_p3() [1/2]

GenVertex_p3::GenVertex_p3 ( )
inline

Default constructor:

Inline methods:

Definition at line 90 of file GenVertex_p3.h.

90 :
91 m_x ( 0 ),
92 m_y ( 0 ),
93 m_z ( 0 ),
94 m_t ( 0 ),
95 m_particlesIn ( ),
97 m_id ( 0 ),
98 m_weights ( ),
99 m_barcode ( 0 )
100{}
std::vector< float > m_weights
Weights for this vertex.
std::vector< int > m_particlesOut
collection of barcodes of out-going particles connected to this vertex
int m_barcode
barcode of this vertex (uniquely identifying a vertex within an event)
float m_z
z-coordinate of the vertex
std::vector< int > m_particlesIn
collection of barcodes of in-going particles connected to this vertex
float m_x
x-coordinate of the vertex
float m_y
y-coordinate of the vertex
int m_id
Id of this vertex.
float m_t
t-coordinate of the vertex

◆ GenVertex_p3() [2/2]

GenVertex_p3::GenVertex_p3 ( const double x,
const double y,
const double z,
const double t,
const int id,
const std::vector< double >::const_iterator weightsBegin,
const std::vector< double >::const_iterator weightsEnd,
const int barcode )
inline

Constructor with a fair number of parameters.

Definition at line 102 of file GenVertex_p3.h.

107 :
108 m_x ( static_cast<float>(x) ),
109 m_y ( static_cast<float>(y) ),
110 m_z ( static_cast<float>(z) ),
111 m_t ( static_cast<float>(t) ),
112 m_particlesIn ( ),
114 m_id ( id ),
115 m_weights ( weightsBegin, weightsEnd ),
116 m_barcode ( barcode )
117{}
#define y
#define x
#define z

◆ McEventCollectionCnv_p3

friend class McEventCollectionCnv_p3
friend

Definition at line 27 of file GenVertex_p3.h.

Member Data Documentation

◆ m_barcode

int GenVertex_p3::m_barcode
protected

barcode of this vertex (uniquely identifying a vertex within an event)

Definition at line 84 of file GenVertex_p3.h.

◆ m_id

int GenVertex_p3::m_id
protected

Id of this vertex.

Definition at line 76 of file GenVertex_p3.h.

◆ m_particlesIn

std::vector<int> GenVertex_p3::m_particlesIn
protected

collection of barcodes of in-going particles connected to this vertex

Definition at line 68 of file GenVertex_p3.h.

◆ m_particlesOut

std::vector<int> GenVertex_p3::m_particlesOut
protected

collection of barcodes of out-going particles connected to this vertex

Definition at line 72 of file GenVertex_p3.h.

◆ m_t

float GenVertex_p3::m_t
protected

t-coordinate of the vertex

Definition at line 64 of file GenVertex_p3.h.

◆ m_weights

std::vector<float> GenVertex_p3::m_weights
protected

Weights for this vertex.

Definition at line 80 of file GenVertex_p3.h.

◆ m_x

float GenVertex_p3::m_x
protected

x-coordinate of the vertex

Definition at line 52 of file GenVertex_p3.h.

◆ m_y

float GenVertex_p3::m_y
protected

y-coordinate of the vertex

Definition at line 56 of file GenVertex_p3.h.

◆ m_z

float GenVertex_p3::m_z
protected

z-coordinate of the vertex

Definition at line 60 of file GenVertex_p3.h.


The documentation for this class was generated from the following file: