]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSresponseSPD.h
added tcsh UI
[u/mrichter/AliRoot.git] / ITS / AliITSresponseSPD.h
CommitLineData
b0f5e3fc 1#ifndef ALIITSRESPONSESPD_H
2#define ALIITSRESPONSESPD_H
3
b0f5e3fc 4#include "AliITSresponse.h"
1ca7869b 5#include <TString.h>
e8189707 6
b0f5e3fc 7//----------------------------------------------
8//
9// ITS response class for SPD
10//
11class AliITSresponseSPD :
12 public AliITSresponse {
13public:
14
15 AliITSresponseSPD();
16 virtual ~AliITSresponseSPD() {
17 // destructror
18 }
19 //
20 // Configuration methods
21 //
21b825a4 22
23
24 virtual void SetDiffCoeff(Float_t p1=0) {
25 //
b0f5e3fc 26 fDiffCoeff=p1;
27 }
21b825a4 28 virtual Float_t DiffCoeff() {
29 //
30 return fDiffCoeff;
b0f5e3fc 31 }
21b825a4 32 virtual void SetThresholds(Float_t thresh=2000, Float_t sigma=280) {
33 // Set Threshold and noise + threshold fluctuations parameter values
34 fThresh=thresh; fSigma=sigma;
b0f5e3fc 35 }
21b825a4 36 virtual void Thresholds(Float_t &thresh, Float_t &sigma) {
37 // Get Threshold and noise + threshold fluctuations parameter values
38 thresh=fThresh; sigma=fSigma;
b0f5e3fc 39 }
21b825a4 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") {
b0f5e3fc 49 // Type of data - real or simulated
50 fDataType=data;
51 }
21b825a4 52 virtual const char *DataType() {
b0f5e3fc 53 // Get data typer
e8189707 54 return fDataType.Data();
b0f5e3fc 55 }
56
57 ClassDef(AliITSresponseSPD,1) // SPD response
58
59 protected:
60
21b825a4 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
e8189707 67 TString fDataType; // Type of data - real or simulated
b0f5e3fc 68};
69
70#endif