BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcRecoHitOnTrack.cxx
Go to the documentation of this file.
1// MdcRecoHitOnTrack.cxx
2//
3#include "MdcData/MdcRecoHitOnTrack.h"
4#include "MdcData/MdcHit.h"
5#include "MdcRawEvent/MdcDigi.h"
6// MdcGeom needed to verify if hit is inside of chamber...
7// and to find the trajectory describing the hit, i.e. wire
8#include "TrkBase/TrkRep.h"
9// #include "TrkBase/TrkEnums.h"
10// #include "TrkBase/TrkSimpTraj.h"
11
12//-------------
13// Constructors
14//-------------
15
17 : MdcHitOnTrack( baseHit, baseHit, ambig, bunchTime ) {}
18
22
24
26 return new MdcRecoHitOnTrack( *this, rep, trkTraj );
27}
28
29const MdcHit* MdcRecoHitOnTrack::mdcHit() const { return static_cast<const MdcHit*>( hit() ); }
30
31unsigned MdcRecoHitOnTrack::status() const {
32 // return mdcHit()->digi()->status();
33 return mdcHit()->status();
34}
35
36unsigned MdcRecoHitOnTrack::tdcIndex() const { return mdcHit()->tdcIndex(); }
MdcHitOnTrack(const TrkFundHit &fundHit, const MdcHit &baseHit, int ambig, double fittime)
MdcRecoHitOnTrack(const MdcHit &baseHit, int ambig, double bunchTime)
unsigned status() const
const MdcHit * mdcHit() const
virtual TrkHitOnTrk * clone(TrkRep *, const TrkDifTraj *trkTraj=0) const
unsigned tdcIndex() const
TrkHitOnTrk(const TrkFundHit *, double tolerance)