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

#include <GenVertex_p7.h>

Collaboration diagram for GenVertex_p7:

Public Member Functions

 GenVertex_p7 ()
 Default constructor: More...
 
template<class ITERATOR >
 GenVertex_p7 (const double x, const double y, const double z, const double t, const int id, ITERATOR weightsBegin, 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_p7
 

Detailed Description

Definition at line 23 of file GenVertex_p7.h.

Constructor & Destructor Documentation

◆ GenVertex_p7() [1/2]

GenVertex_p7::GenVertex_p7 ( )
inline

Default constructor:

Inline methods:

Definition at line 92 of file GenVertex_p7.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_p7() [2/2]

template<class ITERATOR >
GenVertex_p7::GenVertex_p7 ( const double  x,
const double  y,
const double  z,
const double  t,
const int  id,
ITERATOR  weightsBegin,
ITERATOR  weightsEnd,
const int  barcode 
)
inline

Constructor with a fair number of parameters.

Definition at line 105 of file GenVertex_p7.h.

110  :
111  m_x ( static_cast<float>(x) ),
112  m_y ( static_cast<float>(y) ),
113  m_z ( static_cast<float>(z) ),
114  m_t ( static_cast<float>(t) ),
115  m_particlesIn ( ),
116  m_particlesOut ( ),
117  m_id ( id ),
118  m_weights ( weightsBegin, weightsEnd ),
119  m_barcode ( barcode )
120 {}

Friends And Related Function Documentation

◆ McEventCollectionCnv_p7

friend class McEventCollectionCnv_p7
friend

Definition at line 27 of file GenVertex_p7.h.

Member Data Documentation

◆ m_barcode

int GenVertex_p7::m_barcode
protected

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

Definition at line 85 of file GenVertex_p7.h.

◆ m_id

int GenVertex_p7::m_id
protected

Id of this vertex.

Definition at line 77 of file GenVertex_p7.h.

◆ m_particlesIn

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

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

Definition at line 69 of file GenVertex_p7.h.

◆ m_particlesOut

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

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

Definition at line 73 of file GenVertex_p7.h.

◆ m_t

float GenVertex_p7::m_t
protected

t-coordinate of the vertex

Definition at line 65 of file GenVertex_p7.h.

◆ m_weights

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

Weights for this vertex.

Definition at line 81 of file GenVertex_p7.h.

◆ m_x

float GenVertex_p7::m_x
protected

x-coordinate of the vertex

Definition at line 53 of file GenVertex_p7.h.

◆ m_y

float GenVertex_p7::m_y
protected

y-coordinate of the vertex

Definition at line 57 of file GenVertex_p7.h.

◆ m_z

float GenVertex_p7::m_z
protected

z-coordinate of the vertex

Definition at line 61 of file GenVertex_p7.h.


The documentation for this class was generated from the following file:
GenVertex_p7::m_barcode
int m_barcode
barcode of this vertex (uniquely identifying a vertex within an event)
Definition: GenVertex_p7.h:85
GenVertex_p7::m_y
float m_y
y-coordinate of the vertex
Definition: GenVertex_p7.h:57
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
x
#define x
z
#define z
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16
GenVertex_p7::m_particlesOut
std::vector< int > m_particlesOut
collection of barcodes of out-going particles connected to this vertex
Definition: GenVertex_p7.h:73
GenVertex_p7::m_x
float m_x
x-coordinate of the vertex
Definition: GenVertex_p7.h:53
GenVertex_p7::m_id
int m_id
Id of this vertex.
Definition: GenVertex_p7.h:77
y
#define y
GenVertex_p7::m_weights
std::vector< float > m_weights
Weights for this vertex.
Definition: GenVertex_p7.h:81
GenVertex_p7::m_particlesIn
std::vector< int > m_particlesIn
collection of barcodes of in-going particles connected to this vertex
Definition: GenVertex_p7.h:69
GenVertex_p7::m_t
float m_t
t-coordinate of the vertex
Definition: GenVertex_p7.h:65
GenVertex_p7::m_z
float m_z
z-coordinate of the vertex
Definition: GenVertex_p7.h:61