FairRoot/PandaRoot
PndLmdPixelHitProducerFast.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- CbmStsHitProducerIdel header file -----
3 // ----- Created 10/01/06 by V. Friese -----
4 // -------------------------------------------------------------------------
5 
6 
18 #ifndef PNDLMDPIXELHITPRODUCERFAST_H
19 #define PNDLMDPIXELHITPRODUCERFAST_H
20 
21 #include "PndSdsTask.h"
22 //#include "PndSdsGeoPar.h"
23 #include "PndDetectorList.h"
24 
25 #include "TVector3.h"
26 #include "TRandom.h"
27 
28 class TClonesArray;
29 
31 {
32  public:
33 
37 
39  PndLmdPixelHitProducerFast(const char* name);
40 
43 
44 
46  virtual void SetParContainers();
47  virtual InitStatus Init();
48 
54  virtual void SetBranchNames();
55  virtual void SetBranchNames(TString inBranchname, TString outBranchname, TString folderName);
56 
58  virtual void Exec(Option_t* opt);
59 
60  void SetPersistance(Bool_t p = kTRUE) {SetPersistency(p);};
62 
63 protected:
64 
65  Double_t fPixelSizeX; //to round MC-Hit x-position
66  Double_t fPixelSizeY; //to round MC-Hit y-position
67 
68 
70  TClonesArray* fPointArray;
71 
73  TClonesArray* fHitArray;
74 
75  //PndSdsGeoPar* fGeoPar;
76 
77  void Register();
78 
79  void Reset();
80 
81  void ProduceHits();
82 
84 
85 };
86 
87 #endif
Double_t p
Definition: anasim.C:58
void SetPersistency(Bool_t val=kTRUE)
ClassDef(PndLmdPixelHitProducerFast, 1)
Double_t
virtual void Exec(Option_t *opt)
TString name