Updated version.
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerDCSConfig.h
CommitLineData
fff39dd1 1#ifndef ALIEMCALTRIGGERDCSCONFIG_H
2#define ALIEMCALTRIGGERDCSCONFIG_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
11Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
12*/
13
14#include "TObject.h"
15#include "TClonesArray.h"
16
17class AliEMCALTriggerSTUDCSConfig;
18class AliEMCALTriggerTRUDCSConfig;
19
20class AliEMCALTriggerDCSConfig : public TObject
21{
22public:
23
24 AliEMCALTriggerDCSConfig();
25 virtual ~AliEMCALTriggerDCSConfig();
26
27 void SetTRUArr(TClonesArray* const ta) { fTRUArr = ta; }
28 void SetSTUObj(AliEMCALTriggerSTUDCSConfig* so) { fSTUObj = so; }
29
30 TClonesArray* GetTRUArr() const { return fTRUArr; }
31 AliEMCALTriggerSTUDCSConfig* GetSTUDCSConfig( ) const { return (AliEMCALTriggerSTUDCSConfig*)fSTUObj; }
32 AliEMCALTriggerTRUDCSConfig* GetTRUDCSConfig(Int_t iTRU) const { return (AliEMCALTriggerTRUDCSConfig*)fTRUArr->At(iTRU); }
33
34private:
35
36 AliEMCALTriggerDCSConfig(const AliEMCALTriggerDCSConfig &cd); // Not implemented
37 AliEMCALTriggerDCSConfig &operator=(const AliEMCALTriggerDCSConfig &cd); // Not implemented
38
39 TClonesArray* fTRUArr; //
40 AliEMCALTriggerSTUDCSConfig* fSTUObj; //
41
42 ClassDef(AliEMCALTriggerDCSConfig,1) //
43};
44#endif
45