#include <TrkExchangePar.h>
Public Types | |
nParam = 5 | |
ex_d0 | |
ex_phi0 | |
ex_omega | |
ex_z0 | |
ex_tanDip | |
enum | { nParam = 5 } |
enum | { ex_d0, ex_phi0, ex_omega, ex_z0, ex_tanDip } |
Public Member Functions | |
TrkExchangePar (const HepVector &, const HepMatrix &) | |
TrkExchangePar (const HepVector &, const HepSymMatrix &) | |
TrkExchangePar (const HepVector &) | |
TrkExchangePar (double d0In, double phi0In, double omegaIn, double z0In, double tanDipIn) | |
~TrkExchangePar () | |
double | d0 () const |
double | phi0 () const |
double | omega () const |
double | z0 () const |
double | tanDip () const |
const HepVector & | params () const |
HepVector & | params () |
const HepSymMatrix & | covariance () const |
HepSymMatrix & | covariance () |
void | setD0 (double in) |
void | setPhi0 (double in) |
void | setOmega (double in) |
void | setZ0 (double in) |
void | setTanDip (double in) |
void | setError (const HepSymMatrix &in) |
void | print (std::ostream &o) const |
void | printAll (std::ostream &o) const |
Private Attributes | |
HepVector | paramVec |
HepSymMatrix | paramErr |
Definition at line 30 of file TrkExchangePar.h.
anonymous enum |
anonymous enum |
TrkExchangePar::TrkExchangePar | ( | const HepVector & | , | |
const HepMatrix & | ||||
) |
Definition at line 21 of file TrkExchangePar.cxx.
References ex_phi0, nParam, paramErr, and paramVec.
00022 : paramVec(inV) { 00023 //---------------------------------------------------------------------- 00024 assert(paramVec.num_row() == nParam); 00025 assert(inErr.num_row() == nParam); 00026 assert(inErr.num_col() == nParam); 00027 paramErr.assign(inErr); 00028 paramVec[ex_phi0] = BesAngle(paramVec[ex_phi0]).rad(); 00029 }
TrkExchangePar::TrkExchangePar | ( | const HepVector & | , | |
const HepSymMatrix & | ||||
) |
Definition at line 32 of file TrkExchangePar.cxx.
References ex_phi0, nParam, paramErr, and paramVec.
00033 : paramVec(inV), paramErr(err) { 00034 //---------------------------------------------------------------------- 00035 assert(paramVec.num_row() == nParam); 00036 assert(paramErr.num_row() == nParam); 00037 paramVec[ex_phi0] = BesAngle(paramVec[ex_phi0]).rad(); 00038 }
TrkExchangePar::TrkExchangePar | ( | const HepVector & | ) |
Definition at line 41 of file TrkExchangePar.cxx.
References ex_phi0, nParam, and paramVec.
00042 : paramVec(inV), paramErr(nParam, 1) { 00043 //---------------------------------------------------------------------- 00044 assert(paramVec.num_row() == nParam); 00045 paramVec[ex_phi0] = BesAngle(paramVec[ex_phi0]).rad(); 00046 }
TrkExchangePar::TrkExchangePar | ( | double | d0In, | |
double | phi0In, | |||
double | omegaIn, | |||
double | z0In, | |||
double | tanDipIn | |||
) |
Definition at line 49 of file TrkExchangePar.cxx.
References ex_d0, ex_omega, ex_phi0, ex_tanDip, ex_z0, and paramVec.
00051 : paramVec(nParam), paramErr(nParam, 1) { 00052 //---------------------------------------------------------------------- 00053 paramVec[ex_d0] = d0In; 00054 paramVec[ex_phi0] = phi0In; 00055 paramVec[ex_omega] = omegaIn; 00056 paramVec[ex_z0] = z0In; 00057 paramVec[ex_tanDip] = tanDipIn; 00058 paramVec[ex_phi0] = BesAngle(paramVec[ex_phi0]).rad(); 00059 }
TrkExchangePar::~TrkExchangePar | ( | ) |
HepSymMatrix& TrkExchangePar::covariance | ( | ) | [inline] |
const HepSymMatrix& TrkExchangePar::covariance | ( | ) | const [inline] |
Definition at line 50 of file TrkExchangePar.h.
References paramErr.
Referenced by MdcxCosmicSewer::execute(), TrkHelixUtils::extrapolateCov(), TrkCircleRep::helix(), MdcTrack::storeTrack(), TrkCompTrk::TrkCompTrk(), and TrkDifLineTraj::TrkDifLineTraj().
00050 {return paramErr;}
double TrkExchangePar::d0 | ( | ) | const [inline] |
Definition at line 42 of file TrkExchangePar.h.
References ex_d0, and paramVec.
Referenced by MdcTrackList::createFromSegs(), MdcTrackList::dumpD0(), MdcHoughFinder::execute(), HoughValidUpdate::execute(), MdcxTrackFinder::fillTrack(), MdcTrkRecon::fillTrackList(), MdcSegGrouperSt::fillWithSegs(), TrkHelixUtils::fltToRad(), MdcTrackList::pickHits(), MdcTrack::projectToR(), MdcxTrackFinder::store(), MdcTrack::storeTrack(), TrkDifLineTraj::TrkDifLineTraj(), and TrkExchangeData::TrkExchangeData().
double TrkExchangePar::omega | ( | ) | const [inline] |
Definition at line 44 of file TrkExchangePar.h.
References ex_omega, and paramVec.
Referenced by MdcHoughFinder::execute(), HoughValidUpdate::execute(), MdcSegGrouperSt::fillWithSegs(), MdcTrackList::finishCircle(), MdcTrackList::finishHelix(), TrkHelixUtils::fltToRad(), TrkHelixUtils::jacobianExtrapolate(), MdcTrackList::pickHits(), MdcTrack::projectToR(), MdcTrack::storeTrack(), and TrkExchangeData::TrkExchangeData().
HepVector& TrkExchangePar::params | ( | ) | [inline] |
const HepVector& TrkExchangePar::params | ( | ) | const [inline] |
Definition at line 48 of file TrkExchangePar.h.
References paramVec.
Referenced by MdcxCosmicSewer::execute(), MdcTrack::storeTrack(), and TrkCompTrk::TrkCompTrk().
00048 {return paramVec;}
double TrkExchangePar::phi0 | ( | void | ) | const [inline] |
Definition at line 43 of file TrkExchangePar.h.
References ex_phi0, and paramVec.
Referenced by HoughValidUpdate::execute(), MdcxTrackFinder::fillTrack(), MdcTrkRecon::fillTrackList(), MdcSegGrouperSt::fillWithSegs(), MdcTrackList::pickHits(), TrkRep::positionErr(), MdcTrack::projectToR(), MdcTrack::storeTrack(), TrkDifLineTraj::TrkDifLineTraj(), and TrkExchangeData::TrkExchangeData().
void TrkExchangePar::print | ( | std::ostream & | o | ) | const |
Referenced by operator<<().
void TrkExchangePar::printAll | ( | std::ostream & | o | ) | const |
void TrkExchangePar::setD0 | ( | double | in | ) | [inline] |
void TrkExchangePar::setError | ( | const HepSymMatrix & | in | ) | [inline] |
void TrkExchangePar::setOmega | ( | double | in | ) | [inline] |
void TrkExchangePar::setPhi0 | ( | double | in | ) | [inline] |
void TrkExchangePar::setTanDip | ( | double | in | ) | [inline] |
Definition at line 57 of file TrkExchangePar.h.
References ex_tanDip, and paramVec.
Referenced by TrkHelixMaker::addZValues().
void TrkExchangePar::setZ0 | ( | double | in | ) | [inline] |
Definition at line 56 of file TrkExchangePar.h.
References ex_z0, and paramVec.
Referenced by TrkHelixMaker::addZValues().
double TrkExchangePar::tanDip | ( | ) | const [inline] |
Definition at line 46 of file TrkExchangePar.h.
References ex_tanDip, and paramVec.
Referenced by HoughValidUpdate::execute(), MdcxTrackFinder::fillTrack(), MdcTrkRecon::fillTrackList(), TrkHelixUtils::fltToRad(), TrkHelixUtils::jacobianExtrapolate(), MdcTrackList::pickHits(), MdcTrack::storeTrack(), TrkDifLineTraj::TrkDifLineTraj(), and TrkExchangeData::TrkExchangeData().
double TrkExchangePar::z0 | ( | ) | const [inline] |
Definition at line 45 of file TrkExchangePar.h.
References ex_z0, and paramVec.
Referenced by MdcTrackList::createFromSegs(), HoughValidUpdate::execute(), MdcxTrackFinder::fillTrack(), MdcTrkRecon::fillTrackList(), MdcTrackList::pickHits(), MdcxTrackFinder::store(), MdcTrack::storeTrack(), TrkDifLineTraj::TrkDifLineTraj(), and TrkExchangeData::TrkExchangeData().
HepSymMatrix TrkExchangePar::paramErr [private] |
Definition at line 65 of file TrkExchangePar.h.
Referenced by covariance(), setError(), and TrkExchangePar().
HepVector TrkExchangePar::paramVec [private] |
Definition at line 64 of file TrkExchangePar.h.
Referenced by d0(), omega(), params(), phi0(), setD0(), setOmega(), setPhi0(), setTanDip(), setZ0(), tanDip(), TrkExchangePar(), and z0().