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

#include <GenVertex_p1.h>

Collaboration diagram for GenVertex_p1:

Public Member Functions

 GenVertex_p1 ()
 Default constructor: More...
 
 GenVertex_p1 (const double x, const double y, const double z, const double t, const int id, const std::vector< double > &weights, const int barcode)
 Constructor with a fair number of parameters. More...
 

Protected Attributes

double m_x
 x-coordinate of the vertex More...
 
double m_y
 y-coordinate of the vertex More...
 
double m_z
 z-coordinate of the vertex More...
 
double 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< double > m_weights
 Weights for this vertex. More...
 
int m_barcode
 barcode of this vertex (uniquely identifying a vertex within an event) More...
 

Friends

class GenEventCnv_p1
 
class McEventCollectionCnv_p2
 

Detailed Description

Definition at line 24 of file GenVertex_p1.h.

Constructor & Destructor Documentation

◆ GenVertex_p1() [1/2]

GenVertex_p1::GenVertex_p1 ( )
inline

Default constructor:

Inline methods:

Definition at line 92 of file GenVertex_p1.h.

92  :
93  m_x ( 0 ),
94  m_y ( 0 ),
95  m_z ( 0 ),
96  m_t ( 0 ),
97  m_particlesIn ( ),
98  m_particlesOut( ),
99  m_id ( 0 ),
100  m_weights ( ),
101  m_barcode ( 0 )
102 {}

◆ GenVertex_p1() [2/2]

GenVertex_p1::GenVertex_p1 ( const double  x,
const double  y,
const double  z,
const double  t,
const int  id,
const std::vector< double > &  weights,
const int  barcode 
)
inline

Constructor with a fair number of parameters.

Definition at line 104 of file GenVertex_p1.h.

108  :
109  m_x ( x ),
110  m_y ( y ),
111  m_z ( z ),
112  m_t ( t ),
113  m_particlesIn ( ),
114  m_particlesOut( ),
115  m_id ( id ),
116  m_weights ( weights ),
117  m_barcode ( barcode )
118 {}

Friends And Related Function Documentation

◆ GenEventCnv_p1

friend class GenEventCnv_p1
friend

Definition at line 28 of file GenVertex_p1.h.

◆ McEventCollectionCnv_p2

friend class McEventCollectionCnv_p2
friend

Definition at line 30 of file GenVertex_p1.h.

Member Data Documentation

◆ m_barcode

int GenVertex_p1::m_barcode
protected

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

Definition at line 86 of file GenVertex_p1.h.

◆ m_id

int GenVertex_p1::m_id
protected

Id of this vertex.

Definition at line 78 of file GenVertex_p1.h.

◆ m_particlesIn

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

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

Definition at line 70 of file GenVertex_p1.h.

◆ m_particlesOut

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

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

Definition at line 74 of file GenVertex_p1.h.

◆ m_t

double GenVertex_p1::m_t
protected

t-coordinate of the vertex

Definition at line 66 of file GenVertex_p1.h.

◆ m_weights

std::vector<double> GenVertex_p1::m_weights
protected

Weights for this vertex.

Definition at line 82 of file GenVertex_p1.h.

◆ m_x

double GenVertex_p1::m_x
protected

x-coordinate of the vertex

Definition at line 54 of file GenVertex_p1.h.

◆ m_y

double GenVertex_p1::m_y
protected

y-coordinate of the vertex

Definition at line 58 of file GenVertex_p1.h.

◆ m_z

double GenVertex_p1::m_z
protected

z-coordinate of the vertex

Definition at line 62 of file GenVertex_p1.h.


The documentation for this class was generated from the following file:
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
x
#define x
GenVertex_p1::m_particlesOut
std::vector< int > m_particlesOut
collection of barcodes of out-going particles connected to this vertex
Definition: GenVertex_p1.h:74
z
#define z
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16
GenVertex_p1::m_particlesIn
std::vector< int > m_particlesIn
collection of barcodes of in-going particles connected to this vertex
Definition: GenVertex_p1.h:70
GenVertex_p1::m_barcode
int m_barcode
barcode of this vertex (uniquely identifying a vertex within an event)
Definition: GenVertex_p1.h:86
y
#define y
GenVertex_p1::m_y
double m_y
y-coordinate of the vertex
Definition: GenVertex_p1.h:58
GenVertex_p1::m_x
double m_x
x-coordinate of the vertex
Definition: GenVertex_p1.h:54
GenVertex_p1::m_id
int m_id
Id of this vertex.
Definition: GenVertex_p1.h:78
GenVertex_p1::m_t
double m_t
t-coordinate of the vertex
Definition: GenVertex_p1.h:66
GenVertex_p1::m_z
double m_z
z-coordinate of the vertex
Definition: GenVertex_p1.h:62
GenVertex_p1::m_weights
std::vector< double > m_weights
Weights for this vertex.
Definition: GenVertex_p1.h:82