FairRoot/PandaRoot
PndHypHitProducerIdeal.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 PNDHYPHITPRODUCERIDEAL_H
19 #define PNDHYPHITPRODUCERIDEAL_H
20 
21 #include "FairTask.h"
22 #include "PndGeoHypPar.h"
23 
24 #include "TVector3.h"
25 #include "TRandom.h"
26 
27 class TClonesArray;
28 
29 class PndHypHitProducerIdeal : public FairTask
30 {
31  public:
32 
35 
36 
39 
40 
42  virtual void SetParContainers();
43  virtual InitStatus Init();
44 
45 
47  virtual void Exec(Option_t* opt);
48  void smear(TVector3& pos, TVector3& dpos);
49 
50  private:
51 
54  TClonesArray* fPointArray;
55 
57  TClonesArray* fHitArray;
58 
60 
61  void Register();
62 
63  void Reset();
64 
65  void ProduceHits();
66 
68 
69 };
70 
71 #endif
TVector3 pos
void smear(TVector3 &pos, TVector3 &dpos)
ClassDef(PndHypHitProducerIdeal, 3)
virtual void Exec(Option_t *opt)