Hall-D Software
alpha
|
#include <MyTrajectoryGrkuta.h>
Public Member Functions | |
MyTrajectoryGrkuta (const DMagneticFieldMap *bfield, int level=1) | |
MyTrajectoryGrkuta (const HepVector B_in, int level=1) | |
void | swim (const HepVector ¶m) |
void | swim (double startingXprime, double startingZ, double startingTheta, double startingPhi, double ptinv) |
virtual void | swim (HepVector startingPoint, double theta, double phi) |
void | swim (const vector< double > &startingStdVector) |
unsigned int | getNumberOfParams () |
virtual vector< double > | getDelta () |
HepVector | getParams () |
HepVector | getField (HepVector &r) |
void | clear () |
void | swimMC (vector< const DMCTrackHit * > &mctrackhits) |
void | print () |
vector< HepLorentzVector * > * | getTrajectory () |
template<class C > | |
double | doca (C &spaceObject, HepLorentzVector &poca) const |
void | checkClear () |
double | dist (HepVector &point, int trajIndex) const |
double | dist (DLine &line, int trajIndex) const |
void | para_min (double yMinus, double yZero, double yPlus, double &xMinFrac, double &yMin) const |
int | getXYT (double z, double &x, double &y, double &ct) const |
void | dump_ascii (ostream *trajFile, int tag) |
Protected Attributes | |
unsigned int | nparams |
HepVector | params |
vector< HepLorentzVector * > | traj |
Private Attributes | |
int | debug_level |
Definition at line 6 of file MyTrajectoryGrkuta.h.
MyTrajectoryGrkuta::MyTrajectoryGrkuta | ( | const DMagneticFieldMap * | bfield, |
int | level = 1 |
||
) |
Definition at line 13 of file MyTrajectoryGrkuta.cc.
MyTrajectoryGrkuta::MyTrajectoryGrkuta | ( | const HepVector | B_in, |
int | level = 1 |
||
) |
Definition at line 10 of file MyTrajectoryGrkuta.cc.
|
inherited |
Definition at line 194 of file MyTrajectory.cc.
References MyTrajectory::traj.
Referenced by swim(), MyTrajectoryBfield::swim(), MyTrajectory::swim(), and MyTrajectory::swimMC().
|
inherited |
Definition at line 25 of file MyTrajectory.cc.
References MyTrajectory::traj.
Referenced by combinedResidFunc::deriv(), DTrackLSFitter::FitTrack(), combinedResidFunc::resid(), and MyTrajectory::~MyTrajectory().
|
inherited |
Definition at line 116 of file MyTrajectory.cc.
References MyTrajectory::debug_level, MyTrajectory::delta, and MyTrajectory::traj.
|
inherited |
Definition at line 127 of file MyTrajectory.cc.
References DLine::doca(), and MyTrajectory::traj.
|
inherited |
Definition at line 48 of file MyTrajectory.h.
References DIST_BIG, MAX_ITERATIONS, and sqrt().
Referenced by residCDC::calcResids(), residFDCCathode::calcResids(), residFDCAnode::calcResids(), residFDC::calcResids(), and combinedResidFunc::getDetails().
|
inherited |
Definition at line 202 of file MyTrajectory.cc.
References MyTrajectory::traj.
|
inlinevirtualinherited |
Reimplemented from MyTrajectory.
Definition at line 14 of file MyTrajectoryBfield.h.
References MyTrajectoryBfield::delta.
|
inherited |
Definition at line 125 of file MyTrajectoryBfield.cc.
References MyTrajectoryBfield::BConst, MyTrajectoryBfield::bfield, and DMagneticFieldMap::GetField().
Referenced by gufld_(), and MyTrajectoryBfield::swim().
|
virtualinherited |
Reimplemented from MyTrajectory.
Definition at line 27 of file MyTrajectoryBfield.cc.
References MyTrajectoryBfield::nparams.
|
inherited |
Definition at line 123 of file MyTrajectoryBfield.cc.
References MyTrajectoryBfield::params.
|
inherited |
Definition at line 112 of file MyTrajectory.cc.
References MyTrajectory::traj.
|
inherited |
Definition at line 131 of file MyTrajectory.cc.
References MyTrajectory::debug_level, and MyTrajectory::traj.
Referenced by residFDC::pseudo2HepVector(), and combinedResidFunc::pseudo2HepVector().
|
inherited |
Definition at line 182 of file MyTrajectory.cc.
References c.
|
inherited |
Definition at line 100 of file MyTrajectory.cc.
References MyTrajectory::traj.
Referenced by DTrackLSFitter::FitTrack().
|
virtual |
Reimplemented from MyTrajectoryBfield.
Definition at line 27 of file MyTrajectoryGrkuta.cc.
void MyTrajectoryGrkuta::swim | ( | double | startingXprime, |
double | startingZ, | ||
double | startingTheta, | ||
double | startingPhi, | ||
double | ptinv | ||
) |
Definition at line 38 of file MyTrajectoryGrkuta.cc.
References c, MyTrajectory::checkClear(), debug_level, grkuta_(), M_CHARGED_PI, MyTrajectoryBfield::params, sin(), sqrt(), TIME_STEP_SIZE, TRACKING_RADIUS_MAX, and MyTrajectory::traj.
|
virtualinherited |
Definition at line 37 of file MyTrajectory.cc.
References MyTrajectory::checkClear(), sin(), and MyTrajectory::traj.
Referenced by combinedResidFunc::deriv(), combinedResidFunc::resid(), and MyTrajectory::swim().
|
inherited |
Definition at line 74 of file MyTrajectory.cc.
References size, and MyTrajectory::swim().
|
inherited |
Definition at line 84 of file MyTrajectory.cc.
References MyTrajectory::checkClear(), DMCTrackHit::phi, DMCTrackHit::primary, DMCTrackHit::r, sin(), SYS_CDC, SYS_FDC, DMCTrackHit::system, MyTrajectory::traj, and DMCTrackHit::z.
|
private |
Definition at line 13 of file MyTrajectoryGrkuta.h.
Referenced by swim().
|
protectedinherited |
Definition at line 20 of file MyTrajectoryBfield.h.
Referenced by MyTrajectoryBfield::getNumberOfParams().
|
protectedinherited |
Definition at line 21 of file MyTrajectoryBfield.h.
Referenced by MyTrajectoryBfield::getParams(), swim(), and MyTrajectoryBfield::swim().
|
protectedinherited |
Definition at line 40 of file MyTrajectory.h.
Referenced by MyTrajectory::checkClear(), MyTrajectory::clear(), MyTrajectory::dist(), MyTrajectory::dump_ascii(), MyTrajectory::getTrajectory(), MyTrajectory::getXYT(), MyTrajectory::print(), swim(), MyTrajectoryBfield::swim(), MyTrajectory::swim(), and MyTrajectory::swimMC().