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
//------------------------------------------------------------------------
18
TrkHitUse::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
//------------------------------------------------------------------------
27
TrkHitUse::~TrkHitUse
() {
28
//------------------------------------------------------------------------
29
}
30
31
//------------------------------------------------------------------------
32
const
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
//------------------------------------------------------------------------
45
bool
TrkHitUse::operator==
(
const
TrkHitUse
& rhs )
const
{
46
//------------------------------------------------------------------------
47
return
( &(
hit
() ) == &( rhs.
hit
() ) );
48
}
MdcHit
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcData/MdcHit.h:43
TrkFundHit
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/TrkBase/TrkFundHit.h:42
TrkHitUse::operator==
virtual bool operator==(const TrkHitUse &) const =0
Definition
TrkHitUse.cxx:45
TrkHitUse::hit
const TrkFundHit & hit() const
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/TrkBase/TrkHitUse.h:34
TrkHitUse::mdcHit
virtual const MdcHit * mdcHit() const
Definition
TrkHitUse.cxx:32
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
8.0.0
BOSS_Source
Reconstruction
MdcPatRec
TrkBase
src
TrkHitUse.cxx
Generated by
1.16.1