]>
Commit | Line | Data |
---|---|---|
e087fe7f | 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 | ||
30178c30 | 6 | /* $Id$ */ |
7 | // Revision of includes 07/05/2004 | |
8 | ||
692de412 | 9 | /// \ingroup sim |
10 | /// \class AliMUONResponseTriggerV1 | |
11 | /// \brief Implementation of RPC response | |
12 | ||
e087fe7f | 13 | #include "AliMUONResponseTrigger.h" |
4e702a25 | 14 | #include "AliMUONHit.h" |
5438eb54 | 15 | #include "TArrayF.h" |
e087fe7f | 16 | |
53af523e | 17 | class AliMUONResponseTriggerV1 : public AliMUONResponseTrigger |
18 | { | |
19 | public: | |
20 | // default constructor | |
21 | AliMUONResponseTriggerV1(); | |
5438eb54 | 22 | AliMUONResponseTriggerV1(Int_t mode); |
7fc86979 | 23 | virtual ~AliMUONResponseTriggerV1(); |
5438eb54 | 24 | |
53af523e | 25 | // Set the GenerCluster parameter |
26 | virtual Int_t SetGenerCluster(); | |
2a5f75ae | 27 | virtual void DisIntegrate(const AliMUONHit& hit, TList& digits, Float_t timeDif); |
28 | ||
53af523e | 29 | protected: |
5438eb54 | 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 | |
e087fe7f | 34 | |
35 | private: | |
53af523e | 36 | // parametrization of the cluster-size |
5438eb54 | 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; | |
e087fe7f | 41 | |
5438eb54 | 42 | ClassDef(AliMUONResponseTriggerV1,2) // Implementation of RPC response |
e087fe7f | 43 | }; |
44 | #endif |