TrkExchangePar Class Reference

#include <TrkExchangePar.h>

List of all members.

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


Detailed Description

Definition at line 30 of file TrkExchangePar.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
nParam 

Definition at line 32 of file TrkExchangePar.h.

00032 {nParam = 5};

anonymous enum

Enumerator:
ex_d0 
ex_phi0 
ex_omega 
ex_z0 
ex_tanDip 

Definition at line 33 of file TrkExchangePar.h.


Constructor & Destructor Documentation

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 (  ) 

Definition at line 62 of file TrkExchangePar.cxx.

00062 {}


Member Function Documentation

HepSymMatrix& TrkExchangePar::covariance (  )  [inline]

Definition at line 51 of file TrkExchangePar.h.

References paramErr.

00051 {return paramErr;}

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().

00042 {return paramVec[ex_d0];}

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().

00044 {return paramVec[ex_omega];}

HepVector& TrkExchangePar::params (  )  [inline]

Definition at line 49 of file TrkExchangePar.h.

References paramVec.

00049 {return paramVec;}

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().

00043 {return paramVec[ex_phi0];}

void TrkExchangePar::print ( std::ostream o  )  const

Referenced by operator<<().

void TrkExchangePar::printAll ( std::ostream o  )  const

void TrkExchangePar::setD0 ( double  in  )  [inline]

Definition at line 53 of file TrkExchangePar.h.

References ex_d0, and paramVec.

00053 {paramVec[ex_d0] = in;} 

void TrkExchangePar::setError ( const HepSymMatrix &  in  )  [inline]

Definition at line 58 of file TrkExchangePar.h.

References paramErr.

00058 {paramErr = in;}

void TrkExchangePar::setOmega ( double  in  )  [inline]

Definition at line 55 of file TrkExchangePar.h.

References ex_omega, and paramVec.

00055 {paramVec[ex_omega] = in;} 

void TrkExchangePar::setPhi0 ( double  in  )  [inline]

Definition at line 54 of file TrkExchangePar.h.

References ex_phi0, and paramVec.

00054 {paramVec[ex_phi0] = in;} 

void TrkExchangePar::setTanDip ( double  in  )  [inline]

Definition at line 57 of file TrkExchangePar.h.

References ex_tanDip, and paramVec.

Referenced by TrkHelixMaker::addZValues().

00057 {paramVec[ex_tanDip] = in;} 

void TrkExchangePar::setZ0 ( double  in  )  [inline]

Definition at line 56 of file TrkExchangePar.h.

References ex_z0, and paramVec.

Referenced by TrkHelixMaker::addZValues().

00056 {paramVec[ex_z0] = in;} 

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().

00046 {return paramVec[ex_tanDip];}

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().

00045 {return paramVec[ex_z0];}


Member Data Documentation

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().


Generated on Tue Nov 29 23:36:13 2016 for BOSS_7.0.2 by  doxygen 1.4.7