]>
Commit | Line | Data |
---|---|---|
b0f5e3fc | 1 | #ifndef ALIITSSIMULATIONFASTPOINTS_H |
2 | #define ALIITSSIMULATIONFASTPOINTS_H | |
3 | ||
4 | #include "AliITSsimulation.h" | |
d2f55a22 | 5 | ////////////////////////////////////////////////////////// |
6 | // implements fast simulation | |
7 | ///////////////////////////////////////////////////////// | |
8 | // | |
7d62fb64 | 9 | class TClonesArray; |
b0f5e3fc | 10 | class AliITSmodule; |
e8189707 | 11 | class TRandom; |
b0f5e3fc | 12 | |
13 | class AliITSsimulationFastPoints : public AliITSsimulation | |
14 | { | |
15 | ||
16 | public: | |
17 | AliITSsimulationFastPoints(); // default constructor | |
d2f55a22 | 18 | virtual ~AliITSsimulationFastPoints() {;} |
7d62fb64 | 19 | void CreateFastRecPoints(AliITSmodule *mod,Int_t module,TRandom *rndm, |
20 | TClonesArray* recp); | |
21 | void CreateFastRecPoints(Int_t module,TClonesArray* recp); | |
8ba39da9 | 22 | |
23 | virtual void SetSegmentationModel(Int_t dt, AliITSsegmentation *seg){fDetType->SetSegmentationModel(dt,seg);} | |
24 | virtual AliITSsegmentation* GetSegmentationModel(Int_t dt){return fDetType->GetSegmentationModel(dt);} | |
25 | ||
e56160b8 | 26 | private: |
d2f55a22 | 27 | |
e56160b8 | 28 | |
e8189707 | 29 | virtual void SetSigmaRPhi(Double_t sigmarphi[6]); |
30 | virtual void SetSigmaZ(Double_t sigmaz[6]); | |
31 | virtual void SetSigmaDe(Double_t sigmade[6]); | |
32 | virtual void SetThrDe(Double_t thrde[6]); | |
d2f55a22 | 33 | Double_t SigmaRPhi(Int_t layer) const {return fSigmaRPhi[layer-1];} |
34 | Double_t SigmaZ(Int_t layer) const {return fSigmaZ[layer-1];} | |
35 | Double_t SigmaDe(Int_t layer) const {return fSigmaDe[layer-1];} | |
36 | Double_t ThrDe(Int_t layer) const {return fThrDe[layer-1];} | |
e8189707 | 37 | |
b0f5e3fc | 38 | |
e8189707 | 39 | Double_t fSigmaRPhi[6]; // Sigmas in rphi for the 6 layers |
40 | Double_t fSigmaZ[6]; // Sigmas in Z for the 6 layers | |
41 | Double_t fSigmaDe[6]; // Sigmas in energy loss for the 6 layers | |
42 | Double_t fThrDe[6]; // Energy thresholds for the 6 layers | |
43 | ||
b0f5e3fc | 44 | |
45 | ClassDef(AliITSsimulationFastPoints,1) // Fast point simulator. | |
46 | ||
47 | }; | |
48 | ||
49 | #endif |