BOSS 7.1.2
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"
20
21class MdcHit;
22
23// Class interface //
25
26public:
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
39private:
40 int _ambig;
41 double _t0;
42
43 // Preempt
44 MdcHitUse& operator= (const MdcHitUse&);
45 MdcHitUse(const MdcHitUse &);
46};
47
48#endif
virtual bool operator==(const TrkHitUse &) const
Definition MdcHitUse.cxx:60
int ambig() const
Definition MdcHitUse.h:32
virtual TrkHitOnTrk * createHitOnTrk(const TrkRep &) const
Definition MdcHitUse.cxx:32
const MdcHit * mdcHit() const
Definition MdcHitUse.cxx:69
MdcHitUse(const MdcHit &, double fltLen, int ambig, bool active=true, int usable=1)
Definition MdcHitUse.cxx:21
virtual ~MdcHitUse()
Definition MdcHitUse.cxx:28
double fltLen() const
Definition TrkHitUse.h:34