BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkHitUse.cxx
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: TrkHitUse.cxx,v 1.1.1.1 2005/04/21 06:01:42 zhangy Exp $
4//
5// Description:
6//
7//
8// Environment:
9// Software developed for the BaBar Detector at the SLAC B-Factory.
10//
11// Author(s): Steve Schaffner
12//
13//------------------------------------------------------------------------
14
15#include "TrkBase/TrkHitUse.h"
16
17//------------------------------------------------------------------------
18TrkHitUse::TrkHitUse(const TrkFundHit& theHit, double flt, bool active,
19 int usable) : _hit(theHit) {
20//------------------------------------------------------------------------
21 _fltLen = flt;
22 _isActive = active;
23 _isUsable = usable;
24}
25
26//------------------------------------------------------------------------
28//------------------------------------------------------------------------
29}
30
31//------------------------------------------------------------------------
32const MdcHit*
34//------------------------------------------------------------------------
35 return 0;
36}
37
38//------------------------------------------------------------------------
39//const SvtHit*
40//TrkHitUse::svtHit() const {
41//------------------------------------------------------------------------
42// return 0;
43//}
44
45//------------------------------------------------------------------------
46bool
48//------------------------------------------------------------------------
49 return ( &(hit()) == &(rhs.hit()) );
50}
Definition: MdcHit.h:44
virtual bool operator==(const TrkHitUse &) const =0
Definition: TrkHitUse.cxx:47
const TrkFundHit & hit() const
Definition: TrkHitUse.h:35
virtual const MdcHit * mdcHit() const
Definition: TrkHitUse.cxx:33
virtual ~TrkHitUse()
Definition: TrkHitUse.cxx:27
TrkHitUse(const TrkFundHit &, double fltLen, bool active=true, int usable=1)
Definition: TrkHitUse.cxx:18