BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcData/MdcData-00-01-27/MdcData/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
20#include "MdcData/MdcHitOnTrack.h"
21
22class TrkRep;
23class TrkDifTraj;
24class MdcHit;
25
26// Class definition//
27class MdcRecoHitOnTrack : public MdcHitOnTrack {
28public:
29 MdcRecoHitOnTrack(const MdcHit& baseHit, int ambig, double bunchTime);
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
MdcRecoHitOnTrack(const MdcHit &baseHit, int ambig, double bunchTime)
MdcRecoHitOnTrack(const MdcRecoHitOnTrack &hitToBeCopied, TrkRep *newRep, const TrkDifTraj *trkTraj=0)
unsigned status() const
virtual ~MdcRecoHitOnTrack()
virtual TrkHitOnTrk * clone(TrkRep *, const TrkDifTraj *trkTraj=0) const
const MdcHit * mdcHit() const
unsigned tdcIndex() const
int whichView() const