1 #ifndef ALIVZERODATAFEE_H
2 #define ALIVZERODATAFEE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
6 * See cxx source for full Copyright notice
14 // Class AliVZERODataFEE
15 // ---------------------
16 // Used to process the TMap of DCS values comming from the shuttle.
17 // It stores into a TMap the FEE parameters for the given run number
21 class AliVZERODataFEE : public TObject {
23 //enum {kNAliases=64};
25 AliVZERODataFEE(Int_t nRun, UInt_t startTime, UInt_t endTime);
26 virtual ~AliVZERODataFEE();
28 void SetRun(Int_t run) {fRun = run;}
29 void SetStartTime(Int_t startTime) {fStartTime = startTime;}
30 void SetEndTime(Int_t endTime) {fEndTime = endTime;}
31 Int_t GetRun() const {return fRun;}
32 Int_t GetStartTime() const {return fStartTime;}
33 Int_t GetEndTime() const {return fEndTime;}
35 void ProcessData(TMap& aliasMap);
39 TMap * GetParameters() const {return fParameters;};
41 enum { kNCIUBoards = 8, kNCIUParam = 13, kNChannelParam = 8, kNCCIUParam = 19, kNAliases = kNChannelParam*8*kNCIUBoards +kNCIUParam*kNCIUBoards + kNCCIUParam };
45 AliVZERODataFEE(const AliVZERODataFEE & /*dataFEE*/); // Not implemented
46 AliVZERODataFEE& operator= (const AliVZERODataFEE &/*dataFEE*/); // Not implemented
48 Int_t fRun; // Run number
49 Int_t fStartTime; // Start time
50 Int_t fEndTime; // End time
51 TString fAliasNames[kNAliases]; // aliases for DCS data
52 Bool_t fIsProcessed; // bool to know processing status
53 TMap * fParameters; // TMap holding the FEE parameters
55 TString GetFEEParamName(Int_t iParam);
58 ClassDef( AliVZERODataFEE, 1 )
63 #endif // ALIVZERODATAFEE_H