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

#include <GenVertex_p2.h>

Collaboration diagram for GenVertex_p2:

Public Member Functions

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

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< 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_p2
 

Detailed Description

Definition at line 22 of file GenVertex_p2.h.

Constructor & Destructor Documentation

◆ GenVertex_p2() [1/2]

GenVertex_p2::GenVertex_p2 ( )
inline

Default constructor:

Inline methods:

Definition at line 89 of file GenVertex_p2.h.

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

◆ GenVertex_p2() [2/2]

GenVertex_p2::GenVertex_p2 ( 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 101 of file GenVertex_p2.h.

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

Friends And Related Function Documentation

◆ McEventCollectionCnv_p2

friend class McEventCollectionCnv_p2
friend

Definition at line 26 of file GenVertex_p2.h.

Member Data Documentation

◆ m_barcode

int GenVertex_p2::m_barcode
protected

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

Definition at line 83 of file GenVertex_p2.h.

◆ m_id

int GenVertex_p2::m_id
protected

Id of this vertex.

Definition at line 75 of file GenVertex_p2.h.

◆ m_particlesIn

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

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

Definition at line 67 of file GenVertex_p2.h.

◆ m_particlesOut

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

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

Definition at line 71 of file GenVertex_p2.h.

◆ m_t

double GenVertex_p2::m_t
protected

t-coordinate of the vertex

Definition at line 63 of file GenVertex_p2.h.

◆ m_weights

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

Weights for this vertex.

Definition at line 79 of file GenVertex_p2.h.

◆ m_x

double GenVertex_p2::m_x
protected

x-coordinate of the vertex

Definition at line 51 of file GenVertex_p2.h.

◆ m_y

double GenVertex_p2::m_y
protected

y-coordinate of the vertex

Definition at line 55 of file GenVertex_p2.h.

◆ m_z

double GenVertex_p2::m_z
protected

z-coordinate of the vertex

Definition at line 59 of file GenVertex_p2.h.


The documentation for this class was generated from the following file:
GenVertex_p2::m_y
double m_y
y-coordinate of the vertex
Definition: GenVertex_p2.h:55
GenVertex_p2::m_barcode
int m_barcode
barcode of this vertex (uniquely identifying a vertex within an event)
Definition: GenVertex_p2.h:83
GenVertex_p2::m_t
double m_t
t-coordinate of the vertex
Definition: GenVertex_p2.h:63
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
x
#define x
GenVertex_p2::m_x
double m_x
x-coordinate of the vertex
Definition: GenVertex_p2.h:51
GenVertex_p2::m_z
double m_z
z-coordinate of the vertex
Definition: GenVertex_p2.h:59
z
#define z
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16
GenVertex_p2::m_id
int m_id
Id of this vertex.
Definition: GenVertex_p2.h:75
GenVertex_p2::m_particlesIn
std::vector< int > m_particlesIn
collection of barcodes of in-going particles connected to this vertex
Definition: GenVertex_p2.h:67
y
#define y
GenVertex_p2::m_particlesOut
std::vector< int > m_particlesOut
collection of barcodes of out-going particles connected to this vertex
Definition: GenVertex_p2.h:71
GenVertex_p2::m_weights
std::vector< float > m_weights
Weights for this vertex.
Definition: GenVertex_p2.h:79