BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcHoughFinder/MdcHoughFinder-00-00-12/MdcHoughFinder/HoughHitList.h
Go to the documentation of this file.
1#ifndef HOUGHHITLIST_H
2#define HOUGHHITLIST_H
3
4#include "MdcHoughFinder/HoughHit.h"
5#include "MdcRawEvent/MdcDigi.h"
6#include "MdcHoughFinder/HoughGlobal.h"
7#include <vector>
8#include "CLHEP/Matrix/Vector.h"
9
10using namespace Event;
11typedef std::vector<MdcDigi*> MdcDigiVec;
12
13class HoughHitList{
14 public:
15 //constructors
20
21 //**********************************
22 // Accessor
23 //**********************************
24 int nHit() const {return _houghHitList.size();}
25 int getHitNum(int) const ;
26 int getHitNumA(int) const ;
27 int getHitNumS(int) const ;
28 //int nMdcHit() const;
29 //int nCgemHit() const;
30 const std::vector<HoughHit>& getList() const;
31 std::vector<HoughHit>& getList() ;
32 const HoughHit& getHoughHit(int i) const{return _houghHitList[i];}
33 HoughHit& getHoughHit(int i) {return _houghHitList[i];}
34 HoughHitType type() const{return _type;}
35
36
37 //**********************************
38 // Modify
39 //**********************************
40 void addHit(HoughHit& a);//add hit into hitlist
41 int addMdcDigiList(MdcDigiVec mdcDigiVec );
42 int addTruthInfo(std::map<int, const HepVector > mcTkPars);
43 void setType(HoughHitType t){ _type=t; }
44 int outerHit();
46 void remove(const HoughHit& hit);
47
48
49 void print();
50 void printAll();
51 void printAll(int);
52 private:
53 std::vector<HoughHit> _houghHitList;
54 HoughHitType _type;
55};
56#endif
int addMdcDigiList(MdcDigiVec mdcDigiVec)
int continousHit()
void remove(const HoughHit &hit)
int getHitNumA(int) const
void addHit(HoughHit &a)
int addTruthInfo(std::map< int, const HepVector > mcTkPars)
const std::vector< HoughHit > & getList() const
std::vector< HoughHit > & getList()
HoughHitList(MdcDigiVec mdcDigiVec)
void clearHoughHitList()
void printAll()
int getHitNum(int) const
int getHitNumS(int) const
void printAll(int)
int t()
Definition: t.c:1