1 #ifndef ALIITSRESPONSESPD_H
2 #define ALIITSRESPONSESPD_H
4 #include "AliITSsegmentation.h"
5 #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) {
22 // Diffusion coefficient
25 virtual Float_t DiffCoeff() {
26 // Get diffusion coefficient
29 virtual void SetNoiseParam(Float_t n=0., Float_t b=0.) {
31 fNoise=n; fBaseline=b;
33 virtual void GetNoiseParam(Float_t &n, Float_t &b) {
35 n=fNoise; b=fBaseline;
37 virtual void SetMinVal(Int_t p1=0) {
38 // Zero-suppression option threshold
41 virtual Int_t MinVal() {
42 // Get zero-suppression threshold
45 virtual void SetDataType(char *data="simulated") {
46 // Type of data - real or simulated
49 virtual char *DataType() {
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 char* fDataType; // Type of data - real or simulated