| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

GiGaTrajectoryPoint Class Reference

Customisation of "standard" G4TrajectoryPoint to incorporate TimeOfFlight of the point. More...

#include <GiGaTrajectoryPoint.h>

List of all members.


Public Member Functions

 GiGaTrajectoryPoint ()
 default empty constructor
 GiGaTrajectoryPoint (const CLHEP::Hep3Vector &Pos, const double Time, const CLHEP::HepLorentzVector &Mom=CLHEP::HepLorentzVector(), const G4VProcess *Proc=0)
 constructor from position and time, momentum and process
 GiGaTrajectoryPoint (const double Time, const CLHEP::Hep3Vector &Pos, const CLHEP::HepLorentzVector &Mom=CLHEP::HepLorentzVector(), const G4VProcess *Proc=0)
 constructor from position and time
 GiGaTrajectoryPoint (const CLHEP::HepLorentzVector &right, const CLHEP::HepLorentzVector &Mom=CLHEP::HepLorentzVector(), const G4VProcess *Proc=0)
 constructor from 4-vector
 GiGaTrajectoryPoint (const G4TrajectoryPoint &Point, const double Time, const CLHEP::HepLorentzVector &Mom=CLHEP::HepLorentzVector(), const G4VProcess *Proc=0)
 constructor from G4TrajectoryPoint
 GiGaTrajectoryPoint (const G4VTrajectoryPoint &Point, const double Time, const CLHEP::HepLorentzVector &Mom=CLHEP::HepLorentzVector(), const G4VProcess *Proc=0)
 constructor from G4VTrajectoryPoint
 GiGaTrajectoryPoint (const GiGaTrajectoryPoint &right)
 copy constructor
virtual ~GiGaTrajectoryPoint ()
 destructor (virtual)
GiGaTrajectoryPointclone () const
 clone method (virtual constructor)
void * operator new (size_t)
 overloaded "new"
void operator delete (void *)
 overloaded "delete"
bool operator== (const GiGaTrajectoryPoint &right)
 comparison,needed by G4
const double time () const
 get the time
const double GetTime () const
 get the time
void setTime (double Time)
 set the time
const CLHEP::HepLorentzVector fourVector () const
 get the 4-position
const CLHEP::HepLorentzVector GetFourVector () const
 get the 4-position
const CLHEP::HepLorentzVector & momentum () const
 get the actual 'input' 4-momentum of the particle
const CLHEP::HepLorentzVector & GetMomentum () const
 get the actual 'input' 4-momentum of the particle
void setMomentum (const CLHEP::HepLorentzVector &value)
 set new value for input 4-momentum
void SetMomentum (const CLHEP::HepLorentzVector &value)
 set new value for input 4-momentum
const G4VProcess * process () const
 get the process which depermines the position of the trajectory point(vertex) for th efitrst point if th etrajectory it is a "creator" process for the track otherwise it is process whoch determinies the step
const G4VProcess * GetProcess () const
 get the process which depermines the position of the trajectory point(vertex) for th efitrst point if th etrajectory it is a "creator" process for the track otherwise it is process whoch determinies the step
void setProcess (const G4VProcess *value)
 set new valeu of the process
void SetProcess (const G4VProcess *value)
 set new valeu of the process

Private Member Functions

GiGaTrajectoryPointoperator= (const GiGaTrajectoryPoint &right)

Private Attributes

double m_time
CLHEP::HepLorentzVector m_momentum
const G4VProcess * m_process

Detailed Description

Customisation of "standard" G4TrajectoryPoint to incorporate TimeOfFlight of the point.

Overwise conversion to MCVertex class is impossible.

Author:
Vanya Belyaev
Date:
22/02/2001

Definition at line 41 of file GiGaTrajectoryPoint.h.


Constructor & Destructor Documentation

GiGaTrajectoryPoint::GiGaTrajectoryPoint (  ) 

default empty constructor

GiGaTrajectoryPoint::GiGaTrajectoryPoint ( const CLHEP::Hep3Vector &  Pos,
const double  Time,
const CLHEP::HepLorentzVector &  Mom = CLHEP::HepLorentzVector(),
const G4VProcess *  Proc = 0 
)

constructor from position and time, momentum and process

Parameters:
Pos position
Time time
Mom input momentum
Proc process

GiGaTrajectoryPoint::GiGaTrajectoryPoint ( const double  Time,
const CLHEP::Hep3Vector &  Pos,
const CLHEP::HepLorentzVector &  Mom = CLHEP::HepLorentzVector(),
const G4VProcess *  Proc = 0 
)

constructor from position and time

Parameters:
Time time
Pos position
Mom input momentum
Proc process

GiGaTrajectoryPoint::GiGaTrajectoryPoint ( const CLHEP::HepLorentzVector &  right,
const CLHEP::HepLorentzVector &  Mom = CLHEP::HepLorentzVector(),
const G4VProcess *  Proc = 0 
)

constructor from 4-vector

Parameters:
right 4-vector
Mom input momentum
Proc process

GiGaTrajectoryPoint::GiGaTrajectoryPoint ( const G4TrajectoryPoint &  Point,
const double  Time,
const CLHEP::HepLorentzVector &  Mom = CLHEP::HepLorentzVector(),
const G4VProcess *  Proc = 0 
)

constructor from G4TrajectoryPoint

