Line data Source code
1 : #ifndef ALIVZERODATAFEE_H
2 : #define ALIVZERODATAFEE_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
4 : * reserved.
5 : *
6 : * See cxx source for full Copyright notice
7 : */
8 : class TMap;
9 : class TString;
10 :
11 : #include <TObject.h>
12 :
13 : //
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
18 : //
19 :
20 :
21 : class AliVZERODataFEE : public TObject {
22 : public:
23 : //enum {kNAliases=64};
24 : AliVZERODataFEE();
25 : AliVZERODataFEE(Int_t nRun, UInt_t startTime, UInt_t endTime);
26 : virtual ~AliVZERODataFEE();
27 :
28 0 : void SetRun(Int_t run) {fRun = run;}
29 0 : void SetStartTime(Int_t startTime) {fStartTime = startTime;}
30 0 : void SetEndTime(Int_t endTime) {fEndTime = endTime;}
31 0 : Int_t GetRun() const {return fRun;}
32 0 : Int_t GetStartTime() const {return fStartTime;}
33 0 : Int_t GetEndTime() const {return fEndTime;}
34 :
35 : void ProcessData(TMap& aliasMap);
36 : void Init();
37 : void PrintAliases();
38 :
39 0 : TMap * GetParameters() const {return fParameters;};
40 :
41 : enum { kNCIUBoards = 8, kNCIUParam = 13, kNChannelParam = 8, kNCCIUParam = 19, kNAliases = kNChannelParam*8*kNCIUBoards +kNCIUParam*kNCIUBoards + kNCCIUParam };
42 :
43 : private:
44 :
45 : AliVZERODataFEE(const AliVZERODataFEE & /*dataFEE*/); // Not implemented
46 : AliVZERODataFEE& operator= (const AliVZERODataFEE &/*dataFEE*/); // Not implemented
47 :
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
54 :
55 : TString GetFEEParamName(Int_t iParam);
56 :
57 :
58 44 : ClassDef( AliVZERODataFEE, 1 )
59 :
60 : };
61 :
62 :
63 : #endif // ALIVZERODATAFEE_H
64 :
|