Improving stepmanager and reponse function of the chambers: gain and saturation ...
[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$ */
7
8#include "TObject.h"
9
10class TF1;
a30a000f 11class AliSegmentation;
ba030c0e 12class AliMUONTransientDigit;
a9e2aefa 13
14class AliMUONResponse :
15public TObject {
16 public:
17 //
18 // Configuration methods
19 //
20 // Set number of sigmas over which cluster disintegration is performed
21 virtual void SetSigmaIntegration(Float_t p1) =0;
22 // Get number of sigmas over which cluster disintegration is performed
23 virtual Float_t SigmaIntegration() =0;
24 // Set single electron pulse height (ADCcounts/e)
25 virtual void SetChargeSlope(Float_t p1) =0;
26 // Get single electron pulse height (ADCcounts/e)
27 virtual Float_t ChargeSlope() =0;
28 // Set sigmas of the charge spread function
29 virtual void SetChargeSpread(Float_t p1, Float_t p2) =0;
30 // Get sigma_X of the charge spread function
31 virtual Float_t ChargeSpreadX() =0;
32 // Get sigma_Y of the charge spread function
33 virtual Float_t ChargeSpreadY() =0;
34 // Set maximum Adc-count value
35 virtual void SetMaxAdc(Int_t p1) =0;
36 // Set zero suppression threshold
37 virtual void SetZeroSuppression(Int_t val) =0;
38 // Get maximum Adc-count value
39 virtual Int_t MaxAdc() =0;
40 // Get maximum zero suppression threshold
41 virtual Int_t ZeroSuppression() =0;
42 // Set anode cathode Pitch
43 virtual void SetPitch(Float_t) =0;
44 // Get anode cathode Pitch
45 virtual Float_t Pitch() =0;
16d57990 46 // Set the charge correlation
47 virtual void SetChargeCorrel(Float_t correl) =0;
48 // Get the charge correlation
49 virtual Float_t ChargeCorrel() =0;
a9e2aefa 50 //
51 // Chamber response methods
52 // Pulse height from scored quantity (eloss)
53 virtual Float_t IntPH(Float_t eloss) =0;
54 // Charge disintegration
a30a000f 55 virtual Float_t IntXY(AliSegmentation *) =0;
a9e2aefa 56 // Noise, zero-suppression, adc saturation
ba030c0e 57 //virtual Int_t DigitResponse(Int_t digit) =0;
58 virtual Int_t DigitResponse(Int_t digit,
59 AliMUONTransientDigit* where) =0;
a9e2aefa 60 //
61 ClassDef(AliMUONResponse,1) // Chamber response virtual base class
62};
63#endif
64
65
66
67
68
69
70