Parameters:
point trajectory point
Time time
Mom input momentum
Proc process

GiGaTrajectoryPoint::GiGaTrajectoryPoint ( const G4VTrajectoryPoint &  Point,
const double  Time,
const CLHEP::HepLorentzVector &  Mom = CLHEP::HepLorentzVector(),
const G4VProcess *  Proc = 0 
)

constructor from G4VTrajectoryPoint

Parameters:
point trajectory point
Time time
Mom input momentum
Proc process

GiGaTrajectoryPoint::GiGaTrajectoryPoint ( const GiGaTrajectoryPoint right  ) 

copy constructor

Parameters:
right object to be copied

virtual GiGaTrajectoryPoint::~GiGaTrajectoryPoint (  )  [virtual]

destructor (virtual)


Member Function Documentation

GiGaTrajectoryPoint* GiGaTrajectoryPoint::clone (  )  const

clone method (virtual constructor)

Returns:
new trajectory point

void* GiGaTrajectoryPoint::operator new ( size_t   ) 

overloaded "new"

void GiGaTrajectoryPoint::operator delete ( void *   ) 

overloaded "delete"

bool GiGaTrajectoryPoint::operator== ( const GiGaTrajectoryPoint right  )  [inline]

comparison,needed by G4

Definition at line 128 of file GiGaTrajectoryPoint.h.

00129   { return (&right) == this ; } 

const double GiGaTrajectoryPoint::time (  )  const [inline]

get the time

Definition at line 132 of file GiGaTrajectoryPoint.h.

00132 { return m_time   ; } 

const double GiGaTrajectoryPoint::GetTime (  )  const [inline]

get the time

Definition at line 134 of file GiGaTrajectoryPoint.h.

00134 { return   time() ; }

void GiGaTrajectoryPoint::setTime ( double  Time  )  [inline]

set the time

Definition at line 136 of file GiGaTrajectoryPoint.h.

00136 { m_time = Time ; }  

const CLHEP::HepLorentzVector GiGaTrajectoryPoint::fourVector (  )  const [inline]

get the 4-position

Definition at line 138 of file GiGaTrajectoryPoint.h.

00139   { return CLHEP::HepLorentzVector ( GetPosition() , GetTime() ) ; };  

const CLHEP::HepLorentzVector GiGaTrajectoryPoint::GetFourVector (  )  const [inline]

get the 4-position

Definition at line 142 of file GiGaTrajectoryPoint.h.

00142 { return fourVector ()  ; };  

const CLHEP::HepLorentzVector& GiGaTrajectoryPoint::momentum (  )  const [inline]

get the actual 'input' 4-momentum of the particle

Definition at line 145 of file GiGaTrajectoryPoint.h.

00145 { return m_momentum    ; }

const CLHEP::HepLorentzVector& GiGaTrajectoryPoint::GetMomentum (  )  const [inline]

get the actual 'input' 4-momentum of the particle

Definition at line 148 of file GiGaTrajectoryPoint.h.

00148 { return   momentum () ; }

void GiGaTrajectoryPoint::setMomentum ( const CLHEP::HepLorentzVector &  value  )  [inline]

set new value for input 4-momentum

Definition at line 151 of file GiGaTrajectoryPoint.h.

00151 {  m_momentum = value   ; }

void GiGaTrajectoryPoint::SetMomentum ( const CLHEP::HepLorentzVector &  value  )  [inline]

set new value for input 4-momentum

Definition at line 154 of file GiGaTrajectoryPoint.h.

00154 { setMomentum ( value ) ; }

const G4VProcess* GiGaTrajectoryPoint::process (  )  const [inline]

get the process which depermines the position of the trajectory point(vertex) for th efitrst point if th etrajectory it is a "creator" process for the track otherwise it is process whoch determinies the step

Definition at line 162 of file GiGaTrajectoryPoint.h.

00162 { return m_process    ; }

const G4VProcess* GiGaTrajectoryPoint::GetProcess (  )  const [inline]

get the process which depermines the position of the trajectory point(vertex) for th efitrst point if th etrajectory it is a "creator" process for the track otherwise it is process whoch determinies the step

Definition at line 170 of file GiGaTrajectoryPoint.h.

00170 { return   process () ; }

void GiGaTrajectoryPoint::setProcess ( const G4VProcess *  value  )  [inline]

set new valeu of the process

Definition at line 173 of file GiGaTrajectoryPoint.h.

00173 {  m_process = value   ; }

void GiGaTrajectoryPoint::SetProcess ( const G4VProcess *  value  )  [inline]

set new valeu of the process

Definition at line 175 of file GiGaTrajectoryPoint.h.

00175 { setProcess ( value ) ; }

GiGaTrajectoryPoint& GiGaTrajectoryPoint::operator= ( const GiGaTrajectoryPoint right  )  [private]


Member Data Documentation

double GiGaTrajectoryPoint::m_time [private]

Definition at line 185 of file GiGaTrajectoryPoint.h.

CLHEP::HepLorentzVector GiGaTrajectoryPoint::m_momentum [private]

Definition at line 186 of file GiGaTrajectoryPoint.h.

const G4VProcess* GiGaTrajectoryPoint::m_process [private]

Definition at line 187 of file GiGaTrajectoryPoint.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:01:18 2011 for GiGa by doxygen 1.4.7