FairRoot/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 
20  public:
21 
23  PndTrkSdsHitList(Int_t iregion);
25 
26  static PndTrkSdsHitList* Instance();
32 
33  void AddHit(Int_t hitid, Int_t detid, FairHit *hit);
34 
35  void SetRegion(Int_t reg) { fIRegion = reg; }
36 
37  void Clear() {
38  ClearList();
39  fpixInstance = NULL;
40  fstrInstance = NULL;
41  }
42 
43  protected:
44 
47 
48  Int_t fIRegion;
50 };
51 
52 
53 #endif
static PndTrkSdsHitList * InstanceStrip()
PndTrkSdsHitList * Instanciate()
void ClearList()
Definition: PndTrkHitList.h:52
void AddHit(Int_t hitid, Int_t detid, FairHit *hit)
void SetRegion(Int_t reg)
static PndTrkSdsHitList * Instance()
PndTrkSdsHitList * InstanciateStrip()
ClassDef(PndTrkSdsHitList, 1)
static PndTrkSdsHitList * InstancePixel()
static PndTrkSdsHitList * fpixInstance
PndSdsMCPoint * hit
Definition: anasim.C:70
static PndTrkSdsHitList * fstrInstance
PndTrkSdsHitList * InstanciatePixel()