BOSS
7.1.2
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
//------------------------------------------------------------------------
18
TrkHitUse::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
//------------------------------------------------------------------------
27
TrkHitUse::~TrkHitUse
() {
28
//------------------------------------------------------------------------
29
}
30
31
//------------------------------------------------------------------------
32
const
MdcHit
*
33
TrkHitUse::mdcHit
()
const
{
34
//------------------------------------------------------------------------
35
return
0;
36
}
37
38
//------------------------------------------------------------------------
39
//const SvtHit*
40
//TrkHitUse::svtHit() const {
41
//------------------------------------------------------------------------
42
// return 0;
43
//}
44
45
//------------------------------------------------------------------------
46
bool
47
TrkHitUse::operator==
(
const
TrkHitUse
& rhs)
const
{
48
//------------------------------------------------------------------------
49
return
( &(
hit
()) == &(rhs.
hit
()) );
50
}
TrkHitUse.h
MdcHit
Definition
MdcHit.h:44
TrkFundHit
Definition
TrkFundHit.h:42
TrkHitUse
Definition
TrkHitUse.h:25
TrkHitUse::operator==
virtual bool operator==(const TrkHitUse &) const =0
Definition
TrkHitUse.cxx:47
TrkHitUse::hit
const TrkFundHit & hit() const
Definition
TrkHitUse.h:35
TrkHitUse::mdcHit
virtual const MdcHit * mdcHit() const
Definition
TrkHitUse.cxx:33
TrkHitUse::~TrkHitUse
virtual ~TrkHitUse()
Definition
TrkHitUse.cxx:27
TrkHitUse::TrkHitUse
TrkHitUse(const TrkFundHit &, double fltLen, bool active=true, int usable=1)
Definition
TrkHitUse.cxx:18
7.1.2
Reconstruction
MdcPatRec
TrkBase
TrkBase-00-01-12
src
TrkHitUse.cxx
Generated by
1.12.0