/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/MdcData/MdcData-00-01-27/src/MdcRecoHitOnTrack.cxx

Go to the documentation of this file.
00001 //  MdcRecoHitOnTrack.cxx
00002 //
00003 #include "MdcData/MdcRecoHitOnTrack.h"
00004 #include "MdcRawEvent/MdcDigi.h"
00005 #include "MdcData/MdcHit.h"
00006 // MdcGeom needed to verify if hit is inside of chamber...
00007 // and to find the trajectory describing the hit, i.e. wire
00008 #include "TrkBase/TrkRep.h"
00009 //#include "TrkBase/TrkEnums.h"
00010 //#include "TrkBase/TrkSimpTraj.h"
00011 
00012 
00013 //-------------
00014 // Constructors
00015 //-------------
00016 
00017 MdcRecoHitOnTrack::MdcRecoHitOnTrack(const MdcHit &baseHit, int ambig, double bunchTime)
00018   : MdcHitOnTrack(baseHit,baseHit, ambig,  bunchTime)
00019 { }
00020 
00021 
00022 MdcRecoHitOnTrack::MdcRecoHitOnTrack(const MdcRecoHitOnTrack &hot,
00023                                      TrkRep *newRep,
00024                                      const TrkDifTraj* trkTraj)
00025   : MdcHitOnTrack(hot,newRep,trkTraj)
00026 { }
00027 
00028 MdcRecoHitOnTrack::~MdcRecoHitOnTrack()
00029 { ; }
00030 
00031 TrkHitOnTrk*
00032 MdcRecoHitOnTrack::clone(TrkRep *rep, const TrkDifTraj *trkTraj) const
00033 {
00034   return new MdcRecoHitOnTrack(*this,rep,trkTraj);
00035 }
00036 
00037 const MdcHit*
00038 MdcRecoHitOnTrack::mdcHit() const 
00039 {
00040   return static_cast<const MdcHit*>(hit());
00041 }
00042 
00043 unsigned
00044 MdcRecoHitOnTrack::status() const
00045 {
00046 //  return mdcHit()->digi()->status();
00047   return mdcHit()->status();
00048 }
00049 
00050 unsigned
00051 MdcRecoHitOnTrack::tdcIndex() const
00052 {
00053   return mdcHit()->tdcIndex();
00054 }

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