ATLAS Offline Software
Public Member Functions | Protected Attributes | Friends | List of all members
GenVertex_p3 Class Reference

#include <GenVertex_p3.h>

Collaboration diagram for GenVertex_p3:

Public Member Functions

 GenVertex_p3 ()
 Default constructor: More...
 
 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. More...
 

Protected Attributes

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

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 ( ),
96  m_particlesOut( ),
97  m_id ( 0 ),
98  m_weights ( ),
99  m_barcode ( 0 )
100 {}

◆ 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 ( ),
113  m_particlesOut( ),
114  m_id ( id ),
115  m_weights ( weightsBegin, weightsEnd ),
116  m_barcode ( barcode )
117 {}

Friends And Related Function Documentation

◆ 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:
GenVertex_p3::m_particlesOut
std::vector< int > m_particlesOut
collection of barcodes of out-going particles connected to this vertex
Definition: GenVertex_p3.h:72
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
GenVertex_p3::m_weights
std::vector< float > m_weights
Weights for this vertex.
Definition: GenVertex_p3.h:80
x
#define x
GenVertex_p3::m_y
float m_y
y-coordinate of the vertex
Definition: GenVertex_p3.h:56
z
#define z
GenVertex_p3::m_x
float m_x
x-coordinate of the vertex
Definition: GenVertex_p3.h:52
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16
GenVertex_p3::m_z
float m_z
z-coordinate of the vertex
Definition: GenVertex_p3.h:60
GenVertex_p3::m_id
int m_id
Id of this vertex.
Definition: GenVertex_p3.h:76
y
#define y
GenVertex_p3::m_barcode
int m_barcode
barcode of this vertex (uniquely identifying a vertex within an event)
Definition: GenVertex_p3.h:84
GenVertex_p3::m_particlesIn
std::vector< int > m_particlesIn
collection of barcodes of in-going particles connected to this vertex
Definition: GenVertex_p3.h:68
GenVertex_p3::m_t
float m_t
t-coordinate of the vertex
Definition: GenVertex_p3.h:64