A new CreateFastRecPoints has been made and the old one made compatible.
[u/mrichter/AliRoot.git] / ITS / AliITSsimulationFastPoints.h
1 #ifndef ALIITSSIMULATIONFASTPOINTS_H
2 #define ALIITSSIMULATIONFASTPOINTS_H
3
4 #include "AliITSsimulation.h"
5
6 class AliITSmodule;
7 class TRandom;
8
9 class AliITSsimulationFastPoints : public AliITSsimulation
10 {
11
12 public:
13   AliITSsimulationFastPoints(); // default constructor
14   virtual ~AliITSsimulationFastPoints() {} 
15   void CreateFastRecPoints(AliITSmodule *mod,Int_t module,TRandom *rndm);
16   void CreateFastRecPoints(Int_t module);
17   
18 private:
19   
20     virtual void SetSigmaRPhi(Double_t sigmarphi[6]);  
21     virtual void SetSigmaZ(Double_t sigmaz[6]);  
22     virtual void SetSigmaDe(Double_t sigmade[6]);  
23     virtual void SetThrDe(Double_t thrde[6]); 
24     Double_t SigmaRPhi(Int_t layer) {return fSigmaRPhi[layer-1];}  
25     Double_t SigmaZ(Int_t layer) {return fSigmaZ[layer-1];}  
26     Double_t SigmaDe(Int_t layer) {return fSigmaDe[layer-1];} 
27     Double_t ThrDe(Int_t layer) {return fThrDe[layer-1];} 
28
29
30 private:
31
32     Double_t fSigmaRPhi[6];              // Sigmas in rphi for the 6 layers
33     Double_t fSigmaZ[6];                 // Sigmas in Z for the 6 layers
34     Double_t fSigmaDe[6];                // Sigmas in energy loss for the 6 layers
35     Double_t fThrDe[6];                  // Energy thresholds for the 6 layers
36
37
38   ClassDef(AliITSsimulationFastPoints,1) // Fast point simulator.
39
40 };
41
42 #endif