]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALTriggerTRUDCSConfig.h
Correct coverity FORWARD_NULL
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerTRUDCSConfig.h
CommitLineData
fff39dd1 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*/
13
14#include "TObject.h"
15
16class AliEMCALTriggerTRUDCSConfig : public TObject
17{
18public:
19
20 AliEMCALTriggerTRUDCSConfig();
21 virtual ~AliEMCALTriggerTRUDCSConfig() {}
22
23 void SetSELPF( Int_t pf) { fSELPF = pf; }
24 void SetL0SEL( Int_t la) { fL0SEL = la; }
25 void SetL0COSM(Int_t lc) { fL0COSM = lc; }
26 void SetGTHRL0(Int_t lg) { fGTHRL0 = lg; }
27 void SetMaskReg(Int_t arr[], Int_t n) { for (Int_t i=0;i<n;i++) fMaskReg[i] = arr[i]; }
28
29 Int_t GetSELPF() const { return fSELPF; }
30 Int_t GetL0SEL() const { return fL0SEL; }
31 Int_t GetL0COSM() const { return fL0COSM; }
32 Int_t GetGTHRL0() const { return fGTHRL0; }
33 void GetMaskReg(Int_t arr[], Int_t n) const { for (Int_t i=0;i<n;i++) arr[i] = fMaskReg[i]; }
34
35protected:
36
37 AliEMCALTriggerTRUDCSConfig(const AliEMCALTriggerTRUDCSConfig &cd);
38 AliEMCALTriggerTRUDCSConfig &operator=(const AliEMCALTriggerTRUDCSConfig &cd);
39
40private:
41
42 Int_t fSELPF; //
43 Int_t fL0SEL; //
44 Int_t fL0COSM; //
45 Int_t fGTHRL0; //
46 Int_t fMaskReg[5]; //
47
48 ClassDef(AliEMCALTriggerTRUDCSConfig,1) //
49};
50#endif