MdcGeoWire Class Reference

#include <MdcGeoWire.h>

List of all members.

Public Member Functions

 MdcGeoWire ()
 MdcGeoWire (const MdcGeoWire &e)
MdcGeoWireoperator= (const MdcGeoWire &e)
 ~MdcGeoWire ()
int Id (void) const
HepPoint3D Backward (void) const
HepPoint3D Forward (void) const
HepPoint3D BWirePos (void) const
HepPoint3D FWirePos (void) const
double Slant (void) const
HepPoint3D nomBackward (void) const
HepPoint3D nomForward (void) const
double nomSlant (void) const
double Tension (void) const
const double Sag (void) const
const double Sagz (const double z) const
int Cell (void) const
int Layer (void) const
int Stat (void) const
MdcGeoLayerLyr (void) const
int Id (int)
HepPoint3D Backward (HepPoint3D)
HepPoint3D Forward (HepPoint3D)
HepPoint3D BWirePos (HepPoint3D)
HepPoint3D FWirePos (HepPoint3D)
double Slant (double)
HepPoint3D nomBackward (HepPoint3D)
HepPoint3D nomForward (HepPoint3D)
double nomSlant (double)
double Tension (double)
int Cell (int)
int Layer (int)
int Stat (int)
MdcGeoLayerLyr (MdcGeoLayer *)

Private Attributes

int fId
HepPoint3D fBackward
HepPoint3D fForward
HepPoint3D fBwirepos
HepPoint3D fFwirepos
double fSlant
HepPoint3D fnomBackward
HepPoint3D fnomForward
double fnomSlant
double fTension
int fCell
int fLayer
int fStat
MdcGeoLayerfLyr


Detailed Description

Definition at line 16 of file MdcGeoWire.h.


Constructor & Destructor Documentation

MdcGeoWire::MdcGeoWire (  )  [inline]

Definition at line 20 of file MdcGeoWire.h.

References fBackward, fBwirepos, fForward, fFwirepos, fLyr, fnomBackward, and fnomForward.

00021             : fId(0),
00022             fSlant(0),
00023             fnomSlant(0),
00024             fCell(0),
00025             fLayer(0),
00026             fStat(0)
00027             {
00028                 HepPoint3D O(0,0,0);
00029                 fBackward=O;
00030                 fForward=O;
00031                 fBwirepos=O;
00032                 fFwirepos=O;
00033                 fnomBackward=O;
00034                 fnomForward=O;
00035                 fLyr=NULL;
00036             }

MdcGeoWire::MdcGeoWire ( const MdcGeoWire e  )  [inline]

Definition at line 39 of file MdcGeoWire.h.

References Backward(), BWirePos(), Cell(), fBackward, fBwirepos, fCell, fForward, fFwirepos, fId, fLayer, fLyr, Forward(), fSlant, fStat, FWirePos(), Id(), Layer(), Lyr(), Slant(), and Stat().

00039                                        {
00040             fId=e.Id();
00041             fBackward=e.Backward(); 
00042             fForward=e.Forward();
00043             fBwirepos=e.BWirePos(); 
00044             fFwirepos=e.FWirePos();
00045             fSlant=e.Slant();
00046             fCell=e.Cell();
00047             fLayer=e.Layer();
00048             fStat=e.Stat();
00049             fLyr=e.Lyr();
00050         };

MdcGeoWire::~MdcGeoWire (  )  [inline]

Definition at line 70 of file MdcGeoWire.h.

00070 { };


Member Function Documentation

HepPoint3D MdcGeoWire::Backward ( HepPoint3D   )  [inline]

Definition at line 144 of file MdcGeoWire.h.

References fBackward.

00144 {return fBackward=i;}

HepPoint3D MdcGeoWire::Backward ( void   )  const [inline]

Definition at line 128 of file MdcGeoWire.h.

References fBackward.

