]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONResponseTriggerV1.h
Added documentation about how to operate the Alignment task
[u/mrichter/AliRoot.git] / MUON / AliMUONResponseTriggerV1.h
1 #ifndef ALIMUONRESPONSETRIGGERV1_H
2 #define ALIMUONRESPONSETRIGGERV1_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 AliMUONResponseTriggerV1
11 /// \brief Implementation of RPC response
12
13 #include "AliMUONResponseTrigger.h"
14 #include "AliMUONHit.h"
15 #include "TArrayF.h"
16
17 class AliMUONResponseTriggerV1 : public AliMUONResponseTrigger 
18 {
19   public:
20     // default constructor
21     AliMUONResponseTriggerV1();
22     AliMUONResponseTriggerV1(Int_t mode);
23     virtual ~AliMUONResponseTriggerV1();
24     
25     // Set the GenerCluster parameter       
26     virtual Int_t SetGenerCluster();
27     virtual void DisIntegrate(const AliMUONHit& hit, TList& digits, Float_t timeDif);
28     
29   protected:
30     Float_t fGenerCluster;   ///< Random number
31     TArrayF fHVvalues;       ///< Array containing HV values
32     TArrayF fBValues;        ///< Array containing b parameters
33     Int_t fWorkCondition;    ///< 1=streamer - 2=avalanche
34
35   private:
36     // parametrization of the cluster-size
37     void SetHV();
38     void SetBValues();
39     Float_t FireStripProb(Float_t x4, Float_t theta,Int_t rpc,Int_t plane,Int_t cath) const;
40     void Neighbours(const Int_t cath, const Int_t iX, const Int_t iY, Int_t Xlist[30], Int_t Ylist[30]) const;
41     
42   ClassDef(AliMUONResponseTriggerV1,2) // Implementation of RPC response
43 };
44 #endif