]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONTriggerLut.h
Adding handling of Capacitances (Laurent)
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerLut.h
1 #ifndef ALIMUONTRIGGERLUT_H
2 #define ALIMUONTRIGGERLUT_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 base
10 /// \class AliMUONTriggerLut
11 /// \brief MUON trigger look up table class 
12 ///
13 /// \author Philippe Crochet
14
15 #include <TNamed.h>
16
17 class TH3;
18
19 //----------------------------------------------
20 class AliMUONTriggerLut : public TNamed 
21 {
22  public: 
23   AliMUONTriggerLut();    // constructor
24   virtual ~AliMUONTriggerLut();   // destructor
25
26   void ReadFromFile(const char* filename);
27   
28   void GetLutOutput(Int_t circuit, Int_t xstrip, Int_t idev, Int_t ystrip, 
29                     Int_t lutLpt[2], Int_t lutHpt[2]);
30
31  private:
32   /// Not implemented copy constructor
33   AliMUONTriggerLut (const AliMUONTriggerLut& AliMUONTriggerLut);
34   /// Not implemented assignment operator
35   AliMUONTriggerLut& operator=(const AliMUONTriggerLut& AliMUONTriggerLut); 
36
37   Int_t GetMask(Int_t ystrip);
38
39 private:
40   TH3 *fLptPlus; ///< 3-d histogram with 234x32x31 bins Low pt Plus  
41   TH3 *fLptMinu; ///< 3-d histogram with 234x32x31 bins Low pt Minus
42   TH3 *fLptUnde; ///< 3-d histogram with 234x32x31 bins Low pt Undefined
43   TH3 *fHptPlus; ///< 3-d histogram with 234x32x31 bins High pt Plus
44   TH3 *fHptMinu; ///< 3-d histogram with 234x32x31 bins High pt Minus 
45   TH3 *fHptUnde; ///< 3-d histogram with 234x32x31 bins High pt Undefined 
46   TH3 *fAptPlus; ///< 3-d histogram with 234x32x31 bins All pt Plus  
47   TH3 *fAptMinu; ///< 3-d histogram with 234x32x31 bins All pt Minus  
48   TH3 *fAptUnde; ///< 3-d histogram with 234x32x31 bins All pt Undefined    
49
50   ClassDef(AliMUONTriggerLut,1) // Trigger Look up Table class
51
52 };
53 #endif
54
55
56
57
58
59