#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 | ( | ) |
GflashTrajectory::~GflashTrajectory | ( | ) |
Definition at line 87 of file GflashTrajectory.cc.
void GflashTrajectory::_cacheSinesAndCosines | ( | double | s | ) | const |
Definition at line 247 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 217 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 |
Definition at line 118 of file GflashTrajectory.cc.
References _cosPhi0, and _refreshCache().
double GflashTrajectory::getCosTheta | ( | ) | const |
Definition at line 126 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 144 of file GflashTrajectory.cc.
References _cacheSinesAndCosines(), _cc, _cosPhi0, _cosTheta, _sinPhi0, _sinTheta, _ss, and alignCSCRings::s.
void GflashTrajectory::getGflashTrajectoryPoint | ( | GflashTrajectoryPoint & | point, |
double | s | ||
) | const |
Definition at line 155 of file GflashTrajectory.cc.
References _cacheSinesAndCosines(), _cc, _cosPhi0, _cosTheta, _curvature, _d0, _sinPhi0, _sinTheta, _ss, _z0, point, and alignCSCRings::s.
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 185 of file GflashTrajectory.cc.
References HltBtagPostValidation_cff::c, ztail::d, getCurvature(), getD0(), M_PI, rho, and mathSSE::sqrt().
Referenced by getPathLengthAtRhoEquals(), and getZAtR().
double GflashTrajectory::getPathLengthAtRhoEquals | ( | double | rho | ) | const |
Definition at line 175 of file GflashTrajectory.cc.
References getL2DAtR(), getSinTheta(), and rho.
Referenced by GflashShowino::evaluateLengths(), GflashEMShowerProfile::getDistanceToOut(), GflashHadronShowerProfile::hadronicParameterization(), and GflashShowino::simulateFirstInteractionPoint().
double GflashTrajectory::getPathLengthAtZ | ( | double | z | ) | const |
Definition at line 179 of file GflashTrajectory.cc.
References getCosTheta(), getZ0(), and z.
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 131 of file GflashTrajectory.cc.
References _cacheSinesAndCosines(), _cc, _cosPhi0, _cosTheta, _curvature, _d0, _s, _sinPhi0, _sinTheta, _ss, _z0, and alignCSCRings::s.
double GflashTrajectory::getSinPhi0 | ( | ) | const |
Definition at line 114 of file GflashTrajectory.cc.
References _refreshCache(), and _sinPhi0.
double GflashTrajectory::getSinTheta | ( | ) | const |
Definition at line 122 of file GflashTrajectory.cc.
References _refreshCache(), and _sinTheta.
Referenced by getPathLengthAtRhoEquals().
|
inline |
double GflashTrajectory::getZAtR | ( | double | r | ) | const |
Definition at line 183 of file GflashTrajectory.cc.
References _z0, getCotTheta(), getL2DAtR(), and rho.
void GflashTrajectory::initializeTrajectory | ( | const HepGeom::Vector3D< double > & | MomentumGev, |
const HepGeom::Point3D< double > & | PositionCm, | ||
double | q, | ||
double | Field | ||
) |
Definition at line 27 of file GflashTrajectory.cc.
References _aa, _cc, _cosPhi0, _cosTheta, _cotTheta, _curvature, _d0, _isStale, _phi0, _s, _sinPhi0, _sinTheta, _ss, _z0, funct::cos(), CustomPhysics_cfi::gamma, M_PI, submitPVResolutionJobs::q, JetPartonCorrections_cff::Radius, alignCSCRings::s, funct::sin(), x, y, z, and Z0.
Referenced by HFGflash::gfParameterization(), and GflashShowino::initialize().
void GflashTrajectory::setCotTheta | ( | double | cotTheta | ) |
void GflashTrajectory::setCurvature | ( | double | curvature | ) |
Definition at line 94 of file GflashTrajectory.cc.
References _curvature, _isStale, and PixelRecoUtilities::curvature().
void GflashTrajectory::setD0 | ( | double | d0 | ) |
void GflashTrajectory::setPhi0 | ( | double | phi0 | ) |
void GflashTrajectory::setZ0 | ( | double | z0 | ) |
Definition at line 99 of file GflashTrajectory.cc.
References _isStale, _z0, and HLTMuonOfflineAnalyzer_cfi::z0.
|
mutableprivate |
Definition at line 66 of file GflashTrajectory.h.
Referenced by _cacheSinesAndCosines(), and initializeTrajectory().
|
mutableprivate |
Definition at line 68 of file GflashTrajectory.h.
Referenced by _cacheSinesAndCosines(), getDirection(), getGflashTrajectoryPoint(), getPosition(), and initializeTrajectory().
|
mutableprivate |
Definition at line 61 of file GflashTrajectory.h.
Referenced by _refreshCache(), getCosPhi0(), getDirection(), getGflashTrajectoryPoint(), getPosition(), and initializeTrajectory().
|
mutableprivate |
Definition at line 63 of file GflashTrajectory.h.
Referenced by _refreshCache(), getCosTheta(), getDirection(), getGflashTrajectoryPoint(), getPosition(), and initializeTrajectory().
|
private |
Definition at line 52 of file GflashTrajectory.h.
Referenced by _refreshCache(), getCotTheta(), initializeTrajectory(), and setCotTheta().
|
private |
Definition at line 53 of file GflashTrajectory.h.
Referenced by _cacheSinesAndCosines(), getCurvature(), getGflashTrajectoryPoint(), getPosition(), initializeTrajectory(), and setCurvature().
|
private |
Definition at line 55 of file GflashTrajectory.h.
Referenced by getD0(), getGflashTrajectoryPoint(), getPosition(), initializeTrajectory(), and setD0().
|
mutableprivate |
Definition at line 59 of file GflashTrajectory.h.
Referenced by _refreshCache(), initializeTrajectory(), setCotTheta(), setCurvature(), setD0(), setPhi0(), and setZ0().
|
private |
Definition at line 56 of file GflashTrajectory.h.
Referenced by _refreshCache(), getPhi0(), initializeTrajectory(), and setPhi0().
|
mutableprivate |
Definition at line 64 of file GflashTrajectory.h.
Referenced by _cacheSinesAndCosines(), getPosition(), and initializeTrajectory().
|
mutableprivate |
Definition at line 60 of file GflashTrajectory.h.
Referenced by _refreshCache(), getDirection(), getGflashTrajectoryPoint(), getPosition(), getSinPhi0(), and initializeTrajectory().
|
mutableprivate |
Definition at line 62 of file GflashTrajectory.h.
Referenced by _cacheSinesAndCosines(), _refreshCache(), getDirection(), getGflashTrajectoryPoint(), getPosition(), getSinTheta(), and initializeTrajectory().
|
mutableprivate |
Definition at line 67 of file GflashTrajectory.h.
Referenced by _cacheSinesAndCosines(), getDirection(), getGflashTrajectoryPoint(), getPosition(), and initializeTrajectory().
|
private |
Definition at line 54 of file GflashTrajectory.h.
Referenced by getGflashTrajectoryPoint(), getPosition(), getZ0(), getZAtR(), initializeTrajectory(), and setZ0().