BOSS
7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcData/MdcData-00-01-27/MdcData/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
MdcHitUse
Definition:
InstallArea/include/MdcData/MdcData/MdcHitUse.h:24
MdcHitUse::ambig
int ambig() const
Definition:
InstallArea/include/MdcData/MdcData/MdcHitUse.h:32
MdcHitUse::~MdcHitUse
virtual ~MdcHitUse()
MdcHitUse::mdcHit
const MdcHit * mdcHit() const
MdcHitUse::createHitOnTrk
virtual TrkHitOnTrk * createHitOnTrk(const TrkRep &) const
MdcHitUse::MdcHitUse
MdcHitUse(const MdcHit &, double fltLen, int ambig, bool active=true, int usable=1)
MdcHitUse::operator==
virtual bool operator==(const TrkHitUse &) const
MdcHit
Definition:
InstallArea/include/MdcData/MdcData/MdcHit.h:44
TrkHitOnTrkUpdater
Definition:
InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkUpdater.h:37
TrkHitOnTrk
Definition:
InstallArea/include/TrkBase/TrkBase/TrkHitOnTrk.h:52
TrkHitUse
Definition:
InstallArea/include/TrkBase/TrkBase/TrkHitUse.h:25
TrkHitUse::fltLen
double fltLen() const
Definition:
InstallArea/include/TrkBase/TrkBase/TrkHitUse.h:34
TrkRep
Definition:
InstallArea/include/TrkBase/TrkBase/TrkRep.h:43
source
Reconstruction
MdcPatRec
MdcData
MdcData-00-01-27
MdcData
MdcHitUse.h
Generated by
1.9.6