CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
GflashTrajectoryPoint Class Reference

#include <GflashTrajectoryPoint.h>

Public Member Functions

Gflash3Vector getCrossUnitVector ()
 
Gflash3VectorgetMomentum ()
 
Gflash3Vector getOrthogonalUnitVector ()
 
double getPathLength ()
 
Gflash3VectorgetPosition ()
 
 GflashTrajectoryPoint ()
 
 GflashTrajectoryPoint (Gflash3Vector &position, Gflash3Vector &momentum, double pathLength)
 
void setMomentum (const Gflash3Vector &momentum)
 
void setPathLength (double pathLength)
 
void setPosition (const Gflash3Vector &position)
 
 ~GflashTrajectoryPoint ()
 

Private Attributes

Gflash3Vector theMomentum
 
double thePathLength
 
Gflash3Vector thePosition
 

Detailed Description

Definition at line 8 of file GflashTrajectoryPoint.h.

Constructor & Destructor Documentation

GflashTrajectoryPoint::GflashTrajectoryPoint ( )

Definition at line 4 of file GflashTrajectoryPoint.cc.

5  : thePosition(0,0,0), theMomentum(0,0,0), thePathLength(0)
6 {
7  //default constructor
8 }
GflashTrajectoryPoint::GflashTrajectoryPoint ( Gflash3Vector position,
Gflash3Vector momentum,
double  pathLength 
)

Definition at line 10 of file GflashTrajectoryPoint.cc.

References position, theMomentum, thePathLength, and thePosition.

12 {
14  theMomentum = momentum;
15  thePathLength = pathLength;
16 }
static int position[264][3]
Definition: ReadPGInfo.cc:509
GflashTrajectoryPoint::~GflashTrajectoryPoint ( )

Definition at line 18 of file GflashTrajectoryPoint.cc.

19 {
20 }

Member Function Documentation

Gflash3Vector GflashTrajectoryPoint::getCrossUnitVector ( )
inline
Gflash3Vector& GflashTrajectoryPoint::getMomentum ( )
inline

Definition at line 23 of file GflashTrajectoryPoint.h.

References theMomentum.

Referenced by GflashTrajectory::getGflashTrajectoryPoint().

23 { return theMomentum; }
Gflash3Vector GflashTrajectoryPoint::getOrthogonalUnitVector ( )
inline
double GflashTrajectoryPoint::getPathLength ( )
inline

Definition at line 21 of file GflashTrajectoryPoint.h.

References thePathLength.

21 { return thePathLength; }
Gflash3Vector& GflashTrajectoryPoint::getPosition ( )
inline
void GflashTrajectoryPoint::setMomentum ( const Gflash3Vector momentum)
inline

Definition at line 28 of file GflashTrajectoryPoint.h.

References theMomentum.

28 { theMomentum = momentum; }
void GflashTrajectoryPoint::setPathLength ( double  pathLength)
inline

Definition at line 29 of file GflashTrajectoryPoint.h.

References thePathLength.

Referenced by GflashTrajectory::getGflashTrajectoryPoint().

29 { thePathLength = pathLength; }
void GflashTrajectoryPoint::setPosition ( const Gflash3Vector position)
inline

Definition at line 27 of file GflashTrajectoryPoint.h.

References position, and thePosition.

27 { thePosition = position; }
static int position[264][3]
Definition: ReadPGInfo.cc:509

Member Data Documentation

Gflash3Vector GflashTrajectoryPoint::theMomentum
private
double GflashTrajectoryPoint::thePathLength
private

Definition at line 34 of file GflashTrajectoryPoint.h.

Referenced by getPathLength(), GflashTrajectoryPoint(), and setPathLength().

Gflash3Vector GflashTrajectoryPoint::thePosition
private

Definition at line 32 of file GflashTrajectoryPoint.h.

Referenced by getPosition(), GflashTrajectoryPoint(), and setPosition().