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
GflashTrajectory Class Reference

#include <GflashTrajectory.h>

Public Member Functions

void _cacheSinesAndCosines (double s) const
 
void _refreshCache () const
 
double getCosPhi0 () const
 
double getCosTheta () const
 
double getCotTheta () const
 
double getCurvature () const
 
double getD0 () const
 
HepGeom::Vector3D< double > getDirection (double s=0.0) const
 
void getGflashTrajectoryPoint (GflashTrajectoryPoint &point, double s) const
 
double getL2DAtR (double r) const
 
double getPathLengthAtRhoEquals (double rho) const
 
double getPathLengthAtZ (double z) const
 
double getPhi0 () const
 
HepGeom::Point3D< double > getPosition (double s=0.0) const
 
double getSinPhi0 () const
 
double getSinTheta () const
 
double getZ0 () const
 
double getZAtR (double r) const
 
 GflashTrajectory ()
 
void initializeTrajectory (const HepGeom::Vector3D< double > &, const HepGeom::Point3D< double > &, double q, double Field)
 
void setCotTheta (double cotTheta)
 
void setCurvature (double curvature)
 
void setD0 (double d0)
 
void setPhi0 (double phi0)
 
void setZ0 (double z0)
 
 ~GflashTrajectory ()
 

Private Attributes

double _aa
 
double _cc
 
double _cosPhi0
 
double _cosTheta
 
double _cotTheta
 
double _curvature
 
double _d0
 
bool _isStale
 
double _phi0
 
double _s
 
double _sinPhi0
 
double _sinTheta
 
double _ss
 
double _z0
 

Detailed Description

Definition at line 6 of file GflashTrajectory.h.

Constructor & Destructor Documentation

GflashTrajectory::GflashTrajectory ( )

Definition at line 5 of file GflashTrajectory.cc.

GflashTrajectory::~GflashTrajectory ( )

Definition at line 73 of file GflashTrajectory.cc.

Member Function Documentation

void GflashTrajectory::_cacheSinesAndCosines ( double  s) const

Definition at line 257 of file GflashTrajectory.cc.

void GflashTrajectory::_refreshCache ( ) const

Definition at line 225 of file GflashTrajectory.cc.

double GflashTrajectory::getCosPhi0 ( ) const

Definition at line 106 of file GflashTrajectory.cc.

double GflashTrajectory::getCosTheta ( ) const

Definition at line 114 of file GflashTrajectory.cc.

double GflashTrajectory::getCotTheta ( ) const
inline

Definition at line 21 of file GflashTrajectory.h.

References _cotTheta.

21 { return _cotTheta; }
double GflashTrajectory::getCurvature ( ) const
inline

Definition at line 22 of file GflashTrajectory.h.

References _curvature.

22 { return _curvature; }
double GflashTrajectory::getD0 ( ) const
inline

Definition at line 24 of file GflashTrajectory.h.

References _d0.

24 { return _d0; };
HepGeom::Vector3D< double > GflashTrajectory::getDirection ( double  s = 0.0) const

Definition at line 135 of file GflashTrajectory.cc.

void GflashTrajectory::getGflashTrajectoryPoint ( GflashTrajectoryPoint point,
double  s 
) const

Definition at line 148 of file GflashTrajectory.cc.

double GflashTrajectory::getL2DAtR ( double  r) const

Definition at line 192 of file GflashTrajectory.cc.

double GflashTrajectory::getPathLengthAtRhoEquals ( double  rho) const

Definition at line 179 of file GflashTrajectory.cc.

double GflashTrajectory::getPathLengthAtZ ( double  z) const

Definition at line 184 of file GflashTrajectory.cc.

double GflashTrajectory::getPhi0 ( ) const
inline

Definition at line 25 of file GflashTrajectory.h.

References _phi0.

25 { return _phi0;};
HepGeom::Point3D< double > GflashTrajectory::getPosition ( double  s = 0.0) const

Definition at line 119 of file GflashTrajectory.cc.

double GflashTrajectory::getSinPhi0 ( ) const

Definition at line 102 of file GflashTrajectory.cc.

double GflashTrajectory::getSinTheta ( ) const

Definition at line 110 of file GflashTrajectory.cc.

double GflashTrajectory::getZ0 ( ) const
inline

Definition at line 23 of file GflashTrajectory.h.

References _z0.

23 { return _z0; };
double GflashTrajectory::getZAtR ( double  r) const

Definition at line 188 of file GflashTrajectory.cc.

void GflashTrajectory::initializeTrajectory ( const HepGeom::Vector3D< double > &  MomentumGev,
const HepGeom::Point3D< double > &  PositionCm,
double  q,
double  Field 
)

Definition at line 18 of file GflashTrajectory.cc.

void GflashTrajectory::setCotTheta ( double  cotTheta)

Definition at line 77 of file GflashTrajectory.cc.

void GflashTrajectory::setCurvature ( double  curvature)

Definition at line 82 of file GflashTrajectory.cc.

void GflashTrajectory::setD0 ( double  d0)

Definition at line 92 of file GflashTrajectory.cc.

void GflashTrajectory::setPhi0 ( double  phi0)

Definition at line 97 of file GflashTrajectory.cc.

void GflashTrajectory::setZ0 ( double  z0)

Definition at line 87 of file GflashTrajectory.cc.

Member Data Documentation

double GflashTrajectory::_aa
mutableprivate

Definition at line 69 of file GflashTrajectory.h.

double GflashTrajectory::_cc
mutableprivate

Definition at line 71 of file GflashTrajectory.h.

double GflashTrajectory::_cosPhi0
mutableprivate

Definition at line 64 of file GflashTrajectory.h.

double GflashTrajectory::_cosTheta
mutableprivate

Definition at line 66 of file GflashTrajectory.h.

double GflashTrajectory::_cotTheta
private

Definition at line 55 of file GflashTrajectory.h.

Referenced by getCotTheta().

double GflashTrajectory::_curvature
private

Definition at line 56 of file GflashTrajectory.h.

Referenced by getCurvature().

double GflashTrajectory::_d0
private

Definition at line 58 of file GflashTrajectory.h.

Referenced by getD0().

bool GflashTrajectory::_isStale
mutableprivate

Definition at line 62 of file GflashTrajectory.h.

double GflashTrajectory::_phi0
private

Definition at line 59 of file GflashTrajectory.h.

Referenced by getPhi0().

double GflashTrajectory::_s
mutableprivate

Definition at line 67 of file GflashTrajectory.h.

double GflashTrajectory::_sinPhi0
mutableprivate

Definition at line 63 of file GflashTrajectory.h.

double GflashTrajectory::_sinTheta
mutableprivate

Definition at line 65 of file GflashTrajectory.h.

double GflashTrajectory::_ss
mutableprivate

Definition at line 70 of file GflashTrajectory.h.

double GflashTrajectory::_z0
private

Definition at line 57 of file GflashTrajectory.h.

Referenced by getZ0().