PandaRoot
PndTrkGemHitList.h
Go to the documentation of this file.
1 
6 #ifndef PNDTRKGEMHITLIST_H
7 #define PNDTRKGEMHITLIST_H 1
8 
9 #include "PndTrkHitList.h"
10 
11 #include "TVector3.h"
12 #include "TClonesArray.h"
13 #include "PndTrkHit.h"
14 #include "PndGemHit.h"
15 
16 #include <map>
17 
18 #define MAXNOFGEMHITS 1000 // CHECK consistency
19 
21 
22  public:
24  PndTrkGemHitList(Int_t iregion);
26 
27  static PndTrkGemHitList *Instance();
29 
30  void AddHit(Int_t hitid, Int_t detid, FairHit *hit);
31  void AddNonCombiHits(Int_t detID, TClonesArray *array, std::map<int, bool> hitTousable);
32 
33  void Clear()
34  {
35  ClearList();
36  fgemInstance = nullptr;
37  }
38 
39  protected:
41 
42  Int_t fIRegion;
44 };
45 
46 #endif
void AddHit(Int_t hitid, Int_t detid, FairHit *hit)
static PndTrkGemHitList * fgemInstance
void AddNonCombiHits(Int_t detID, TClonesArray *array, std::map< int, bool > hitTousable)
void ClearList()
Definition: PndTrkHitList.h:53
ClassDef(PndTrkGemHitList, 1)
PndTrkGemHitList * Instanciate()
static PndTrkGemHitList * Instance()