]>
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 | ||
785086f0 | 26 | |
b0f5e3fc | 27 | private: |
d2f55a22 | 28 | |
5402d9ca | 29 | virtual AliITSsimulation& operator=(const AliITSsimulation &) |
9e53bafe | 30 | {return *this;} |
785086f0 | 31 | |
e8189707 | 32 | virtual void SetSigmaRPhi(Double_t sigmarphi[6]); |
33 | virtual void SetSigmaZ(Double_t sigmaz[6]); | |
34 | virtual void SetSigmaDe(Double_t sigmade[6]); | |
35 | virtual void SetThrDe(Double_t thrde[6]); | |
d2f55a22 | 36 | Double_t SigmaRPhi(Int_t layer) const {return fSigmaRPhi[layer-1];} |
37 | Double_t SigmaZ(Int_t layer) const {return fSigmaZ[layer-1];} | |
38 | Double_t SigmaDe(Int_t layer) const {return fSigmaDe[layer-1];} | |
39 | Double_t ThrDe(Int_t layer) const {return fThrDe[layer-1];} | |
e8189707 | 40 | |
b0f5e3fc | 41 | |
42 | private: | |
43 | ||
e8189707 | 44 | Double_t fSigmaRPhi[6]; // Sigmas in rphi for the 6 layers |
45 | Double_t fSigmaZ[6]; // Sigmas in Z for the 6 layers | |
46 | Double_t fSigmaDe[6]; // Sigmas in energy loss for the 6 layers | |
47 | Double_t fThrDe[6]; // Energy thresholds for the 6 layers | |
48 | ||
b0f5e3fc | 49 | |
50 | ClassDef(AliITSsimulationFastPoints,1) // Fast point simulator. | |
51 | ||
52 | }; | |
53 | ||
54 | #endif |