Bug fix by Prashant
[u/mrichter/AliRoot.git] / MUON / AliMUONResponse.h
CommitLineData
a9e2aefa 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 */
5
6/* $Id$ */
30178c30 7// Revision of includes 07/05/2004
a9e2aefa 8
30178c30 9#include <TObject.h>
a9e2aefa 10
11class TF1;
a30a000f 12class AliSegmentation;
ba030c0e 13class AliMUONTransientDigit;
a9e2aefa 14
30178c30 15class AliMUONResponse : public TObject
16{
a9e2aefa 17 public:
30178c30 18 AliMUONResponse();
7e4a628d 19 ~AliMUONResponse();
30178c30 20
a9e2aefa 21 //
22 // Configuration methods
23 //
24 // Set number of sigmas over which cluster disintegration is performed
7e4a628d 25 virtual void SetSigmaIntegration(Float_t) {return;}
a9e2aefa 26 // Get number of sigmas over which cluster disintegration is performed
7e4a628d 27 virtual Float_t SigmaIntegration() const {return 1.;}
a9e2aefa 28 // Set single electron pulse height (ADCcounts/e)
7e4a628d 29 virtual void SetChargeSlope(Float_t ) {return;}
a9e2aefa 30 // Get single electron pulse height (ADCcounts/e)
7e4a628d 31 virtual Float_t ChargeSlope() const {return 1.;}
a9e2aefa 32 // Set sigmas of the charge spread function
7e4a628d 33 virtual void SetChargeSpread(Float_t , Float_t ) {return;}
a9e2aefa 34 // Get sigma_X of the charge spread function
7e4a628d 35 virtual Float_t ChargeSpreadX() const {return 1.;}
a9e2aefa 36 // Get sigma_Y of the charge spread function
7e4a628d 37 virtual Float_t ChargeSpreadY() const {return 1.;}
a9e2aefa 38 // Set maximum Adc-count value
7e4a628d 39 virtual void SetMaxAdc(Int_t ) {return;}
a614d271 40 // Set saturation value
7e4a628d 41 virtual void SetSaturation(Int_t ) {return;}
a9e2aefa 42 // Set zero suppression threshold
7e4a628d 43 virtual void SetZeroSuppression(Int_t ) {return;}
a9e2aefa 44 // Get maximum Adc-count value
7e4a628d 45 virtual Int_t MaxAdc() const {return kTRUE;}
a614d271 46 // Get saturation value
7e4a628d 47 virtual Int_t Saturation() const {return kTRUE;}
a9e2aefa 48 // Get maximum zero suppression threshold
7e4a628d 49 virtual Int_t ZeroSuppression() const {return kTRUE;}
a9e2aefa 50 // Set anode cathode Pitch
7e4a628d 51 virtual void SetPitch(Float_t) {return;}
a9e2aefa 52 // Get anode cathode Pitch
7e4a628d 53 virtual Float_t Pitch() const {return 1.;}
16d57990 54 // Set the charge correlation
7e4a628d 55 virtual void SetChargeCorrel(Float_t) {return;}
16d57990 56 // Get the charge correlation
7e4a628d 57 virtual Float_t ChargeCorrel() const {return 1.;}
a9e2aefa 58 //
59 // Chamber response methods
60 // Pulse height from scored quantity (eloss)
7e4a628d 61 virtual Float_t IntPH(Float_t) {return 1.;}
a9e2aefa 62 // Charge disintegration
7e4a628d 63 virtual Float_t IntXY(AliSegmentation *) {return 1.;}
a9e2aefa 64 // Noise, zero-suppression, adc saturation
7e4a628d 65 //virtual Int_t DigitResponse(Int_t ) {return kTRUE;}
66 virtual Int_t DigitResponse(Int_t ,
67 AliMUONTransientDigit* ) {return kTRUE;}
a9e2aefa 68 //
69 ClassDef(AliMUONResponse,1) // Chamber response virtual base class
70};
71#endif
72
73
74
75
76
77
78