CMS 3D CMS Logo

Public Member Functions | Private Attributes

G4SimVertex Class Reference

#include <G4SimVertex.h>

List of all members.

Public Member Functions

 G4SimVertex ()
 G4SimVertex (const math::XYZVectorD &ip, double it, int iv)
const int parentIndex () const
const double vertexGlobalTime () const
const math::XYZVectorDvertexPosition () const
 index of the parent (-1 if no parent)

Private Attributes

math::XYZVectorD ilv_
double itime_
int itrack_

Detailed Description

Definition at line 9 of file G4SimVertex.h.


Constructor & Destructor Documentation

G4SimVertex::G4SimVertex ( ) [inline]

Definition at line 12 of file G4SimVertex.h.

{}
G4SimVertex::G4SimVertex ( const math::XYZVectorD ip,
double  it,
int  iv 
) [inline]

Definition at line 13 of file G4SimVertex.h.

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

Member Function Documentation

const int G4SimVertex::parentIndex ( ) const [inline]

Definition at line 18 of file G4SimVertex.h.

References itrack_.

Referenced by G4SimEvent::load().

{ return  itrack_; }
const double G4SimVertex::vertexGlobalTime ( ) const [inline]

Definition at line 17 of file G4SimVertex.h.

References itime_.

Referenced by G4SimEvent::load().

{ return  itime_; }
const math::XYZVectorD& G4SimVertex::vertexPosition ( ) const [inline]

index of the parent (-1 if no parent)

Definition at line 16 of file G4SimVertex.h.

References ilv_.

Referenced by G4SimEvent::load().

{ return  ilv_; }

Member Data Documentation

Definition at line 20 of file G4SimVertex.h.

Referenced by vertexPosition().

double G4SimVertex::itime_ [private]

Definition at line 21 of file G4SimVertex.h.

Referenced by vertexGlobalTime().

int G4SimVertex::itrack_ [private]

Definition at line 22 of file G4SimVertex.h.

Referenced by parentIndex().