New class for ITS coordiante transformations used by AliITSgeom nearly
[u/mrichter/AliRoot.git] / ITS / AliITSsimulationSSD.h
CommitLineData
b0f5e3fc 1#ifndef ALIITSSIMULATIONSSD_H
2#define ALIITSSIMULATIONSSD_H
3
4#include <TArrayF.h>
5
b0f5e3fc 6#include "AliITSsimulation.h"
b0f5e3fc 7
8
9class AliITSdictSSD;
10class AliITSdcsSSD;
11
12class AliITSsimulationSSD: public AliITSsimulation {
13
14public:
15
16 AliITSsimulationSSD() {}
17 AliITSsimulationSSD(AliITSsimulationSSD &source); // copy constructor
18 AliITSsimulationSSD& operator=(AliITSsimulationSSD &source); // operator =
19 AliITSsimulationSSD(AliITSsegmentation *seg, AliITSresponse *resp);
20 virtual ~AliITSsimulationSSD();
21
c41f00cb 22 void DigitiseModule(AliITSmodule *mod, Int_t module, Int_t dummy);
b0f5e3fc 23 void HitToDigit(Int_t &hit,Int_t idtrack,Int_t nhits,TObjArray *hits);
24
e8189707 25 // return the pointer to the signal array of P strip
26 TArrayF* GetSignalP() {return fP;}
27 // return the pointer to the signal array of N strip
28 TArrayF* GetSignalN() {return fN;}
b0f5e3fc 29
30protected:
b0f5e3fc 31 void ApplyNoise();
32 void ApplyCoupling();
33 void ApplyThreshold();
34 void ApplyDAQ();
35
36 Float_t F(Float_t x, Float_t s);
37 Float_t Get2Strip(Int_t flag, Int_t istrip, Float_t x, Float_t z);
38
39 // Data members
40
41protected:
42
43 AliITSdcsSSD *fDCS;
44 Int_t fNstrips;
45 Float_t fPitch;
46 TArrayF *fN; // for signal N side
47 TArrayF *fP; // for signal P side
48 AliITSdictSSD *fTracksP; //!
49 AliITSdictSSD *fTracksN; //!
50 //______________________________________________________________
51 //
52 // Parameters for simulation
53 //______________________________________________________________
54 Int_t fSteps; //Number of steps
55
56 ClassDef(AliITSsimulationSSD,1)
57
58
e8189707 59};
b0f5e3fc 60
61
62#endif