BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcTrkRecon/include/MdcTrkRecon/MdcSegData.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: MdcSegData.h,v 1.3 2011/09/26 01:06:37 zhangy Exp $
4//
5// Description:
6// Hold (pointer to) list of Mdc hits, and some auxiliary information.
7// It mostly exists for historical reasons.
8//
9// Environment:
10// Software developed for the BaBar Detector at the SLAC B-Factory.
11//
12// Author(s): Steve Schaffner
13//------------------------------------------------------------------------
14#ifndef MDCSEGDATA_H
15#define MDCSEGDATA_H
16
17// #include "MdcTrkRecon/MdcHitDict.h"
18#include "MdcData/MdcHit.h"
19#include "MdcTrkRecon/MdcMap.h"
20
21class MdcDetector;
22class MdcHitMap;
23class MdcSegUsage;
24
25class MdcSegData {
26public:
28
29 MdcSegData( bool skipUsedHit );
30 virtual ~MdcSegData();
31
32 int nevent() const { return eventNumber; }
33 int nhits() const;
34 int runNumber() const { return _runNumber; }
35 const MdcHit* hit( int hitno ) const;
36 const MdcHitDict& segUsage() const { return _segUsageDict; }
37 const MdcHitMap* hitMap() const { return _hitMap; }
38 void loadevent( MdcHitCol* col, MdcHitMap* hmap, double tbunch );
39 double bunchTime( void ) const { return _bunchTime; }
40 bool skippingUsed() const { return _skipUsed; }
41 void poisonHits( const MdcDetector* gm, int debug = 0 );
42
43private:
44 bool _skipUsed;
45 int eventNumber;
46 int _runNumber;
47 MdcHitCol* _theHits;
48 MdcHitDict _segUsageDict;
49 MdcSegUsage* _segUsage;
50 MdcHitMap* _hitMap;
51 double _bunchTime;
52
53 // Preempt
54 MdcSegData& operator=( const MdcSegData& );
55 MdcSegData( const MdcSegData& );
56};
57#endif
void poisonHits(const MdcDetector *gm, int debug=0)
int nhits() const
void loadevent(MdcHitCol *col, MdcHitMap *hmap, double tbunch)
MdcSegData(bool skipUsedHit)
virtual ~MdcSegData()
const MdcHit * hit(int hitno) const
MdcMap< const MdcHit *, MdcSegUsage * > MdcHitDict