]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONResponse.h
MevSim interfaced through AliGenerator, first commit (Sylwester Radomski et al.)
[u/mrichter/AliRoot.git] / MUON / AliMUONResponse.h
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
10 class TF1;
11 class AliSegmentation;
12
13
14 class AliMUONResponse :
15 public 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;
46     // Set the charge correlation
47     virtual void SetChargeCorrel(Float_t correl)              =0;
48     // Get the charge correlation
49     virtual Float_t ChargeCorrel()                            =0;
50     //  
51     // Chamber response methods
52     // Pulse height from scored quantity (eloss)
53     virtual Float_t IntPH(Float_t eloss)                      =0;
54     // Charge disintegration 
55     virtual Float_t IntXY(AliSegmentation *)                  =0;
56     // Noise, zero-suppression, adc saturation
57     virtual Int_t DigitResponse(Int_t digit)                  =0;
58     // 
59     ClassDef(AliMUONResponse,1) // Chamber response virtual base class 
60 };
61 #endif
62
63
64
65
66
67
68