1 #ifndef ALIMUONRESPONSE_H
2 #define ALIMUONRESPONSE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 // Revision of includes 07/05/2004
12 class AliMUONGeometrySegmentation;
13 class AliMUONTransientDigit;
15 class AliMUONResponse : public TObject
22 // Configuration methods
24 // Set number of sigmas over which cluster disintegration is performed
25 virtual void SetSigmaIntegration(Float_t) {return;}
26 // Get number of sigmas over which cluster disintegration is performed
27 virtual Float_t SigmaIntegration() const {return 1.;}
28 // Set single electron pulse height (ADCcounts/e)
29 virtual void SetChargeSlope(Float_t ) {return;}
30 // Get single electron pulse height (ADCcounts/e)
31 virtual Float_t ChargeSlope() const {return 1.;}
32 // Set sigmas of the charge spread function
33 virtual void SetChargeSpread(Float_t , Float_t ) {return;}
34 // Get sigma_X of the charge spread function
35 virtual Float_t ChargeSpreadX() const {return 1.;}
36 // Get sigma_Y of the charge spread function
37 virtual Float_t ChargeSpreadY() const {return 1.;}
38 // Set maximum Adc-count value
39 virtual void SetMaxAdc(Int_t ) {return;}
40 // Set saturation value
41 virtual void SetSaturation(Int_t ) {return;}
42 // Set zero suppression threshold
43 virtual void SetZeroSuppression(Int_t ) {return;}
44 // Get maximum Adc-count value
45 virtual Int_t MaxAdc() const {return kTRUE;}
46 // Get saturation value
47 virtual Int_t Saturation() const {return kTRUE;}
48 // Get maximum zero suppression threshold
49 virtual Int_t ZeroSuppression() const {return kTRUE;}
50 // Set anode cathode Pitch
51 virtual void SetPitch(Float_t) {return;}
52 // Get anode cathode Pitch
53 virtual Float_t Pitch() const {return 1.;}
54 // Set the charge correlation
55 virtual void SetChargeCorrel(Float_t) {return;}
56 // Get the charge correlation
57 virtual Float_t ChargeCorrel() const {return 1.;}
59 // Chamber response methods
60 // Pulse height from scored quantity (eloss)
61 virtual Float_t IntPH(Float_t) {return 1.;}
62 // Charge disintegration
63 virtual Float_t IntXY(Int_t, AliMUONGeometrySegmentation*) {return 1.;}
65 // Noise, zero-suppression, adc saturation
66 //virtual Int_t DigitResponse(Int_t ) {return kTRUE;}
67 virtual Int_t DigitResponse(Int_t ,
68 AliMUONTransientDigit* ) {return kTRUE;}
70 ClassDef(AliMUONResponse,1) // Chamber response virtual base class