]> git.uio.no Git - u/mrichter/AliRoot.git/blame - VZERO/AliVZERODataFEE.h
Adding include path to allow compilation of CleanGeom task
[u/mrichter/AliRoot.git] / VZERO / AliVZERODataFEE.h
CommitLineData
a65a7e70 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 */
8class TMap;
9class 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
21class AliVZERODataFEE : public TObject {
22public:
23 //enum {kNAliases=64};
24 AliVZERODataFEE();
25 AliVZERODataFEE(Int_t nRun, UInt_t startTime, UInt_t endTime);
26 virtual ~AliVZERODataFEE();
27
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;}
34
35 void ProcessData(TMap& aliasMap);
36 void Init();
37 void PrintAliases();
38
39 TMap * GetParameters() const {return fParameters;};
40
41 enum { kNCIUBoards = 8, kNCIUParam = 13, kNChannelParam = 8, kNCCIUParam = 19, kNAliases = kNChannelParam*8*kNCIUBoards +kNCIUParam*kNCIUBoards + kNCCIUParam };
42
43private:
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 ClassDef( AliVZERODataFEE, 1 )
59
60};
61
62
63#endif // ALIVZERODATAFEE_H
64