Referenced by FTFinder::begin_run(), MdcCalib::calDetEffi(), MdcUtilitySvc::cellTrackPassedByPhiPatPar(), BesMdcSD::Distance(), MdcUtilitySvc::docaPatPar(), MdcHoughFinder::execute(), HoughValidUpdate::execute(), EsTimeAlg::execute(), MdcCalRecTrk::fgNoiseRatio(), MdcCalib::getCellTrkPass(), MdcCalibFunSvc::initCalibConst(), Wr2dMdcCalib::initialize(), PreT0MdcCalib::initialize(), MdcCalib::initialize(), ResiAlign::initialize(), MdcGeoWire(), operator=(), DedxCorrecSvc::PathL(), KalFitAlg::set_Mdc(), and Wr2dMdcCalib::updateConst().

00128 { return fBackward;}

HepPoint3D MdcGeoWire::BWirePos ( HepPoint3D   )  [inline]

Definition at line 146 of file MdcGeoWire.h.

References fBwirepos.

00146 {return fBwirepos=i;}

HepPoint3D MdcGeoWire::BWirePos ( void   )  const [inline]

Definition at line 130 of file MdcGeoWire.h.

References fBwirepos.

Referenced by MdcGeoWire(), operator=(), and DedxCorrecSvc::PathL().

00130 { return fBwirepos;}

int MdcGeoWire::Cell ( int   )  [inline]

Definition at line 153 of file MdcGeoWire.h.

References fCell.

00153 {return fCell=i;}

int MdcGeoWire::Cell ( void   )  const [inline]

Definition at line 137 of file MdcGeoWire.h.

References fCell.

Referenced by MdcHoughFinder::execute(), MdcGeoWire(), and operator=().

00137 { return fCell; }

HepPoint3D MdcGeoWire::Forward ( HepPoint3D   )  [inline]

Definition at line 145 of file MdcGeoWire.h.

References fForward.

00145 {return fForward=i;}

HepPoint3D MdcGeoWire::Forward ( void   )  const [inline]

Definition at line 129 of file MdcGeoWire.h.

References fForward.

Referenced by FTFinder::begin_run(), MdcUtilitySvc::cellTrackPassedByPhiPatPar(), BesMdcSD::Distance(), MdcUtilitySvc::docaPatPar(), MdcHoughFinder::execute(), HoughValidUpdate::execute(), EsTimeAlg::execute(), MdcCalibFunSvc::initCalibConst(), Wr2dMdcCalib::initialize(), PreT0MdcCalib::initialize(), MdcCalib::initialize(), ResiAlign::initialize(), MdcGeoWire(), operator=(), DedxCorrecSvc::PathL(), KalFitAlg::set_Mdc(), and Wr2dMdcCalib::updateConst().

00129 { return fForward;}

HepPoint3D MdcGeoWire::FWirePos ( HepPoint3D   )  [inline]

Definition at line 147 of file MdcGeoWire.h.

References fFwirepos.

00147 {return fFwirepos=i;}

HepPoint3D MdcGeoWire::FWirePos ( void   )  const [inline]

Definition at line 131 of file MdcGeoWire.h.

References fFwirepos.

Referenced by MdcGeoWire(), operator=(), and DedxCorrecSvc::PathL().

00131 { return fFwirepos;}

int MdcGeoWire::Id ( int   )  [inline]

Definition at line 143 of file MdcGeoWire.h.

References fId.

00143 {return fId=i;}

int MdcGeoWire::Id ( void   )  const [inline]

Definition at line 127 of file MdcGeoWire.h.

References fId.

Referenced by MdcUtilitySvc::docaPatPar(), WrMdcCalib::fillHist(), MdcCalibFunSvc::getT0(), MdcCalibFunSvc::getWireEff(), KalFitAlg::kalman_fitting_anal(), KalFitAlg::kalman_fitting_calib(), KalFitAlg::kalman_fitting_csmalign(), KalFitAlg::kalman_fitting_MdcxReco_Csmc_Sew(), main(), MdcGeoWire(), operator=(), KalFitAlg::set_Mdc(), TMDC::update(), PreT0MdcCalib::updateConst(), and IniMdcCalib::updateConst().

00127 { return fId; }

