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