#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 |
Definition at line 6 of file GflashTrajectory.h.
GflashTrajectory::GflashTrajectory | ( | ) |
Definition at line 5 of file GflashTrajectory.cc.
GflashTrajectory::~GflashTrajectory | ( | ) |
Definition at line 73 of file GflashTrajectory.cc.
void GflashTrajectory::_cacheSinesAndCosines | ( | double | s | ) | const |
Definition at line 257 of file GflashTrajectory.cc.
References _aa, _cc, _curvature, _refreshCache(), _s, _sinTheta, _ss, funct::cos(), alignCSCRings::s, and funct::sin().
Referenced by getDirection(), getGflashTrajectoryPoint(), and getPosition().
void GflashTrajectory::_refreshCache | ( | ) | const |
Definition at line 225 of file GflashTrajectory.cc.
References _cosPhi0, _cosTheta, _cotTheta, _isStale, _phi0, _sinPhi0, _sinTheta, funct::cos(), M_PI, funct::sin(), mathSSE::sqrt(), and theta().
Referenced by _cacheSinesAndCosines(), getCosPhi0(), getCosTheta(), getSinPhi0(), and getSinTheta().
double GflashTrajectory::getCosPhi0 | ( | ) | const |
double GflashTrajectory::getCosTheta | ( | ) | const |
Definition at line 114 of file GflashTrajectory.cc.
References _cosTheta, and _refreshCache().
Referenced by getPathLengthAtZ().
|
inline |
|
inline |
|
inline |
HepGeom::Vector3D< double > GflashTrajectory::getDirection | ( | double | s = 0.0 | ) | const |
Definition at line 135 of file GflashTrajectory.cc.
References _cacheSinesAndCosines(), _cc, _cosPhi0, _cosTheta, _sinPhi0, _sinTheta, and _ss.
void GflashTrajectory::getGflashTrajectoryPoint | ( | GflashTrajectoryPoint & | point, |
double | s | ||
) | const |
Definition at line 148 of file GflashTrajectory.cc.
References _cacheSinesAndCosines(), _cc, _cosPhi0, _cosTheta, _curvature, _d0, _sinPhi0, _sinTheta, _ss, _z0, GflashTrajectoryPoint::getMomentum(), GflashTrajectoryPoint::getPosition(), and GflashTrajectoryPoint::setPathLength().
Referenced by HFGflash::gfParameterization(), GflashHadronShowerProfile::hadronicParameterization(), CalorimetryManager::HDShowerSimulation(), GflashHadronShowerProfile::hoProfile(), GflashEMShowerProfile::parameterization(), GflashShowino::simulateFirstInteractionPoint(), and GflashShowino::updateShowino().
double GflashTrajectory::getL2DAtR | ( | double | r | ) | const |
Definition at line 192 of file GflashTrajectory.cc.
References trackerHits::c, getCurvature(), getD0(), M_PI, and mathSSE::sqrt().
Referenced by getPathLengthAtRhoEquals(), and getZAtR().
double GflashTrajectory::getPathLengthAtRhoEquals | ( | double | rho | ) | const |
Definition at line 179 of file GflashTrajectory.cc.
References getL2DAtR(), and getSinTheta().
Referenced by GflashShowino::evaluateLengths(), GflashEMShowerProfile::getDistanceToOut(), GflashHadronShowerProfile::hadronicParameterization(), and GflashShowino::simulateFirstInteractionPoint().
double GflashTrajectory::getPathLengthAtZ | ( | double | z | ) | const |
Definition at line 184 of file GflashTrajectory.cc.
References getCosTheta(), and getZ0().
Referenced by GflashShowino::evaluateLengths(), GflashEMShowerProfile::getDistanceToOut(), HFGflash::gfParameterization(), and GflashShowino::simulateFirstInteractionPoint().
|
inline |
HepGeom::Point3D< double > GflashTrajectory::getPosition | ( | double | s = 0.0 | ) | const |
Definition at line 119 of file GflashTrajectory.cc.
References _cacheSinesAndCosines(), _cc, _cosPhi0, _cosTheta, _curvature, _d0, _s, _sinPhi0, _sinTheta, _ss, and _z0.
double GflashTrajectory::getSinPhi0 | ( | ) | const |
double GflashTrajectory::getSinTheta | ( | ) | const |
Definition at line 110 of file GflashTrajectory.cc.
References _refreshCache(), and _sinTheta.
Referenced by getPathLengthAtRhoEquals().
|
inline |
double GflashTrajectory::getZAtR | ( | double | r | ) | const |
Definition at line 188 of file GflashTrajectory.cc.
References _z0, getCotTheta(), and getL2DAtR().
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.
References _aa, _cc, _cosPhi0, _cosTheta, _cotTheta, _curvature, _d0, _isStale, _phi0, _s, _sinPhi0, _sinTheta, _ss, _z0, funct::cos(), M_PI, lumiQueryAPI::q, alignCSCRings::s, funct::sin(), x, detailsBasic3DVector::y, detailsBasic3DVector::z, and Z0.
Referenced by HFGflash::gfParameterization(), and GflashShowino::initialize().
void GflashTrajectory::setCotTheta | ( | double | cotTheta | ) |
void GflashTrajectory::setCurvature | ( | double | curvature | ) |
Definition at line 82 of file GflashTrajectory.cc.
References _curvature, _isStale, and PixelRecoUtilities::curvature().
void GflashTrajectory::setD0 | ( | double | d0 | ) |
Definition at line 92 of file GflashTrajectory.cc.
void GflashTrajectory::setPhi0 | ( | double | phi0 | ) |
void GflashTrajectory::setZ0 | ( | double | z0 | ) |
Definition at line 87 of file GflashTrajectory.cc.
|
mutableprivate |
Definition at line 69 of file GflashTrajectory.h.
Referenced by _cacheSinesAndCosines(), and initializeTrajectory().
|
mutableprivate |
Definition at line 71 of file GflashTrajectory.h.
Referenced by _cacheSinesAndCosines(), getDirection(), getGflashTrajectoryPoint(), getPosition(), and initializeTrajectory().
|
mutableprivate |
Definition at line 64 of file GflashTrajectory.h.
Referenced by _refreshCache(), getCosPhi0(), getDirection(), getGflashTrajectoryPoint(), getPosition(), and initializeTrajectory().
|
mutableprivate |
Definition at line 66 of file GflashTrajectory.h.
Referenced by _refreshCache(), getCosTheta(), getDirection(), getGflashTrajectoryPoint(), getPosition(), and initializeTrajectory().
|
private |
Definition at line 55 of file GflashTrajectory.h.
Referenced by _refreshCache(), getCotTheta(), initializeTrajectory(), and setCotTheta().
|
private |
Definition at line 56 of file GflashTrajectory.h.
Referenced by _cacheSinesAndCosines(), getCurvature(), getGflashTrajectoryPoint(), getPosition(), initializeTrajectory(), and setCurvature().
|
private |
Definition at line 58 of file GflashTrajectory.h.
Referenced by getD0(), getGflashTrajectoryPoint(), getPosition(), initializeTrajectory(), and setD0().
|
mutableprivate |
Definition at line 62 of file GflashTrajectory.h.
Referenced by _refreshCache(), initializeTrajectory(), setCotTheta(), setCurvature(), setD0(), setPhi0(), and setZ0().
|
private |
Definition at line 59 of file GflashTrajectory.h.
Referenced by _refreshCache(), getPhi0(), initializeTrajectory(), and setPhi0().
|
mutableprivate |
Definition at line 67 of file GflashTrajectory.h.
Referenced by _cacheSinesAndCosines(), getPosition(), and initializeTrajectory().
|
mutableprivate |
Definition at line 63 of file GflashTrajectory.h.
Referenced by _refreshCache(), getDirection(), getGflashTrajectoryPoint(), getPosition(), getSinPhi0(), and initializeTrajectory().
|
mutableprivate |
Definition at line 65 of file GflashTrajectory.h.
Referenced by _cacheSinesAndCosines(), _refreshCache(), getDirection(), getGflashTrajectoryPoint(), getPosition(), getSinTheta(), and initializeTrajectory().
|
mutableprivate |
Definition at line 70 of file GflashTrajectory.h.
Referenced by _cacheSinesAndCosines(), getDirection(), getGflashTrajectoryPoint(), getPosition(), and initializeTrajectory().
|
private |
Definition at line 57 of file GflashTrajectory.h.
Referenced by getGflashTrajectoryPoint(), getPosition(), getZ0(), getZAtR(), initializeTrajectory(), and setZ0().