int MdcGeoWire::Layer ( int   )  [inline]

Definition at line 154 of file MdcGeoWire.h.

References fLayer.

00154 {return fLayer=i;}

int MdcGeoWire::Layer ( void   )  const [inline]

Definition at line 138 of file MdcGeoWire.h.

References fLayer.

Referenced by MdcHoughFinder::execute(), MdcGeoWire(), and operator=().

00138 { return fLayer; }

MdcGeoLayer * MdcGeoWire::Lyr ( MdcGeoLayer  )  [inline]

Definition at line 156 of file MdcGeoWire.h.

References fLyr, and genRecEmupikp::i.

00156 {return fLyr = i;}

MdcGeoLayer * MdcGeoWire::Lyr ( void   )  const [inline]

Definition at line 140 of file MdcGeoWire.h.

References fLyr.

Referenced by FTFinder::begin_run(), TrkReco::execute(), KalFitAlg::kalman_fitting_anal(), KalFitAlg::kalman_fitting_calib(), KalFitAlg::kalman_fitting_csmalign(), KalFitAlg::kalman_fitting_MdcxReco_Csmc_Sew(), main(), MdcGeoWire(), operator=(), and KalFitAlg::set_Mdc().

00140 { return fLyr; }

HepPoint3D MdcGeoWire::nomBackward ( HepPoint3D   )  [inline]

Definition at line 148 of file MdcGeoWire.h.

References fnomBackward.

00148 {return fnomBackward=i;}

HepPoint3D MdcGeoWire::nomBackward ( void   )  const [inline]

Definition at line 133 of file MdcGeoWire.h.

References fnomBackward.

00133 { return fnomBackward;}

HepPoint3D MdcGeoWire::nomForward ( HepPoint3D   )  [inline]

Definition at line 149 of file MdcGeoWire.h.

References fnomForward.

00149 {return fnomForward=i;}

HepPoint3D MdcGeoWire::nomForward ( void   )  const [inline]

Definition at line 134 of file MdcGeoWire.h.

References fnomForward.

00134 { return fnomForward;}

double MdcGeoWire::nomSlant ( double   )  [inline]

Definition at line 151 of file MdcGeoWire.h.

References fnomSlant.

00151 {return fnomSlant=i;}

double MdcGeoWire::nomSlant ( void   )  const [inline]

Definition at line 135 of file MdcGeoWire.h.

References fnomSlant.

00135 { return fnomSlant; }

MdcGeoWire& MdcGeoWire::operator= ( const MdcGeoWire e  )  [inline]

Definition at line 52 of file MdcGeoWire.h.

References Backward(), BWirePos(), Cell(), fBackward, fBwirepos, fCell, fForward, fFwirepos, fId, fLayer, fLyr, Forward(), fSlant, fStat, FWirePos(), Id(), Layer(), Lyr(), Slant(), and Stat().

00052                                                    {
00053             if(this!=&e)
00054             {
00055                 fId=e.Id();
00056                 fBackward=e.Backward();
00057                 fForward=e.Forward();
00058                 fBwirepos=e.BWirePos();
00059                 fFwirepos=e.FWirePos();
00060                 fSlant=e.Slant();
00061                 fCell=e.Cell();
00062                 fLayer=e.Layer();
00063                 fStat=e.Stat();
00064                 fLyr=e.Lyr();
00065             }
00066             return *this;
00067         }

const double MdcGeoWire::Sag ( void   )  const

Definition at line 12 of file MdcGeoWire.cxx.

References fBackward, fForward, fTension, and MdcGeomSvc::getSagFlag().

Referenced by MdcUtilitySvc::docaPatPar().

00012                                       {
00013 
00014     if(MdcGeomSvc::getSagFlag()){
00015     // unit of wire length is mm
00016     const double L = (fForward - fBackward).mag(); 
00017     // sag unit is mm
00018     return (L*L*1.184E-6/fTension);
00019     }
00020     // do not consider wire sagita
00021     else return 0.;
00022 }

const double MdcGeoWire::Sagz ( const double  z  )  const

