CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GflashTrajectoryPoint.h
Go to the documentation of this file.
1 #ifndef GflashTrajectoryPoint_H
2 #define GflashTrajectoryPoint_H
3 
4 #include "CLHEP/Geometry/Point3D.h"
5 #include "CLHEP/Geometry/Vector3D.h"
7 
9 
10 public:
11  //-------------------------
12  // Constructor, destructor
13  //-------------------------
15 
17  double pathLength);
18 
20 
21  double getPathLength() { return thePathLength; }
24  Gflash3Vector getOrthogonalUnitVector() { return theMomentum.orthogonal().unit(); }
26 
27  void setPosition(const Gflash3Vector& position ) { thePosition = position; }
28  void setMomentum(const Gflash3Vector& momentum ) { theMomentum = momentum; }
29  void setPathLength(double pathLength ) { thePathLength = pathLength; }
30 
31 private:
34  double thePathLength;
35 };
36 
37 #endif
38 
39 
Gflash3Vector getCrossUnitVector()
void setPathLength(double pathLength)
Gflash3Vector getOrthogonalUnitVector()
void setPosition(const Gflash3Vector &position)
CLHEP::Hep3Vector Gflash3Vector
Definition: Gflash3Vector.h:6
Gflash3Vector & getPosition()
static int position[264][3]
Definition: ReadPGInfo.cc:509
Gflash3Vector & getMomentum()
void setMomentum(const Gflash3Vector &momentum)