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

#include <GenVertex_p4.h>

Collaboration diagram for GenVertex_p4:

Public Member Functions

 GenVertex_p4 ()
 Default constructor: More...
 
template<class ITERATOR >
 GenVertex_p4 (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_p4
 

Detailed Description

Definition at line 23 of file GenVertex_p4.h.

Constructor & Destructor Documentation

◆ GenVertex_p4() [1/2]

GenVertex_p4::GenVertex_p4 ( )
inline

Default constructor:

Inline methods:

Definition at line 91 of file GenVertex_p4.h.

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

◆ GenVertex_p4() [2/2]

template<class ITERATOR >
GenVertex_p4::GenVertex_p4 ( 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 104 of file GenVertex_p4.h.

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

Friends And Related Function Documentation

◆ McEventCollectionCnv_p4

friend class McEventCollectionCnv_p4
friend

Definition at line 27 of file GenVertex_p4.h.

Member Data Documentation

◆ m_barcode

int GenVertex_p4::m_barcode
protected

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

Definition at line 85 of file GenVertex_p4.h.

◆ m_id

int GenVertex_p4::m_id
protected

Id of this vertex.

Definition at line 77 of file GenVertex_p4.h.

◆ m_particlesIn

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

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

Definition at line 69 of file GenVertex_p4.h.

◆ m_particlesOut

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

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

Definition at line 73 of file GenVertex_p4.h.

◆ m_t

float GenVertex_p4::m_t
protected

t-coordinate of the vertex

Definition at line 65 of file GenVertex_p4.h.

◆ m_weights

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

Weights for this vertex.

Definition at line 81 of file GenVertex_p4.h.

◆ m_x

float GenVertex_p4::m_x
protected

x-coordinate of the vertex

Definition at line 53 of file GenVertex_p4.h.

◆ m_y

float GenVertex_p4::m_y
protected

y-coordinate of the vertex

Definition at line 57 of file GenVertex_p4.h.

◆ m_z

float GenVertex_p4::m_z
protected

z-coordinate of the vertex

Definition at line 61 of file GenVertex_p4.h.


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