PandaRoot
PndTrkSdsHitList.h
Go to the documentation of this file.
1 
6 #ifndef PNDTRKSDSHITLIST_H
7 #define PNDTRKSDSHITLIST_H 1
8 
9 #include "PndTrkHitList.h"
10 
11 #include "TVector3.h"
12 #include "PndTrkHit.h"
13 #include "PndSdsHit.h"
14 
15 #define MAXNOFSDSHITS 1000 // CHECK consistency
16 
18 
19  public:
21  PndTrkSdsHitList(Int_t iregion);
23 
24  static PndTrkSdsHitList *Instance();
30 
31  void AddHit(Int_t hitid, Int_t detid, FairHit *hit);
32 
33  void SetRegion(Int_t reg) { fIRegion = reg; }
34 
35  void Clear()
36  {
37  ClearList();
38  fpixInstance = nullptr;
39  fstrInstance = nullptr;
40  }
41 
42  protected:
45 
46  Int_t fIRegion;
48 };
49 
50 #endif
void ClearList()
Definition: PndTrkHitList.h:53
void AddHit(Int_t hitid, Int_t detid, FairHit *hit)
void SetRegion(Int_t reg)
PndTrkSdsHitList * Instanciate()
static PndTrkSdsHitList * InstanceStrip()
static PndTrkSdsHitList * fstrInstance
static PndTrkSdsHitList * InstancePixel()
ClassDef(PndTrkSdsHitList, 1)
static PndTrkSdsHitList * Instance()
PndTrkSdsHitList * InstanciatePixel()
static PndTrkSdsHitList * fpixInstance
PndTrkSdsHitList * InstanciateStrip()