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)
int hit(Int_t nEvents=0, TString inFile="sim.root", TString parFile="par.root", TString inDigi="digi.root", TString outFile="hit.root", Int_t timeBased=0)
Definition: hit.C:1
static PndTrkSdsHitList * InstancePixel()
static PndTrkSdsHitList * fpixInstance
static PndTrkSdsHitList * fstrInstance
PndTrkSdsHitList * InstanciatePixel()