BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcRecoHitOnTrack.cxx
Go to the documentation of this file.
1// MdcRecoHitOnTrack.cxx
2//
5#include "MdcData/MdcHit.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//-------------
14// Constructors
15//-------------
16
17MdcRecoHitOnTrack::MdcRecoHitOnTrack(const MdcHit &baseHit, int ambig, double bunchTime)
18 : MdcHitOnTrack(baseHit,baseHit, ambig, bunchTime)
19{ }
20
21
23 TrkRep *newRep,
24 const TrkDifTraj* trkTraj)
25 : MdcHitOnTrack(hot,newRep,trkTraj)
26{ }
27
29{ ; }
30
32MdcRecoHitOnTrack::clone(TrkRep *rep, const TrkDifTraj *trkTraj) const
33{
34 return new MdcRecoHitOnTrack(*this,rep,trkTraj);
35}
36
37const MdcHit*
39{
40 return static_cast<const MdcHit*>(hit());
41}
42
43unsigned
45{
46// return mdcHit()->digi()->status();
47 return mdcHit()->status();
48}
49
50unsigned
52{
53 return mdcHit()->tdcIndex();
54}
Definition: MdcHit.h:44
unsigned status() const
Definition: MdcHit.h:83
unsigned tdcIndex() const
Definition: MdcHit.h:63
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
const TrkFundHit * hit() const
Definition: TrkHitOnTrk.h:75
const TrkDifTraj * trkTraj() const
Definition: TrkHitOnTrk.h:77
Definition: TrkRep.h:43