#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.