1 #ifndef ALIITSRESPONSESPD_H
2 #define ALIITSRESPONSESPD_H
4 #include "AliITSresponse.h"
7 //----------------------------------------------
9 // ITS response class for SPD
11 class AliITSresponseSPD :
12 public AliITSresponse {
16 virtual ~AliITSresponseSPD() {
20 // Configuration methods
24 virtual void SetDiffCoeff(Float_t p1=0) {
28 virtual Float_t DiffCoeff() {
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;
36 virtual void Thresholds(Float_t &thresh, Float_t &sigma) {
37 // Get Threshold and noise + threshold fluctuations parameter values
38 thresh=fThresh; sigma=fSigma;
40 virtual void SetNoiseParam(Float_t col=0., Float_t row=0.) {
41 // set coupling parameters
42 fCouplCol=col; fCouplRow=row;
44 virtual void GetNoiseParam(Float_t &col, Float_t &row) {
45 // get coupling parameters
46 col=fCouplCol; row=fCouplRow;
48 virtual void SetDataType(char *data="simulated") {
49 // Type of data - real or simulated
52 virtual const char *DataType() {
54 return fDataType.Data();
57 ClassDef(AliITSresponseSPD,1) // SPD response
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
67 TString fDataType; // Type of data - real or simulated