FairRoot/PandaRoot
PndSciTHitProducerIdeal.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndSciTHitProducerIdeal header file -----
3 // ----- Created by Alicia Sanchez -----
4 // ----- modified by D. Steinschaden -----
5 // ----- last update 04.2015 -----
6 // -------------------------------------------------------------------------
7 
8 
19 #ifndef PNDSCITHITPRODUCERIDEAL_H
20 #define PNDSCITHITPRODUCERIDEAL_H
21 
22 #include <PndPersistencyTask.h>
23 #include "PndSciTPoint.h"
24 #include "PndGeoHandling.h"
25 #include "PndGeoSciTPar.h"
26 
27 #include "FairMCEventHeader.h"
28 #include "FairGeoVector.h"
29 #include "FairGeoTransform.h"
30 
31 #include "TVector3.h"
32 #include "TGeoMatrix.h"
33 #include "TRandom.h"
34 #include <string>
35 
36 class TClonesArray;
37 
39 {
40  public:
41 
45 
48 
49 
51  virtual void SetParContainers();
52  virtual InitStatus Init();
53 
54 
56  virtual void Exec(Option_t* opt);
57  void smear(Double_t& time, Double_t& dt);
58  void SetPersistence(Bool_t persistence) { SetPersistency(persistence); }
59 
60  private:
61 
63 
65  TClonesArray* fPointArray;
66 
68  TClonesArray* fHitArray;
69 
70 
72 
73  PndGeoHandling* fGeoH; //For converting sensor ID (shortID) into the Full volume path
74 
76 
77  void Register();
78 
79  void Reset();
80 
81  void ProduceHits();
82 
84 
85 };
86 
87 #endif
void SetPersistency(Bool_t val=kTRUE)
Class to access the naming information of the MVD.
Double_t
virtual void Exec(Option_t *opt)
void SetPersistence(Bool_t persistence)
ClassDef(PndSciTHitProducerIdeal, 2)
void smear(Double_t &time, Double_t &dt)