BOSS
7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcHitUse.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: MdcHitUse.h,v 1.2 2011/09/26 00:55:50 zhangy Exp $
4
//
5
// Description:
6
// Minimal description of how a hit is to be used on a track; used for
7
// adding hits to tracks.
8
//
9
// Environment:
10
// Software developed for the BaBar Detector at the SLAC B-Factory.
11
//
12
// Author(s): Steve Schaffner
13
//
14
//------------------------------------------------------------------------
15
#ifndef MDCHITUSE_HH
16
#define MDCHITUSE_HH
17
18
#include "
TrkBase/TrkHitUse.h
"
19
#include "
TrkBase/TrkHitOnTrkUpdater.h
"
20
21
class
MdcHit
;
22
23
// Class interface //
24
class
MdcHitUse
:
public
TrkHitUse
,
TrkHitOnTrkUpdater
{
25
26
public
:
27
MdcHitUse
(
const
MdcHit
&,
double
fltLen
,
int
ambig
,
28
bool
active=
true
,
int
usable=1);
29
virtual
~MdcHitUse
();
30
virtual
bool
operator==
(
const
TrkHitUse
&)
const
;
31
32
int
ambig
()
const
{
return
_ambig;}
33
virtual
TrkHitOnTrk
*
createHitOnTrk
(
const
TrkRep
&)
const
;
34
//virtual TrkHitOnTrk* createHitOnTrk(const TrkRep&, bool maintainAmbiguity=false) const;//2011-05-04
35
36
// Cast (safe) of base hit
37
const
MdcHit
*
mdcHit
()
const
;
38
39
private
:
40
int
_ambig;
41
double
_t0;
42
43
// Preempt
44
MdcHitUse
& operator= (
const
MdcHitUse
&);
45
MdcHitUse
(
const
MdcHitUse
&);
46
};
47
48
#endif
TrkHitOnTrkUpdater.h
TrkHitUse.h
MdcHitUse
Definition
MdcHitUse.h:24
MdcHitUse::operator==
virtual bool operator==(const TrkHitUse &) const
Definition
MdcHitUse.cxx:60
MdcHitUse::ambig
int ambig() const
Definition
MdcHitUse.h:32
MdcHitUse::createHitOnTrk
virtual TrkHitOnTrk * createHitOnTrk(const TrkRep &) const
Definition
MdcHitUse.cxx:32
MdcHitUse::mdcHit
const MdcHit * mdcHit() const
Definition
MdcHitUse.cxx:69
MdcHitUse::MdcHitUse
MdcHitUse(const MdcHit &, double fltLen, int ambig, bool active=true, int usable=1)
Definition
MdcHitUse.cxx:21
MdcHitUse::~MdcHitUse
virtual ~MdcHitUse()
Definition
MdcHitUse.cxx:28
MdcHit
Definition
MdcHit.h:44
TrkHitOnTrkUpdater
Definition
TrkHitOnTrkUpdater.h:37
TrkHitOnTrk
Definition
TrkHitOnTrk.h:52
TrkHitUse
Definition
TrkHitUse.h:25
TrkHitUse::fltLen
double fltLen() const
Definition
TrkHitUse.h:34
TrkRep
Definition
TrkRep.h:43
7.1.1
Reconstruction
MdcPatRec
MdcData
MdcData-00-01-27
MdcData
MdcHitUse.h
Generated by
1.12.0