]>
Commit | Line | Data |
---|---|---|
0aedb77e | 1 | #ifndef ALIITSRESPONSESPDBARI_H |
2 | #define ALIITSRESPONSESPDBARI_H | |
3 | ||
4 | #include "AliITSresponse.h" | |
5 | #include <TString.h> | |
6 | ||
7 | //---------------------------------------------- | |
8 | // | |
9 | // ITS response class for SPD | |
10 | // | |
11 | class AliITSresponseSPDbari : | |
12 | public AliITSresponse { | |
13 | public: | |
14 | ||
15 | AliITSresponseSPDbari(); | |
16 | virtual ~AliITSresponseSPDbari() { | |
17 | // destructror | |
18 | } | |
19 | // | |
20 | // Configuration methods | |
21 | // | |
22 | ||
23 | ||
24 | virtual void SetDiffCoeff(Float_t p1=0) { | |
25 | // | |
26 | fDiffCoeff=p1; | |
27 | } | |
28 | virtual Float_t DiffCoeff() { | |
29 | // | |
30 | return fDiffCoeff; | |
31 | } | |
32 | virtual void SetThresholds(Float_t thresh=7.2e-6, Float_t sigma=1.0e-6) { | |
33 | // Set Threshold and noise + threshold fluctuations parameter values | |
34 | fThresh=thresh; fSigma=sigma; | |
35 | } | |
36 | virtual void Thresholds(Float_t &thresh, Float_t &sigma) { | |
37 | // Get Threshold and noise + threshold fluctuations parameter values | |
38 | thresh=fThresh; sigma=fSigma; | |
39 | } | |
40 | virtual void SetNoiseParam(Float_t col=0., Float_t row=0.) { | |
41 | // set coupling parameters | |
42 | fCouplCol=col; fCouplRow=row; | |
43 | } | |
44 | virtual void GetNoiseParam(Float_t &col, Float_t &row) { | |
45 | // get coupling parameters | |
46 | col=fCouplCol; row=fCouplRow; | |
47 | } | |
48 | virtual void SetDataType(char *data="simulated") { | |
49 | // Type of data - real or simulated | |
50 | fDataType=data; | |
51 | } | |
52 | virtual const char *DataType() { | |
53 | // Get data typer | |
54 | return fDataType.Data(); | |
55 | } | |
56 | ||
57 | ClassDef(AliITSresponseSPDbari,1) // SPD response | |
58 | ||
59 | protected: | |
60 | ||
61 | Float_t fDiffCoeff; // Sigma diffusion coefficient (not used) | |
62 | Float_t fThresh; // Threshold value | |
63 | Float_t fSigma; // Noise + threshold fluctuations value | |
64 | Float_t fCouplCol; // Coupling probability along a column | |
65 | Float_t fCouplRow; // Coupling probability along a row | |
66 | ||
67 | TString fDataType; // Type of data - real or simulated | |
68 | }; | |
69 | ||
70 | #endif |