]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONResponseTriggerV1.h
- Update thresholds with online values
[u/mrichter/AliRoot.git] / MUON / AliMUONResponseTriggerV1.h
index 15011f0336e9d3c6efa0d6e0103969b27bb3babf..74761bed9dbec3083e97b55556a26a1f4d50dfe9 100644 (file)
@@ -3,34 +3,44 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                                */
 
-#include "AliMUONResponseTrigger.h"
+/* $Id$ */
+// Revision of includes 07/05/2004
 
-class AliMUONResponseTriggerV1 : 
-public AliMUONResponseTrigger {
-public:
-  // default constructor
-  AliMUONResponseTriggerV1();
-  AliMUONResponseTriggerV1(Float_t hv);
-  virtual ~AliMUONResponseTriggerV1(){} 
-  // Charge disintegration
-  virtual Float_t  IntXY(AliSegmentation * segmentation);
+/// \ingroup sim
+/// \class AliMUONResponseTriggerV1
+/// \brief Implementation of RPC response
 
-  // Set the GenerCluster parameter       
-  virtual Int_t SetGenerCluster();
+#include "AliMUONResponseTrigger.h"
+#include "AliMUONHit.h"
+
+class AliMUONResponseTriggerV1 : public AliMUONResponseTrigger 
+{
+  public:
+    // default constructor
+    AliMUONResponseTriggerV1();
+    AliMUONResponseTriggerV1(Float_t hv);
+    virtual ~AliMUONResponseTriggerV1();
+
+    // Set the GenerCluster parameter       
+    virtual Int_t SetGenerCluster();
+    
+    virtual void DisIntegrate(const AliMUONHit& hit, TList& digits, Float_t timeDif);
+    
+  protected:
+    Float_t fGenerCluster;   ///< Random number  
+    Float_t fA;              ///< first parameter  of the cluster-size param
+    Float_t fB;              ///< second parameter of the cluster-size param
+    Float_t fC;              ///< third parameter  of the cluster-size param
 
   private:
-  // initialize parameters
-  void SetParameters(Float_t hv);
-  // parametrization of the cluster-size
-  Float_t FireStripProb(Float_t x4, Float_t theta);
-
+    // initialize parameters
+    void SetParameters(Float_t hv);
+    // parametrization of the cluster-size
+    Float_t FireStripProb(Float_t x4, Float_t theta) const;
+    void Neighbours(const Int_t cath, const Int_t iX, const Int_t iY, Int_t Xlist[10], Int_t Ylist[10]) const;
+    
   ClassDef(AliMUONResponseTriggerV1,1) // Implementation of RPC response
     
-    protected:
-  Float_t fGenerCluster;   // Random number  
-  Float_t fA;              // first parameter  of the cluster-size param
-  Float_t fB;              // second parameter of the cluster-size param
-  Float_t fC;              // third parameter  of the cluster-size param
 };
 #endif