FairRoot/PandaRoot
PndDskFLGHitProducerIdeal.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndDskFLGHitProducer header file -----
3 // ----- Created 23/04/10 by Yutie Liang -----
4 // ----- -----
5 // ----- -----
6 // -------------------------------------------------------------------------
7 
16 #ifndef PNDDSKHITPRODUCERIDEAL_H
17 #define PNDDSKHITPRODUCERIDEAL_H
18 
19 #include <PndPersistencyTask.h>
20 #include "TClonesArray.h"
21 #include "PndMCTrack.h"
22 #include "PndDskFLGHit.h"
23 #include "PndGeoDskFLG.h"
24 #include "PndStack.h"
25 #include "FairBaseParSet.h"
26 #include "TString.h"
27 #include <string>
28 
29 #include "TRandom.h"
30 
31 #ifndef ROOT_TParticlePDG
32 #include "TParticlePDG.h"
33 #endif
34 #ifndef ROOT_TDatabasePDG
35 #include "TDatabasePDG.h"
36 #endif
37 
38 
40 
41 public:
42 
45 
48 
51 
53  // virtual void SetParContainers();
54  virtual InitStatus Init();
55 
57  virtual void Exec(Option_t* option);
58 
60  virtual void Finish();
61 
66  PndDskFLGHit* AddHit(Int_t trackID, Int_t detectorID,
67  TVector3 position_store, TVector3 momentum_store, Double_t time,
68  Double_t angIn, Double_t thetaC_store,
69  TVector3 Cherenkov_photon, Int_t light_guide, Int_t pixel);
70 
71  protected:
72 
73  private:
74 
75  Int_t fDetectorID;
76  TVector3 fPosHit;
77  TVector3 fDPosHit;
79  Int_t fRefIndex;
80 
82  Int_t f_pixel;
83 
84  TClonesArray* fDskParticleArray; // DSK MC points in the bars
85  TClonesArray* fHitArray; // DSK hits
86  // TObjArray *fVolumeArray;
87  // TClonesArray* fListStack; // Tracks
88 
89  //PndGeoDskPar *fPar;
90 
92 
94  void SetDefaultParameters();
95 
97  Int_t fVerbose;
98 
99  Int_t nevents;
100 
101  TRandom *rand;
102 
103  ClassDef(PndDskFLGHitProducerIdeal,1)
104 
105 };
106 
107 #endif
#define verbose
virtual void Exec(Option_t *option)
Double_t
PndDskFLGHit * AddHit(Int_t trackID, Int_t detectorID, TVector3 position_store, TVector3 momentum_store, Double_t time, Double_t angIn, Double_t thetaC_store, TVector3 Cherenkov_photon, Int_t light_guide, Int_t pixel)