CMS 3D CMS Logo

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

#include <G4SimVertex.h>

Public Member Functions

 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...
 
 ~G4SimVertex ()=default
 

Private Attributes

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

Detailed Description

Definition at line 8 of file G4SimVertex.h.

Constructor & Destructor Documentation

◆ G4SimVertex()

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

Definition at line 10 of file G4SimVertex.h.

11  : ilv_(ip), itime_(it), itrack_(iv), procType_(typ) {}
unsigned int procType_
Definition: G4SimVertex.h:23
int32_t *__restrict__ iv
double itime_
Definition: G4SimVertex.h:21
math::XYZVectorD ilv_
Definition: G4SimVertex.h:20

◆ ~G4SimVertex()

G4SimVertex::~G4SimVertex ( )
default

Member Function Documentation

◆ parentIndex()

int G4SimVertex::parentIndex ( ) const
inline

Definition at line 16 of file G4SimVertex.h.

References itrack_.

16 { return itrack_; }

◆ processType()

unsigned int G4SimVertex::processType ( ) const
inline

Definition at line 17 of file G4SimVertex.h.

References procType_.

17 { return procType_; }
unsigned int procType_
Definition: G4SimVertex.h:23

◆ vertexGlobalTime()

double G4SimVertex::vertexGlobalTime ( ) const
inline

Definition at line 15 of file G4SimVertex.h.

References itime_.

15 { return itime_; }
double itime_
Definition: G4SimVertex.h:21

◆ vertexPosition()

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

index of the parent (-1 if no parent)

Definition at line 14 of file G4SimVertex.h.

References ilv_.

14 { return ilv_; }
math::XYZVectorD ilv_
Definition: G4SimVertex.h:20

Member Data Documentation

◆ ilv_

math::XYZVectorD G4SimVertex::ilv_
private

Definition at line 20 of file G4SimVertex.h.

Referenced by vertexPosition().

◆ itime_

double G4SimVertex::itime_
private

Definition at line 21 of file G4SimVertex.h.

Referenced by vertexGlobalTime().

◆ itrack_

int G4SimVertex::itrack_
private

Definition at line 22 of file G4SimVertex.h.

Referenced by parentIndex().

◆ procType_

unsigned int G4SimVertex::procType_
private

Definition at line 23 of file G4SimVertex.h.

Referenced by processType().