AliRoot Core  3dc7879 (3dc7879)
AliMUONTriggerLut.h
Go to the documentation of this file.
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 
13 // Author: Philippe Crochet
14 
15 #include <TNamed.h>
16 
17 class TH3;
18 class TMap;
19 
20 //----------------------------------------------
21 class AliMUONTriggerLut : public TNamed
22 {
23  public:
24  AliMUONTriggerLut(); // constructor
25  virtual ~AliMUONTriggerLut(); // destructor
26 
27  Int_t Compare(const TObject* object) const;
28 
29  void GetLutOutput(Int_t circuit, Int_t xstrip, Int_t idev, Int_t ystrip,
30  Int_t lutLpt[2], Int_t lutHpt[2]) const;
31 
32  void ReadFromFile(const char* filename);
33 
34  void SetContent(const char* hname, Int_t icirc, UChar_t istripX,
35  UChar_t idev, Short_t value);
36 
37  void SetLutCode(const UChar_t lutCode);
38 
39  void PrintLutCode();
40 
41  private:
42 
46  AliMUONTriggerLut& operator=(const AliMUONTriggerLut& AliMUONTriggerLut);
47 
48  void Add(TH3* h);
49 
50  Int_t Compare(TH3* h1, TH3* h2) const;
51 
52  Int_t GetMask(Int_t ystrip) const;
53 
54  void RegisterHistos();
55 
56 private:
57  TH3 *fLptPlus;
58  TH3 *fLptMinu;
59  TH3 *fLptUnde;
60  TH3 *fHptPlus;
61  TH3 *fHptMinu;
62  TH3 *fHptUnde;
63  TH3 *fAptPlus;
64  TH3 *fAptMinu;
65  TH3 *fAptUnde;
66 
67  TMap* fMap;
68 
69  ClassDef(AliMUONTriggerLut,2) // Trigger Look up Table class
70 
71 };
72 #endif
73 
74 
75 
76 
77 
78 
TH3 * fLptUnde
3-d histogram with 234x32x31 bins Low pt Undefined
TH3 * fAptMinu
3-d histogram with 234x32x31 bins All pt Minus
TH3 * fLptMinu
3-d histogram with 234x32x31 bins Low pt Minus
TH3 * fHptPlus
3-d histogram with 234x32x31 bins High pt Plus
TH3 * fHptMinu
3-d histogram with 234x32x31 bins High pt Minus
TMap * fMap
! from name to histo
void ReadFromFile(const char *filename)
void GetLutOutput(Int_t circuit, Int_t xstrip, Int_t idev, Int_t ystrip, Int_t lutLpt[2], Int_t lutHpt[2]) const
void SetLutCode(const UChar_t lutCode)
TH3 * fLptPlus
3-d histogram with 234x32x31 bins Low pt Plus
AliMUONTriggerLut & operator=(const AliMUONTriggerLut &AliMUONTriggerLut)
Not implemented assignment operator.
Int_t GetMask(Int_t ystrip) const
TH3 * fAptPlus
3-d histogram with 234x32x31 bins All pt Plus
Int_t Compare(const TObject *object) const
void SetContent(const char *hname, Int_t icirc, UChar_t istripX, UChar_t idev, Short_t value)
MUON trigger look up table class.
TH3 * fHptUnde
3-d histogram with 234x32x31 bins High pt Undefined
TH3 * fAptUnde
3-d histogram with 234x32x31 bins All pt Undefined