1 #ifndef ALIITSRESPONSESPD_H
2 #define ALIITSRESPONSESPD_H
4 #include "AliITSresponse.h"
6 //----------------------------------------------
8 // ITS response class for SPD
10 class AliITSresponseSPD :
11 public AliITSresponse {
15 virtual ~AliITSresponseSPD() {
19 // Configuration methods
21 virtual void SetDiffCoeff(Float_t p1=0.00433,Float_t dummy=0.) {
22 // Diffusion coefficient
25 virtual void DiffCoeff(Float_t &diffc,Float_t &dummy) {
26 // Get diffusion coefficient
29 virtual void SetNoiseParam(Float_t n=200., Float_t b=0.) {
30 // set noise and baseline
31 fNoise=n; fBaseline=b;
33 virtual void GetNoiseParam(Float_t &n, Float_t &b) {
34 // get noise and baseline
35 n=fNoise; b=fBaseline;
37 virtual void SetMinVal(Int_t p1=2000) {
38 // Zero-suppression option threshold
41 virtual Int_t MinVal() {
42 // Get zero-suppression threshold
45 virtual void SetDataType(const char *data="simulated") {
46 // Type of data - real or simulated
49 virtual const char *DataType() const {
51 return fDataType.Data();
54 ClassDef(AliITSresponseSPD,1) // SPD response
58 Float_t fDiffCoeff; // Diffusion Coefficient
59 Float_t fNoise; // Noise value
60 Float_t fBaseline; // Baseline value
61 Int_t fThreshold; // Zero-Suppression threshold
63 TString fDataType; // Type of data - real or simulated