FairRoot/PandaRoot
PndGemIdealHitProducer.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndGemIdealHitProducer header file -----
3 // ----- Created 17/03/2009 by R. Karabowicz -----
4 // -------------------------------------------------------------------------
5 
16 #ifndef PNDGEMIDEALHITPRODUCER_H
17 #define PNDGEMIDEALHITPRODUCER_H 1
18 
19 // Pnd includes
20 #include "FairTask.h"
21 
22 // Root includes
23 #include "TStopwatch.h"
24 
25 class TClonesArray;
26 class PndGemDigiPar;
27 class PndGemSensor;
28 class PndGemStation;
29 
30 class PndGemIdealHitProducer : public FairTask{
31 
32  public:
33 
36 
38  PndGemIdealHitProducer(const char* name, Int_t iVerbose);
39 
41  virtual ~PndGemIdealHitProducer();
42 
44  virtual InitStatus Init();
45 
47  virtual void Exec(Option_t* opt);
48 
52  // PndGemHit* AddHit(const PndGemPoint* point, Int_t idx);
53 
54  private:
55 
57 
58 
59  Int_t fTNofEvents;
60  Int_t fTNofPoints;
61  Int_t fTNofHits;
62 
63  TClonesArray* fPointArray;
64  TClonesArray* fHitArray;
65 
69  // void Smear(TVector3& pos, const TVector3 dpos) const;
70 
72  virtual void SetParContainers();
73 
75  virtual void Finish();
76 
78 
79 };
80 
81 #endif
virtual void Exec(Option_t *opt)
Digitization Parameter Class for GEM part.
Definition: PndGemDigiPar.h:31
TClonesArray * fHitArray
Output array of PndGemHits.
Class for conversion points to hits.
ClassDef(PndGemIdealHitProducer, 1)
TClonesArray * fPointArray
Input array of PndGemMCPoints.
TString name
Int_t iVerbose