]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONResponseV0.h
New classes for shuttle (Laurent)
[u/mrichter/AliRoot.git] / MUON / AliMUONResponseV0.h
index efd2ce9b418605d54d37425b37ffb7051121ff7b..2c5d4f78697edb2eea5b154c6cd96481e975b9b3 100644 (file)
@@ -6,13 +6,17 @@
 /* $Id$ */
 // Revision of includes 07/05/2004
 
+/// \ingroup sim
+/// \class AliMUONResponseV0
+/// \brief Implementation of Mathieson response
+
 #include "AliMUONResponse.h"
 #include "AliMUONMathieson.h"
 
 class AliMUONResponseV0 : public AliMUONResponse
 {
  public:
-    AliMUONResponseV0();
+  AliMUONResponseV0();
     virtual ~AliMUONResponseV0();
     //
     // Configuration methods
@@ -77,34 +81,41 @@ class AliMUONResponseV0 : public AliMUONResponse
     //  
     // Chamber response methods
     // Pulse height from scored quantity (eloss)
-    virtual Float_t  IntPH(Float_t eloss);
+    virtual Float_t  IntPH(Float_t eloss) const;
     // Charge disintegration
-    virtual Float_t  IntXY(AliSegmentation * segmentation);
-    virtual Float_t  IntXY(Int_t idDE, AliMUONGeometrySegmentation* segmentation);
+    virtual Float_t  IntXY(Int_t idDE, 
+                          AliMUONGeometrySegmentation* segmentation) const;
     // Noise, zero-suppression, adc saturation
-    virtual Int_t DigitResponse(Int_t digit, AliMUONTransientDigit* where);
-
-    ClassDef(AliMUONResponseV0,1) // Implementation of Mathieson response
+    virtual Int_t DigitResponse(Int_t digit, 
+                               AliMUONTransientDigit* where) const;
+
+    virtual Float_t GetAnod(Float_t x) const;
+    
+    virtual void DisIntegrate(const AliMUONHit& hit, TList& digits);
+    
+    virtual void Print(Option_t* opt="") const;
+     
  protected:
-    Float_t fChargeSlope;              // Slope of the charge distribution
-    Float_t fChargeSpreadX;            // Width of the charge distribution in x
-    Float_t fChargeSpreadY;            // Width of the charge distribution in y
-    Float_t fSigmaIntegration;         // Number of sigma's used for charge distribution
-    Int_t   fMaxAdc;                   // Maximum ADC channel
-    Int_t   fSaturation;               // Pad saturation in ADC channel
-    Int_t   fZeroSuppression;          // Zero suppression threshold
-    Float_t fChargeCorrel;             // amplitude of charge correlation on 2 cathods
-                                       // is RMS of ln(q1/q2)
-    AliMUONMathieson* fMathieson;      // pointer to mathieson fct
-
-/*     Float_t fSqrtKx3;                  // Mathieson Sqrt(Kx3) */
-/*     Float_t fKx2;                      // Mathieson Kx2 */
-/*     Float_t fKx4;                      // Mathieson Kx4 = Kx1/Kx2/Sqrt(Kx3)   */
-/*     Float_t fSqrtKy3;                  // Mathieson Sqrt(Ky3) */
-/*     Float_t fKy2;                      // Mathieson Ky2 */
-/*     Float_t fKy4;                      // Mathieson Ky4 = Ky1/Ky2/Sqrt(Ky3) */
-/*     Float_t fPitch;                    // anode-cathode pitch */
+    Float_t fChargeSlope;              ///< Slope of the charge distribution
+    Float_t fChargeSpreadX;            ///< Width of the charge distribution in x
+    Float_t fChargeSpreadY;            ///< Width of the charge distribution in y
+    Float_t fSigmaIntegration;         ///< Number of sigma's used for charge distribution
+    Int_t   fMaxAdc;                   ///< Maximum ADC channel
+    Int_t   fSaturation;               ///< Pad saturation in ADC channel
+    Int_t   fZeroSuppression;          ///< Zero suppression threshold
+    Float_t fChargeCorrel;             ///< \brief amplitude of charge correlation on 2 cathods
+                                       // is RMS of ln(q1/q2)
+    AliMUONMathieson* fMathieson;      ///< pointer to mathieson fct
+    Float_t fChargeThreshold;          ///< Charges below this threshold are = 0  
+
+  private:
+    AliMUONResponseV0(const AliMUONResponseV0& rhs);
+    AliMUONResponseV0& operator = (const AliMUONResponseV0& rhs);
+
+   
+    ClassDef(AliMUONResponseV0,2) // Implementation of detector response
 };
+
 #endif