BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcRecoHitOnTrack.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: MdcRecoHitOnTrack.h,v 1.4 2010/03/03 23:47:51 zhangy Exp $
4//
5// Description:
6// Contains drift chamber hit info, as hit is used on a particular track
7// Inherits from TrkHitOnTrk. The drift distance is stored as an
8// absolute value, but returned as |drift|*ambig. Ambiguity stored as +/- 1;
9// ambiguity = 0 => pick better value @ first call to updateMeasurement.
10//
11// Environment:
12// Software developed for the BaBar Detector at the SLAC B-Factory.
13//
14// Authors: Steve Schaffner
15//------------------------------------------------------------------------
16
17#ifndef MDCRECOHITONTRACK_H
18#define MDCRECOHITONTRACK_H
19
21
22class TrkRep;
23class TrkDifTraj;
24class MdcHit;
25
26// Class definition//
28public:
29 MdcRecoHitOnTrack(const MdcHit& baseHit, int ambig, double bunchTime);
30 virtual ~MdcRecoHitOnTrack();
31 virtual TrkHitOnTrk* clone(TrkRep *, const TrkDifTraj *trkTraj=0) const;
32
33protected:
34 MdcRecoHitOnTrack(const MdcRecoHitOnTrack &hitToBeCopied, TrkRep *newRep,
35 const TrkDifTraj* trkTraj=0 );
36
37public:
38 unsigned status() const;
39 const MdcHit* mdcHit() const;
40 unsigned tdcIndex() const;
41 int whichView() const;
42
43private:
44
46 MdcRecoHitOnTrack& operator=(const MdcRecoHitOnTrack&);
47};
48
49#endif
int ambig() const
Definition: MdcHitOnTrack.h:67
const MdcHit * baseHit() const
Definition: MdcHit.h:44
unsigned status() const
const MdcHit * mdcHit() const
virtual TrkHitOnTrk * clone(TrkRep *, const TrkDifTraj *trkTraj=0) const
unsigned tdcIndex() const
int whichView() const
const TrkDifTraj * trkTraj() const
Definition: TrkHitOnTrk.h:77
Definition: TrkRep.h:43