]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - MUON/AliMUONResponseV0.h
Removed a non-informative warning.
[u/mrichter/AliRoot.git] / MUON / AliMUONResponseV0.h
... / ...
CommitLineData
1#ifndef ALIMUONRESPONSEV0_H
2#define ALIMUONRESPONSEV0_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// Revision of includes 07/05/2004
8
9/// \ingroup sim
10/// \class AliMUONResponseV0
11/// \brief Implementation of Mathieson response
12
13#include "AliMUONResponse.h"
14#include "AliMUONMathieson.h"
15
16class AliMUONResponseV0 : public AliMUONResponse
17{
18 public:
19 AliMUONResponseV0();
20 virtual ~AliMUONResponseV0();
21 //
22 // Configuration methods
23 //
24 // Set number of sigmas over which cluster didintegration is performed
25 virtual void SetSigmaIntegration(Float_t p1) {fSigmaIntegration=p1;}
26 // Get number of sigmas over which cluster didintegration is performed
27 virtual Float_t SigmaIntegration() const {return fSigmaIntegration;}
28 // Set single electron pulse height (ADCcounts/e)
29 virtual void SetChargeSlope(Float_t p1) {fChargeSlope=p1;}
30 // Get Set single electron pulse height (ADCcounts/e)
31 virtual Float_t ChargeSlope() const {return fChargeSlope;}
32 // Set sigmas of the charge spread function
33 virtual void SetChargeSpread(Float_t p1, Float_t p2)
34 {fChargeSpreadX=p1; fChargeSpreadY=p2;}
35 // Get sigma_X of the charge spread function
36 virtual Float_t ChargeSpreadX() const {return fChargeSpreadX;}
37 // Get sigma_Y of the charge spread function
38 virtual Float_t ChargeSpreadY() const {return fChargeSpreadY;}
39 // Set maximum Adc-count value
40 virtual void SetMaxAdc(Int_t p1) {fMaxAdc=p1;}
41 // Set saturation value
42 virtual void SetSaturation(Int_t p1) {fSaturation=p1;}
43 // Set zero suppression threshold
44 virtual void SetZeroSuppression(Int_t p1) {fZeroSuppression=p1;}
45 // Get maximum Adc-count value
46 virtual Int_t MaxAdc() const {return fMaxAdc;}
47 // Get saturation value
48 virtual Int_t Saturation() const {return fSaturation;}
49
50 // Get zero suppression threshold
51 virtual Int_t ZeroSuppression() const {return fZeroSuppression;}
52 // Set the charge correlation
53 virtual void SetChargeCorrel(Float_t correl){fChargeCorrel = correl;}
54 // Get the charge correlation
55 virtual Float_t ChargeCorrel() const {return fChargeCorrel;}
56
57
58 // Set anode cathode Pitch
59 virtual Float_t Pitch() const {return fMathieson->Pitch();}
60 // Get anode cathode Pitch
61 virtual void SetPitch(Float_t p1) {fMathieson->SetPitch(p1);};
62
63 // Set Mathieson parameters
64 // Mathieson \sqrt{Kx3} and derived Kx2 and Kx4
65 // passing pointer to class Mathieson for backward compatibility
66 virtual void SetSqrtKx3AndDeriveKx2Kx4(Float_t SqrtKx3);
67 // Mathieson \sqrt{Kx3}
68 virtual void SetSqrtKx3(Float_t p1) {fMathieson->SetSqrtKx3(p1);};
69 // Mathieson Kx2
70 virtual void SetKx2(Float_t p1) {fMathieson->SetKx2(p1);};
71 // Mathieson Kx4
72 virtual void SetKx4(Float_t p1) {fMathieson->SetKx4(p1);};
73 // Mathieson \sqrt{Ky3} and derived Ky2 and Ky4
74 virtual void SetSqrtKy3AndDeriveKy2Ky4(Float_t SqrtKy3);
75 // Mathieson \sqrt{Ky3}
76 virtual void SetSqrtKy3(Float_t p1) {fMathieson->SetSqrtKy3(p1);};
77 // Mathieson Ky2
78 virtual void SetKy2(Float_t p1) {fMathieson->SetKy2(p1);};
79 // Mathieson Ky4
80 virtual void SetKy4(Float_t p1) {fMathieson->SetKy4(p1);};
81 //
82 // Chamber response methods
83 // Pulse height from scored quantity (eloss)
84 virtual Float_t IntPH(Float_t eloss);
85 // Charge disintegration
86 virtual Float_t IntXY(Int_t idDE, AliMUONGeometrySegmentation* segmentation);
87 // Noise, zero-suppression, adc saturation
88 virtual Int_t DigitResponse(Int_t digit, AliMUONTransientDigit* where);
89
90 virtual Float_t GetAnod(Float_t x) const;
91
92 virtual void DisIntegrate(const AliMUONHit& hit, TList& digits);
93
94 virtual void Print(Option_t* opt="") const;
95
96 protected:
97 AliMUONResponseV0(const AliMUONResponseV0& rhs);
98 AliMUONResponseV0& operator = (const AliMUONResponseV0& rhs);
99
100 Float_t fChargeSlope; // Slope of the charge distribution
101 Float_t fChargeSpreadX; // Width of the charge distribution in x
102 Float_t fChargeSpreadY; // Width of the charge distribution in y
103 Float_t fSigmaIntegration; // Number of sigma's used for charge distribution
104 Int_t fMaxAdc; // Maximum ADC channel
105 Int_t fSaturation; // Pad saturation in ADC channel
106 Int_t fZeroSuppression; // Zero suppression threshold
107 Float_t fChargeCorrel; // amplitude of charge correlation on 2 cathods
108 // is RMS of ln(q1/q2)
109 AliMUONMathieson* fMathieson; // pointer to mathieson fct
110 Float_t fChargeThreshold; // Charges below this threshold are = 0
111
112 ClassDef(AliMUONResponseV0,2) // Implementation of detector response
113};
114
115#endif
116
117
118
119
120
121
122
123
124
125
126