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