Removal of warnings and compliance with ALICE coding conventions (Raphaƫl)
[u/mrichter/AliRoot.git] / VZERO / AliVZERODataFEE.h
CommitLineData
e370cdfe 1#ifndef ALIVZERODATAFEE_H\r
2#define ALIVZERODATAFEE_H\r
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights\r
4 * reserved. \r
5 *\r
6 * See cxx source for full Copyright notice \r
7 */\r
8class TMap;\r
9class TString;\r
10\r
11#include <TObject.h>\r
12\r
13//\r
14// Class AliVZERODataFEE\r
15// ---------------------\r
16// Used to process the TMap of DCS values comming from the shuttle.\r
17// It stores into a TMap the FEE parameters for the given run number\r
18//\r
19\r
20\r
21class AliVZERODataFEE : public TObject {\r
22public:\r
23 //enum {kNAliases=64};\r
24 AliVZERODataFEE();\r
25 AliVZERODataFEE(Int_t nRun, UInt_t startTime, UInt_t endTime);\r
26 virtual ~AliVZERODataFEE();\r
27 \r
28 void SetRun(Int_t run) {fRun = run;}\r
29 void SetStartTime(Int_t startTime) {fStartTime = startTime;}\r
30 void SetEndTime(Int_t endTime) {fEndTime = endTime;}\r
31 Int_t GetRun() const {return fRun;}\r
32 Int_t GetStartTime() const {return fStartTime;}\r
33 Int_t GetEndTime() const {return fEndTime;}\r
34\r
35 void ProcessData(TMap& aliasMap);\r
36 void Init();\r
37 void PrintAliases();\r
38 \r
39 TMap * GetParameters() const {return fParameters;};\r
40 \r
41 enum { kNCIUBoards = 8, kNCIUParam = 13, kNChannelParam = 8, kNCCIUParam = 19, kNAliases = kNChannelParam*8*kNCIUBoards +kNCIUParam*kNCIUBoards + kNCCIUParam };\r
42\r
43private:\r
44 \r
45 AliVZERODataFEE(const AliVZERODataFEE & /*dataFEE*/); // Not implemented\r
46 AliVZERODataFEE& operator= (const AliVZERODataFEE &/*dataFEE*/); // Not implemented\r
47\r
48 Int_t fRun; // Run number\r
49 Int_t fStartTime; // Start time\r
50 Int_t fEndTime; // End time\r
51 TString fAliasNames[kNAliases]; // aliases for DCS data\r
52 Bool_t fIsProcessed; // bool to know processing status\r
53 TMap * fParameters; // TMap holding the FEE parameters\r
54\r
55 TString GetFEEParamName(Int_t iParam);\r
56 \r
57 \r
58 ClassDef( AliVZERODataFEE, 1 ) \r
59 \r
60};\r
61\r
62\r
63#endif // ALIVZERODATAFEE_H\r
64\r