]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONResponse.h
New code from Piergiorgio added
[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;
a9e2aefa 12
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;
46 //
47 // Chamber response methods
48 // Pulse height from scored quantity (eloss)
49 virtual Float_t IntPH(Float_t eloss) =0;
50 // Charge disintegration
a30a000f 51 virtual Float_t IntXY(AliSegmentation *) =0;
a9e2aefa 52 // Noise, zero-suppression, adc saturation
53 virtual Int_t DigitResponse(Int_t digit) =0;
54 //
55 ClassDef(AliMUONResponse,1) // Chamber response virtual base class
56};
57#endif
58
59
60
61
62
63
64