FairRoot/PandaRoot
PndHypGeHitProducerIdeal.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- CbmHypGeHitProducerIdel header file -----
3 // ----- Created 10/01/06 by V. Friese -----
4 // -------------------------------------------------------------------------
5 
6 
18 #ifndef PNDHYPGEHITPRODUCERIDEAL_H
19 #define PNDHYPGEHITPRODUCERIDEAL_H
20 
21 #include "FairTask.h"
22 #include "PndGeoHypGePar.h"
23 #include "PndHypGeHit.h"
24 #include "TVector3.h"
25 #include "TRandom.h"
26 #include "TFile.h"
27 
28 class TClonesArray;
29 
30 class PndHypGeHitProducerIdeal : public FairTask
31 {
32  public:
33 
36 
37 
40 
41 
43  virtual void SetParContainers();
44  virtual InitStatus Init();
45 
46 
48  virtual void Exec(Option_t* opt);
49  void smear(Double_t& ener, Double_t& den);
50 
51 
52 
53  private:
54 
57  TClonesArray* fPointArray;
58 
60  TClonesArray* fHitArray;
61 
63 
64  void Register();
65 
66  void Reset();
67 
68  void ProduceHits();
69 
71 
72 };
73 
74 #endif
void smear(Double_t &ener, Double_t &den)
virtual void Exec(Option_t *opt)
Double_t
ClassDef(PndHypGeHitProducerIdeal, 3)