]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONTriggerLut.h
Code from MUON-dev joined
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerLut.h
1 #ifndef ALIMUONTRIGGERLUT_H
2 #define ALIMUONTRIGGERLUT_H
3
4 #include "TNamed.h"
5 #include "TFile.h"
6 #include "TH3.h"
7 #include <iostream.h>
8
9 //----------------------------------------------
10 class AliMUONTriggerLut : 
11 public TNamed {
12  public: 
13   AliMUONTriggerLut();    // constructor
14   ~AliMUONTriggerLut();   // destructor
15   // copy constructor
16   AliMUONTriggerLut (const AliMUONTriggerLut& AliMUONTriggerLut); 
17   // assignment operator
18   AliMUONTriggerLut& operator=(const AliMUONTriggerLut& AliMUONTriggerLut); 
19
20   void LoadLut();
21   
22   void GetLutOutput(Int_t circuit, Int_t xstrip, Int_t idev, Int_t ystrip, 
23                     Int_t lutLpt[2], Int_t lutHpt[2], Int_t lutApt[2]);
24                 
25  private:
26   Int_t GetMask(Int_t ystrip);
27
28   ClassDef(AliMUONTriggerLut,1) // Trigger Look up Table class
29
30     private:
31   TH3S *fLptPlus; //3-d histogram with 234x32x31 bins Low pt Plus  
32   TH3S *fLptMinu; //3-d histogram with 234x32x31 bins Low pt Minus
33   TH3S *fLptUnde; //3-d histogram with 234x32x31 bins Low pt Undefined
34   TH3S *fHptPlus; //3-d histogram with 234x32x31 bins High pt Plus
35   TH3S *fHptMinu; //3-d histogram with 234x32x31 bins High pt Minus 
36   TH3S *fHptUnde; //3-d histogram with 234x32x31 bins High pt Undefined 
37   TH3S *fAptPlus; //3-d histogram with 234x32x31 bins All pt Plus  
38   TH3S *fAptMinu; //3-d histogram with 234x32x31 bins All pt Minus  
39   TH3S *fAptUnde; //3-d histogram with 234x32x31 bins All pt Undefined    
40
41 };
42 #endif
43
44
45
46
47
48