]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALTriggerTRUDCSConfig.h
bc696532d56c0e68d6759754d6586cf92d760046
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerTRUDCSConfig.h
1 #ifndef ALIEMCALTRIGGERTRUDCSCONFIG_H
2 #define ALIEMCALTRIGGERTRUDCSCONFIG_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /*
7  
8  
9  
10  
11  Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
12  Author: Jiri Kral, JYU
13 */
14
15 #include "TObject.h"
16
17 class AliEMCALTriggerTRUDCSConfig : public TObject 
18 {
19 public:
20
21         AliEMCALTriggerTRUDCSConfig();
22         virtual ~AliEMCALTriggerTRUDCSConfig() {}
23
24         void    SetSELPF( UInt_t pf)              { fSELPF  = pf; }  
25         void    SetL0SEL( UInt_t la)              { fL0SEL  = la; }  
26         void    SetL0COSM(UInt_t lc)              { fL0COSM = lc; }
27         void    SetGTHRL0(UInt_t lg)              { fGTHRL0 = lg; }
28         void    SetMaskReg(UInt_t msk, Int_t pos) { fMaskReg[pos] = msk; }
29
30         UInt_t   GetSELPF()                       const { return fSELPF;  }
31         UInt_t   GetL0SEL()                       const { return fL0SEL;  }
32         UInt_t   GetL0COSM()                      const { return fL0COSM; }
33         UInt_t   GetGTHRL0()                      const { return fGTHRL0; }
34         UInt_t   GetMaskReg(Int_t pos) const { return fMaskReg[pos]; }
35         
36 protected:
37
38         AliEMCALTriggerTRUDCSConfig(const AliEMCALTriggerTRUDCSConfig &cd);
39         AliEMCALTriggerTRUDCSConfig &operator=(const AliEMCALTriggerTRUDCSConfig &cd);
40
41 private:
42         
43         UInt_t   fSELPF;                         // PeakFinder setup
44         UInt_t   fL0SEL;                         // L0 Algo selection
45         UInt_t   fL0COSM;                        // 2x2
46         UInt_t   fGTHRL0;                        // 4x4
47         UInt_t   fMaskReg[6];                    // 6*16 = 96 mask bits per TRU
48         
49         ClassDef(AliEMCALTriggerTRUDCSConfig,2)  //
50 };
51 #endif