]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSsimulationFastPoints.h
Ctrl-M removed at the end of each line. Arrays with unknown size defined via new...
[u/mrichter/AliRoot.git] / ITS / AliITSsimulationFastPoints.h
index 6e2e52fed6c5b804b8d34a68be054f7c6e95efea..637edfea49a2b77d8745ad1c439277d3f5987141 100644 (file)
@@ -4,24 +4,34 @@
 #include "AliITSsimulation.h"
 
 class AliITSmodule;
-class AliITSstatistics;
+class TRandom;
 
 class AliITSsimulationFastPoints : public AliITSsimulation
 {
 
 public:
   AliITSsimulationFastPoints(); // default constructor
-  virtual ~AliITSsimulationFastPoints(); 
-  void CreateFastRecPoints(AliITSmodule *mod);
+  virtual ~AliITSsimulationFastPoints() {} 
+  void CreateFastRecPoints(AliITSmodule *mod,Int_t module,TRandom *rndm);
 private:
-  void AddSPD(Float_t &e,AliITSmodule *mod,Int_t trackNumber);
-  void AddSDD(Float_t &e,AliITSmodule *mod,Int_t trackNumber);
-  void AddSSD(Float_t &e,AliITSmodule *mod,Int_t trackNumber);
+
+    virtual void SetSigmaRPhi(Double_t sigmarphi[6]);  
+    virtual void SetSigmaZ(Double_t sigmaz[6]);  
+    virtual void SetSigmaDe(Double_t sigmade[6]);  
+    virtual void SetThrDe(Double_t thrde[6]); 
+    Double_t SigmaRPhi(Int_t layer) {return fSigmaRPhi[layer-1];}  
+    Double_t SigmaZ(Int_t layer) {return fSigmaZ[layer-1];}  
+    Double_t SigmaDe(Int_t layer) {return fSigmaDe[layer-1];} 
+    Double_t ThrDe(Int_t layer) {return fThrDe[layer-1];} 
+
 
 private:
 
-  AliITSstatistics *fSx;   // pointer to AliITSstatistics class
-  AliITSstatistics *fSz;   // pointer to AliITSstatistics class
+    Double_t fSigmaRPhi[6];              // Sigmas in rphi for the 6 layers
+    Double_t fSigmaZ[6];                 // Sigmas in Z for the 6 layers
+    Double_t fSigmaDe[6];                // Sigmas in energy loss for the 6 layers
+    Double_t fThrDe[6];                  // Energy thresholds for the 6 layers
+
 
   ClassDef(AliITSsimulationFastPoints,1) // Fast point simulator.