LCOV - code coverage report
Current view: top level - EMCAL/EMCALbase - AliEMCALTriggerTRUDCSConfig.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 8 16 50.0 %
Date: 2016-06-14 17:26:59 Functions: 11 22 50.0 %

          Line data    Source code
       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          12 :         virtual ~AliEMCALTriggerTRUDCSConfig() {}
      23             : 
      24           0 :         void    SetSELPF(  UInt_t pf)              { fSELPF  = pf;        }
      25           0 :         void    SetL0SEL(  UInt_t la)              { fL0SEL  = la;        }
      26           0 :         void    SetL0COSM( UInt_t lc)              { fL0COSM = lc;        }
      27           0 :         void    SetGTHRL0( UInt_t lg)              { fGTHRL0 = lg;        }
      28           0 :         void    SetMaskReg(UInt_t msk, Int_t pos)  { fMaskReg[pos] = msk; }
      29           0 :         void    SetRLBKSTU(UInt_t rb)              { fRLBKSTU = rb;       }
      30           0 :         void    SetFw(     UInt_t fw)              { fFw = fw;            }
      31             :                         
      32          28 :         UInt_t   GetSELPF()                       const { return fSELPF;        }
      33         120 :         UInt_t   GetL0SEL()                       const { return fL0SEL;        }
      34           0 :         UInt_t   GetL0COSM()                      const { return fL0COSM;       }
      35       25116 :         UInt_t   GetGTHRL0()                      const { return fGTHRL0;       }
      36         458 :         UInt_t   GetMaskReg(Int_t pos)            const { return fMaskReg[pos]; }
      37         240 :         UInt_t   GetRLBKSTU()                     const { return fRLBKSTU;      }
      38          28 :         UInt_t   GetFw()                          const { return fFw;           }
      39             :         
      40             :         Int_t    GetSegmentation();
      41             :         
      42             : protected:
      43             : 
      44             :         AliEMCALTriggerTRUDCSConfig(const AliEMCALTriggerTRUDCSConfig &cd);
      45             :         AliEMCALTriggerTRUDCSConfig &operator=(const AliEMCALTriggerTRUDCSConfig &cd);
      46             : 
      47             : private:
      48             :         
      49             :         UInt_t   fSELPF;                         // PeakFinder setup
      50             :         UInt_t   fL0SEL;                         // L0 Algo selection
      51             :         UInt_t   fL0COSM;                        // 2x2
      52             :         UInt_t   fGTHRL0;                        // 4x4
      53             :         UInt_t   fMaskReg[6];                    // 6*16 = 96 mask bits per TRU
      54             :         UInt_t   fRLBKSTU;                       // TRU circular buffer rollback
      55             :         UInt_t   fFw;                            // TRU fw version
      56             :         
      57         174 :         ClassDef(AliEMCALTriggerTRUDCSConfig,4)  //
      58             : };
      59             : #endif

Generated by: LCOV version 1.11