AliRoot Core  3dc7879 (3dc7879)
AliMUONResponseV0.h
Go to the documentation of this file.
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 
12 
13 #include "AliMUONResponse.h"
14 #include "AliMUONMathieson.h"
15 
17 {
18  public:
22  virtual ~AliMUONResponseV0();
23 
24  //
25  // Configuration methods
26  //
28  virtual void SetSigmaIntegration(Float_t p1) {fSigmaIntegration=p1;}
30  virtual Float_t SigmaIntegration() const {return fSigmaIntegration;}
32  virtual void SetChargeSlope(Float_t p1) {fChargeSlope=p1;}
34  virtual Float_t ChargeSlope() const {return fChargeSlope;}
36  virtual void SetChargeSpread(Float_t p1, Float_t p2)
39  virtual Float_t ChargeSpreadX() const {return fChargeSpreadX;}
41  virtual Float_t ChargeSpreadY() const {return fChargeSpreadY;}
43  virtual void SetMaxAdc(Int_t p1) {fMaxAdc=p1;}
45  virtual void SetSaturation(Int_t p1) {fSaturation=p1;}
47  virtual void SetZeroSuppression(Int_t p1) {fZeroSuppression=p1;}
49  virtual Int_t MaxAdc() const {return fMaxAdc;}
51  virtual Int_t Saturation() const {return fSaturation;}
52 
54  virtual Int_t ZeroSuppression() const {return fZeroSuppression;}
56  virtual void SetChargeCorrel(Float_t correl){fChargeCorrel = correl;}
58  virtual Float_t ChargeCorrel() const {return fChargeCorrel;}
59 
60 
62  virtual Float_t Pitch() const {return fMathieson->Pitch();}
64  virtual void SetPitch(Float_t p1) {fMathieson->SetPitch(p1);};
65 
69  virtual void SetSqrtKx3AndDeriveKx2Kx4(Float_t SqrtKx3);
71  virtual void SetSqrtKx3(Float_t p1) {fMathieson->SetSqrtKx3(p1);};
73  virtual void SetKx2(Float_t p1) {fMathieson->SetKx2(p1);};
75  virtual void SetKx4(Float_t p1) {fMathieson->SetKx4(p1);};
77  virtual void SetSqrtKy3AndDeriveKy2Ky4(Float_t SqrtKy3);
79  virtual void SetSqrtKy3(Float_t p1) {fMathieson->SetSqrtKy3(p1);};
81  virtual void SetKy2(Float_t p1) {fMathieson->SetKy2(p1);};
83  virtual void SetKy4(Float_t p1) {fMathieson->SetKy4(p1);};
84  //
85  // Chamber response methods
86  // Pulse height from scored quantity (eloss)
87  virtual Float_t IntPH(Float_t eloss) const;
88 
90  virtual void SetTailEffect(Bool_t isTail) {fIsTailEffect=isTail;}
91 
92  virtual Float_t GetAnod(Float_t x) const;
93 
94  virtual void DisIntegrate(const AliMUONHit& hit, TList& digits, Float_t timeDif);
95 
96  virtual void Print(Option_t* opt="") const;
97 
98 private:
99  void CopyTo(AliMUONResponseV0& other) const;
100 
101 private:
102 
103  Float_t fChargeSlope;
104  Float_t fChargeSpreadX;
105  Float_t fChargeSpreadY;
107  Int_t fMaxAdc;
108  Int_t fSaturation;
110  Float_t fChargeCorrel;
114  Bool_t fIsTailEffect;
115 
116 
117  ClassDef(AliMUONResponseV0,2) // Implementation of detector response
118 };
119 
120 #endif
121 
122 
123 
124 
125 
126 
127 
128 
129 
130 
131 
virtual Float_t ChargeSpreadX() const
Get sigma_X of the charge spread function.
virtual Float_t Pitch() const
Set anode cathode Pitch.
void SetSqrtKx3(Float_t p1)
Mathieson sqrt{Kx3}.
virtual void SetTailEffect(Bool_t isTail)
Parametrised tail effect in resolution histogram.
virtual void SetKy4(Float_t p1)
Mathieson Ky4.
Int_t fZeroSuppression
Zero suppression threshold.
virtual void SetSqrtKx3(Float_t p1)
Mathieson sqrt{Kx3}.
Float_t fChargeSpreadY
Width of the charge distribution in y.
virtual Float_t ChargeSpreadY() const
Get sigma_Y of the charge spread function.
Float_t Pitch() const
Get anode cathode Pitch.
void SetKx2(Float_t p1)
Mathieson Kx2.
Implementation of Mathieson response.
virtual Float_t ChargeSlope() const
Get Set single electron pulse height (ADCcounts/e)
Float_t fChargeThreshold
Charges below this threshold are = 0.
void SetKy2(Float_t p1)
Mathieson Ky2.
virtual void SetSqrtKy3AndDeriveKy2Ky4(Float_t SqrtKy3)
Mathieson sqrt{Ky3} and derived Ky2 and Ky4.
virtual void SetPitch(Float_t p1)
Get anode cathode Pitch.
Float_t fChargeSpreadX
Width of the charge distribution in x.
Int_t fSaturation
Pad saturation in ADC channel.
virtual void SetKy2(Float_t p1)
Mathieson Ky2.
virtual Int_t MaxAdc() const
Get maximum Adc-count value.
virtual Float_t ChargeCorrel() const
Get the charge correlation.
Float_t fChargeCorrel
amplitude of charge correlation on 2 cathods is RMS of ln(q1/q2)
virtual void SetZeroSuppression(Int_t p1)
Set zero suppression threshold.
Float_t fSigmaIntegration
Number of sigma's used for charge distribution.
virtual void Print(Option_t *opt="") const
virtual void SetSigmaIntegration(Float_t p1)
Set number of sigmas over which cluster didintegration is performed.
virtual Float_t GetAnod(Float_t x) const
AliMUONMathieson * fMathieson
pointer to mathieson fct
void CopyTo(AliMUONResponseV0 &other) const
virtual void SetMaxAdc(Int_t p1)
Set maximum Adc-count value.
Float_t fChargeSlope
Slope of the charge distribution.
Bool_t fIsTailEffect
switch to turn on/off the tail effect
void SetPitch(Float_t p1)
Int_t fMaxAdc
Maximum ADC channel.
Implementation of Mathieson response.
virtual void SetChargeSlope(Float_t p1)
Set single electron pulse height (ADCcounts/e)
virtual void SetSqrtKy3(Float_t p1)
Mathieson sqrt{Ky3}.
void SetSqrtKy3(Float_t p1)
Mathieson sqrt{Ky3}.
virtual void SetSqrtKx3AndDeriveKx2Kx4(Float_t SqrtKx3)
void SetKx4(Float_t p1)
Mathieson Kx4.
Chamber response base class.
virtual Float_t IntPH(Float_t eloss) const
Pulse height from scored quantity (eloss) (dummy)
MonteCarlo hit.
Definition: AliMUONHit.h:24
virtual void DisIntegrate(const AliMUONHit &hit, TList &digits, Float_t timeDif)
virtual void SetSaturation(Int_t p1)
Set saturation value.
virtual Int_t ZeroSuppression() const
Get zero suppression threshold.
virtual void SetKx2(Float_t p1)
Mathieson Kx2.
virtual void SetChargeCorrel(Float_t correl)
Set the charge correlation.
virtual Float_t SigmaIntegration() const
Get number of sigmas over which cluster didintegration is performed.
AliMUONResponseV0 & operator=(const AliMUONResponseV0 &rhs)
virtual void SetKx4(Float_t p1)
Mathieson Kx4.
virtual Int_t Saturation() const
Get saturation value.
void SetKy4(Float_t p1)
Mathieson Ky4.
virtual void SetChargeSpread(Float_t p1, Float_t p2)
Set sigmas of the charge spread function.