CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
G4SimVertex Class Reference

#include <G4SimVertex.h>

Public Member Functions

 G4SimVertex ()
 
 G4SimVertex (const math::XYZVectorD &ip, double it, int iv, unsigned int typ=0)
 
int parentIndex () const
 
unsigned int processType () const
 
double vertexGlobalTime () const
 
const math::XYZVectorDvertexPosition () const
 index of the parent (-1 if no parent) More...
 

Private Attributes

math::XYZVectorD ilv_
 
double itime_
 
int itrack_
 
unsigned int procType_
 

Detailed Description

Definition at line 9 of file G4SimVertex.h.

Constructor & Destructor Documentation

◆ G4SimVertex() [1/2]

G4SimVertex::G4SimVertex ( )
inline

Definition at line 11 of file G4SimVertex.h.

11 {}

◆ G4SimVertex() [2/2]

G4SimVertex::G4SimVertex ( const math::XYZVectorD ip,
double  it,
int  iv,
unsigned int  typ = 0 
)
inline

Definition at line 12 of file G4SimVertex.h.

13  : ilv_(ip), itime_(it), itrack_(iv), procType_(typ) {}

Member Function Documentation

◆ parentIndex()

int G4SimVertex::parentIndex ( ) const
inline

Definition at line 17 of file G4SimVertex.h.

17 { return itrack_; }

References itrack_.

◆ processType()

unsigned int G4SimVertex::processType ( ) const
inline

Definition at line 18 of file G4SimVertex.h.

18 { return procType_; }

References procType_.

◆ vertexGlobalTime()

double G4SimVertex::vertexGlobalTime ( ) const
inline

Definition at line 16 of file G4SimVertex.h.

16 { return itime_; }

References itime_.

◆ vertexPosition()

const math::XYZVectorD& G4SimVertex::vertexPosition ( ) const
inline

index of the parent (-1 if no parent)

Definition at line 15 of file G4SimVertex.h.

15 { return ilv_; }

References ilv_.

Member Data Documentation

◆ ilv_

math::XYZVectorD G4SimVertex::ilv_
private

Definition at line 21 of file G4SimVertex.h.

Referenced by vertexPosition().

◆ itime_

double G4SimVertex::itime_
private

Definition at line 22 of file G4SimVertex.h.

Referenced by vertexGlobalTime().

◆ itrack_

int G4SimVertex::itrack_
private

Definition at line 23 of file G4SimVertex.h.

Referenced by parentIndex().

◆ procType_

unsigned int G4SimVertex::procType_
private

Definition at line 24 of file G4SimVertex.h.

Referenced by processType().

G4SimVertex::itime_
double itime_
Definition: G4SimVertex.h:22
G4SimVertex::procType_
unsigned int procType_
Definition: G4SimVertex.h:24
G4SimVertex::ilv_
math::XYZVectorD ilv_
Definition: G4SimVertex.h:21
G4SimVertex::itrack_
int itrack_
Definition: G4SimVertex.h:23