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 
16 #ifndef PNDHYPGEHITPRODUCERIDEAL_H
17 #define PNDHYPGEHITPRODUCERIDEAL_H
18 
19 #include "FairTask.h"
20 #include "PndGeoHypGePar.h"
21 #include "PndHypGeHit.h"
22 #include "TVector3.h"
23 #include "TRandom.h"
24 #include "TFile.h"
25 
26 class TClonesArray;
27 
28 class PndHypGeHitProducerIdeal : public FairTask {
29  public:
32 
35 
37  virtual void SetParContainers();
38  virtual InitStatus Init();
39 
41  virtual void Exec(Option_t *opt);
42  void smear(Double_t &ener, Double_t &den);
43 
44  private:
45  TString fBranchName;
47  TClonesArray *fPointArray;
48 
50  TClonesArray *fHitArray;
51 
52  PndGeoHypGePar *fGeoPar;
53 
54  void Register();
55 
56  void Reset();
57 
58  void ProduceHits();
59 
60  ClassDef(PndHypGeHitProducerIdeal, 3);
61 };
62 
63 #endif
void smear(Double_t &ener, Double_t &den)
virtual InitStatus Init()
virtual void SetParContainers()
virtual void Exec(Option_t *opt)