BOSS 8.0.0
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, int usable )
19 : _hit( theHit ) {
20 //------------------------------------------------------------------------
21 _fltLen = flt;
22 _isActive = active;
23 _isUsable = usable;
24}
25
26//------------------------------------------------------------------------
28 //------------------------------------------------------------------------
29}
30
31//------------------------------------------------------------------------
32const MdcHit* TrkHitUse::mdcHit() const {
33 //------------------------------------------------------------------------
34 return 0;
35}
36
37//------------------------------------------------------------------------
38// const SvtHit*
39// TrkHitUse::svtHit() const {
40//------------------------------------------------------------------------
41// return 0;
42//}
43
44//------------------------------------------------------------------------
45bool TrkHitUse::operator==( const TrkHitUse& rhs ) const {
46 //------------------------------------------------------------------------
47 return ( &( hit() ) == &( rhs.hit() ) );
48}
virtual bool operator==(const TrkHitUse &) const =0
Definition TrkHitUse.cxx:45
virtual const MdcHit * mdcHit() const
Definition TrkHitUse.cxx:32
virtual ~TrkHitUse()
Definition TrkHitUse.cxx:27
TrkHitUse(const TrkFundHit &, double fltLen, bool active=true, int usable=1)
Definition TrkHitUse.cxx:18