]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONResponseV0.h
RAW QA only for calibration events
[u/mrichter/AliRoot.git] / MUON / AliMUONResponseV0.h
index 1ec6dced21c77344ba9000ab049266cf1ba370bf..6575f7f97971b6276bdd3b9f4c41362ee214132c 100644 (file)
@@ -17,8 +17,11 @@ class AliMUONResponseV0 : public AliMUONResponse
 {
  public:
   AliMUONResponseV0();
-    virtual ~AliMUONResponseV0();
-    //
+  AliMUONResponseV0(const AliMUONResponseV0& rhs);
+  AliMUONResponseV0& operator = (const AliMUONResponseV0& rhs);
+  virtual ~AliMUONResponseV0();
+  
+  //
     // Configuration methods
     //
     /// Set number of sigmas over which cluster didintegration is performed
@@ -61,18 +64,18 @@ class AliMUONResponseV0 : public AliMUONResponse
     virtual void    SetPitch(Float_t p1)    {fMathieson->SetPitch(p1);};
 
     /// Set Mathieson parameters
-    /// Mathieson \sqrt{Kx3} and derived Kx2 and Kx4 
+    /// Mathieson sqrt{Kx3} and derived Kx2 and Kx4 
     /// passing pointer to class Mathieson for backward compatibility
     virtual void    SetSqrtKx3AndDeriveKx2Kx4(Float_t SqrtKx3);
-    /// Mathieson \sqrt{Kx3}
+    /// Mathieson sqrt{Kx3}
     virtual void    SetSqrtKx3(Float_t p1) {fMathieson->SetSqrtKx3(p1);};
     /// Mathieson Kx2
     virtual void    SetKx2(Float_t p1)     {fMathieson->SetKx2(p1);};
     /// Mathieson Kx4
     virtual void    SetKx4(Float_t p1)     {fMathieson->SetKx4(p1);};
-    /// Mathieson \sqrt{Ky3} and derived Ky2 and Ky4
+    /// Mathieson sqrt{Ky3} and derived Ky2 and Ky4
     virtual void SetSqrtKy3AndDeriveKy2Ky4(Float_t SqrtKy3);
-    /// Mathieson \sqrt{Ky3}
+    /// Mathieson sqrt{Ky3}
     virtual void    SetSqrtKy3(Float_t p1) {fMathieson->SetSqrtKy3(p1);};
     /// Mathieson Ky2
     virtual void    SetKy2(Float_t p1)     {fMathieson->SetKy2(p1);};
@@ -82,17 +85,21 @@ class AliMUONResponseV0 : public AliMUONResponse
     // Chamber response methods
     // Pulse height from scored quantity (eloss)
     virtual Float_t  IntPH(Float_t eloss) const;
-    // Charge disintegration
-    virtual Float_t  IntXY(Int_t idDE, 
-                          AliMUONGeometrySegmentation* segmentation) const;
 
+    /// Parametrised tail effect in resolution histogram
+    virtual void    SetTailEffect(Bool_t isTail) {fIsTailEffect=isTail;}
+    
     virtual Float_t GetAnod(Float_t x) const;
     
     virtual void DisIntegrate(const AliMUONHit& hit, TList& digits);
     
     virtual void Print(Option_t* opt="") const;
-     
- protected:
+  
+private:
+    void CopyTo(AliMUONResponseV0& other) const;
+    
+private:
+   
     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
@@ -104,12 +111,9 @@ class AliMUONResponseV0 : public AliMUONResponse
                                        ///  is RMS of ln(q1/q2)
     AliMUONMathieson* fMathieson;      ///< pointer to mathieson fct
     Float_t fChargeThreshold;          ///< Charges below this threshold are = 0  
+    Bool_t   fIsTailEffect;            ///< switch to turn on/off the tail effect
+      
 
-  private:
-    AliMUONResponseV0(const AliMUONResponseV0& rhs);
-    AliMUONResponseV0& operator = (const AliMUONResponseV0& rhs);
-
-   
     ClassDef(AliMUONResponseV0,2) // Implementation of detector response
 };