4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
8 #include <TClonesArray.h>
12 // fetching T0 data points from DCS, calculating mean values for the run
13 // and storing the result to Reference DB
15 class AliT0DataDCS : public TObject {
20 AliT0DataDCS(Int_t nRun, UInt_t startTime, UInt_t endTime);
23 void SetRun(Int_t run) {fRun = run;}
24 void SetStartTime(Int_t startTime) {fStartTime = startTime;}
25 void SetEndTime(Int_t endTime) {fEndTime = endTime;}
26 Int_t GetRun() const {return fRun;}
27 Int_t GetStartTime() const {return fStartTime;}
28 Int_t GetEndTime() const {return fEndTime;}
30 Bool_t ProcessData(TMap& aliasMap);
34 void Introduce(UInt_t numAlias, const TObjArray* aliasArr);
36 Int_t fRun; // Run number
37 UInt_t fStartTime; // Start time
38 UInt_t fEndTime; // End time
39 Float_t fScalerMean[32]; // Mean value of T0 scaler counts from the entire run
40 TString fAliasNames[kNAliases]; // T0 data points aliases
41 Bool_t fIsProcessed; // status - was processing data successful
42 ClassDef(AliT0DataDCS, 2);