Definition at line 28 of file MdcGeoWire.cxx.

00028                                                  {
00029   return z*0.; //FIXME
00030 }

double MdcGeoWire::Slant ( double   )  [inline]

Definition at line 150 of file MdcGeoWire.h.

References fnomSlant.

00150 {return fnomSlant=i;}

double MdcGeoWire::Slant ( void   )  const [inline]

Definition at line 132 of file MdcGeoWire.h.

References fSlant.

Referenced by EsTimeAlg::execute(), MdcGeoWire(), and operator=().

00132 { return fSlant; }

int MdcGeoWire::Stat ( int   )  [inline]

Definition at line 155 of file MdcGeoWire.h.

References fStat.

00155 {return fStat=i;}

int MdcGeoWire::Stat ( void   )  const [inline]

Definition at line 139 of file MdcGeoWire.h.

References fStat.

Referenced by MdcGeoWire(), and operator=().

00139 { return fStat; }

double MdcGeoWire::Tension ( double   )  [inline]

Definition at line 152 of file MdcGeoWire.h.

References fTension.

00152 {return  fTension=i;}

double MdcGeoWire::Tension ( void   )  const [inline]

Definition at line 136 of file MdcGeoWire.h.

References fTension.

Referenced by KalFitAlg::filter_fwd_anal(), KalFitAlg::filter_fwd_calib(), KalFitAlg::smoother_anal(), and KalFitAlg::smoother_calib().

00136 { return  fTension;}


Member Data Documentation

HepPoint3D MdcGeoWire::fBackward [private]

Definition at line 110 of file MdcGeoWire.h.

Referenced by Backward(), MdcGeoWire(), operator=(), and Sag().

HepPoint3D MdcGeoWire::fBwirepos [private]

Definition at line 112 of file MdcGeoWire.h.

Referenced by BWirePos(), MdcGeoWire(), and operator=().

int MdcGeoWire::fCell [private]

Definition at line 120 of file MdcGeoWire.h.

Referenced by Cell(), MdcGeoWire(), and operator=().

HepPoint3D MdcGeoWire::fForward [private]

Definition at line 111 of file MdcGeoWire.h.

Referenced by Forward(), MdcGeoWire(), operator=(), and Sag().

HepPoint3D MdcGeoWire::fFwirepos [private]

Definition at line 113 of file MdcGeoWire.h.

Referenced by FWirePos(), MdcGeoWire(), and operator=().

int MdcGeoWire::fId [private]

Definition at line 109 of file MdcGeoWire.h.

Referenced by Id(), MdcGeoWire(), and operator=().

int MdcGeoWire::fLayer [private]

Definition at line 121 of file MdcGeoWire.h.

Referenced by Layer(), MdcGeoWire(), and operator=().

MdcGeoLayer* MdcGeoWire::fLyr [private]

Definition at line 123 of file MdcGeoWire.h.

Referenced by Lyr(), MdcGeoWire(), and operator=().

HepPoint3D MdcGeoWire::fnomBackward [private]

Definition at line 115 of file MdcGeoWire.h.

Referenced by MdcGeoWire(), and nomBackward().

HepPoint3D MdcGeoWire::fnomForward [private]

Definition at line 116 of file MdcGeoWire.h.

Referenced by MdcGeoWire(), and nomForward().

double MdcGeoWire::fnomSlant [private]

Definition at line 117 of file MdcGeoWire.h.

Referenced by nomSlant(), and Slant().

double MdcGeoWire::fSlant [private]

Definition at line 114 of file MdcGeoWire.h.

Referenced by MdcGeoWire(), operator=(), and Slant().

int MdcGeoWire::fStat [private]

Definition at line 122 of file MdcGeoWire.h.

Referenced by MdcGeoWire(), operator=(), and Stat().

double MdcGeoWire::fTension [private]

Definition at line 118 of file MdcGeoWire.h.

Referenced by Sag(), and Tension().


Generated on Tue Nov 29 23:20:12 2016 for BOSS_7.0.2 by  doxygen 1.4.7