BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
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 "MdcTrkRecon/MdcMap.h"
19#include "MdcData/MdcHit.h"
20
21class MdcDetector;
22class MdcHitMap;
23class MdcSegUsage;
24
25
27{
28public:
30
31 MdcSegData(bool skipUsedHit);
32 virtual ~MdcSegData();
33
34 int nevent() const {return eventNumber;}
35 int nhits() const;
36 int runNumber() const {return _runNumber;}
37 const MdcHit* hit(int hitno) const;
38 const MdcHitDict& segUsage() const {return _segUsageDict;}
39 const MdcHitMap* hitMap() const {return _hitMap;}
40 void loadevent(MdcHitCol *col, MdcHitMap *hmap, double tbunch);
41 double bunchTime(void) const {return _bunchTime;}
42 bool skippingUsed() const {return _skipUsed;}
43 void poisonHits(const MdcDetector *gm, int debug = 0);
44
45private:
46 bool _skipUsed;
47 int eventNumber;
48 int _runNumber;
49 MdcHitCol* _theHits;
50 MdcHitDict _segUsageDict;
51 MdcSegUsage* _segUsage;
52 MdcHitMap* _hitMap;
53 double _bunchTime;
54
55 // Preempt
56 MdcSegData& operator= (const MdcSegData&);
57 MdcSegData(const MdcSegData &);
58};
59#endif
ObjectVector< MdcHit > MdcHitCol
Definition MdcHit.h:129
MdcMap< const MdcHit *, MdcSegUsage * > MdcHitDict
Definition MdcSegData.h:29
bool skippingUsed() const
Definition MdcSegData.h:42
void poisonHits(const MdcDetector *gm, int debug=0)
int nevent() const
Definition MdcSegData.h:34
const MdcHitDict & segUsage() const
Definition MdcSegData.h:38
const MdcHitMap * hitMap() const
Definition MdcSegData.h:39
int nhits() const
void loadevent(MdcHitCol *col, MdcHitMap *hmap, double tbunch)
double bunchTime(void) const
Definition MdcSegData.h:41
MdcSegData(bool skipUsedHit)
int runNumber() const
Definition MdcSegData.h:36
virtual ~MdcSegData()
const MdcHit * hit(int hitno) const