X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=T0%2FAliT0DataDCS.h;h=b8b6a5cd84638173e7181529c67322d96e1f5162;hp=84bac79559e9c445e593f78afc1700d456a9af6d;hb=5ebd79a85bb4d972ed19f200c05765fc7e342afb;hpb=970bb0d0cfc306652aadf98e36647c4fbe275e03 diff --git a/T0/AliT0DataDCS.h b/T0/AliT0DataDCS.h index 84bac79559e..b8b6a5cd846 100644 --- a/T0/AliT0DataDCS.h +++ b/T0/AliT0DataDCS.h @@ -1,57 +1,118 @@ -#ifndef AliT0DataDCS_H -#define AliT0DataDCS_H +#ifndef ALIT0DATADCS_H +#define ALIT0DATADCS_H + +/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * + * See cxx source for full Copyright notice */ #include -#include -#include -#include -#include +//#include +//#include +#include +class TString; + +// AliT0DataDCS class +// fetching T0 data points from DCS, calculating mean values for the run +// and storing the result to Reference DB class AliT0DataDCS : public TObject { public: - enum {kNAliases=6}; - + enum {kNAliases=201, kHV=12, kLV=2, kCFD=12, kScalers=32, kTRM=20, kDRM=5, kAtten=1}; // 201 T0 aliases AliT0DataDCS(); - AliT0DataDCS(Int_t nRun, UInt_t startTime, UInt_t endTime); - ~AliT0DataDCS(); + AliT0DataDCS(Int_t nRun, UInt_t startTime, UInt_t endTime, UInt_t startTimeDCSQuery, UInt_t endTimeDCSQuery); + AliT0DataDCS(const AliT0DataDCS & data); + AliT0DataDCS& operator=(const AliT0DataDCS & data); + ~AliT0DataDCS(); void SetRun(Int_t run) {fRun = run;} void SetStartTime(Int_t startTime) {fStartTime = startTime;} void SetEndTime(Int_t endTime) {fEndTime = endTime;} - Int_t GetRun() {return fRun;} - Int_t GetStartTime() {return fStartTime;} - Int_t GetEndTime() {return fEndTime;} + void SetStartTimeDCSQuery(Int_t startTimeDCSQuery) {fStartTimeDCSQuery = startTimeDCSQuery;} + void SetEndTimeDCSQuery(Int_t endTimeDCSQuery) {fEndTimeDCSQuery = endTimeDCSQuery;} - Bool_t ProcessData(TMap& aliasMap); - //const char* GetAliasName(UInt_t pos) - // {return pos