Hall-D Software
alpha
|
#include <MyTrajectoryBfield.h>
Public Member Functions | |
MyTrajectoryBfield (const DMagneticFieldMap *bfield, int level=1) | |
MyTrajectoryBfield (const HepVector B_in, int level=1) | |
void | swim (const HepVector ¶m) |
void | swim (double startingXprime, double startingZ, double startingTheta, double startingPhi, double ptinv) |
unsigned int | getNumberOfParams () |
virtual vector< double > | getDelta () |
HepVector | getParams () |
HepVector | getField (HepVector &r) |
void | clear () |
virtual void | swim (HepVector startingPoint, double theta, double phi) |
void | swim (const vector< double > &startingStdVector) |
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 | |
HepVector | BConst |
vector< double > | delta |
const DMagneticFieldMap * | bfield |
int | debug_level |
Definition at line 7 of file MyTrajectoryBfield.h.
MyTrajectoryBfield::MyTrajectoryBfield | ( | const DMagneticFieldMap * | bfield, |
int | level = 1 |
||
) |
Definition at line 20 of file MyTrajectoryBfield.cc.
MyTrajectoryBfield::MyTrajectoryBfield | ( | const HepVector | B_in, |
int | level = 1 |
||
) |
Definition at line 13 of file MyTrajectoryBfield.cc.
|
inherited |
Definition at line 194 of file MyTrajectory.cc.
References MyTrajectory::traj.
Referenced by MyTrajectoryGrkuta::swim(), 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.
|
inlinevirtual |
Reimplemented from MyTrajectory.
Definition at line 14 of file MyTrajectoryBfield.h.
References delta.
HepVector MyTrajectoryBfield::getField | ( | HepVector & | r | ) |
Definition at line 125 of file MyTrajectoryBfield.cc.
References BConst, bfield, and DMagneticFieldMap::GetField().
|
virtual |
Reimplemented from MyTrajectory.
Definition at line 27 of file MyTrajectoryBfield.cc.
References nparams.
HepVector MyTrajectoryBfield::getParams | ( | ) |
Definition at line 123 of file MyTrajectoryBfield.cc.
References 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 MyTrajectory.
Reimplemented in MyTrajectoryGrkuta.
Definition at line 31 of file MyTrajectoryBfield.cc.
Referenced by DTrackLSFitter::FitTrack().
void MyTrajectoryBfield::swim | ( | double | startingXprime, |
double | startingZ, | ||
double | startingTheta, | ||
double | startingPhi, | ||
double | ptinv | ||
) |
Definition at line 42 of file MyTrajectoryBfield.cc.
References c, MyTrajectory::checkClear(), debug_level, e, getField(), I, params, sin(), sqrt(), 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 23 of file MyTrajectoryBfield.h.
Referenced by getField().
|
private |
Definition at line 25 of file MyTrajectoryBfield.h.
Referenced by getField().
|
private |
Definition at line 26 of file MyTrajectoryBfield.h.
Referenced by swim().
|
private |
Definition at line 24 of file MyTrajectoryBfield.h.
Referenced by getDelta().
|
protected |
Definition at line 20 of file MyTrajectoryBfield.h.
Referenced by getNumberOfParams().
|
protected |
Definition at line 21 of file MyTrajectoryBfield.h.
Referenced by getParams(), MyTrajectoryGrkuta::swim(), and 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(), MyTrajectoryGrkuta::swim(), swim(), MyTrajectory::swim(), and MyTrajectory::swimMC().