X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TOF%2FAliTOFDataDCS.h;h=d18fb8f8102398ce084a8473a687478b2cf5ebca;hb=adf00ba689f8326e35cafc7041c5a197099400c0;hp=cf0d17fd4b83d5d24072eb0833efb70264d079c8;hpb=7fffa85b3d69d7993e3bfb8aff0730087a62e984;p=u%2Fmrichter%2FAliRoot.git diff --git a/TOF/AliTOFDataDCS.h b/TOF/AliTOFDataDCS.h index cf0d17fd4b8..d18fb8f8102 100644 --- a/TOF/AliTOFDataDCS.h +++ b/TOF/AliTOFDataDCS.h @@ -1,35 +1,28 @@ -#ifndef AliTOFDataDCS_H -#define AliTOFDataDCS_H +#ifndef ALITOFDATADCS_H +#define ALITOFDATADCS_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ +// AliTOFDataDCS class +// main aim is to process DCS data +// in order to obtain the data to be stored in the OCDB + #include "TObject.h" -#include "TString.h" class TMap; class TClonesArray; -class TH2F; -class TGraph; -class TF1; -//class TString; +class TString; class AliTOFFormatDCS; -// AliTOFDataDCS class -// main aim is to process DCS data -// in order to obtain the data to be stored in the OCDB - class AliTOFDataDCS : public TObject { public: - enum {kNAliases=10944, kNHV=90, kNLV=792, - kNLV33=72, kNLV50=72, kNLV48=72, - kNFEEthr=1152, kNFEEtfeac=576, kNFEEttrm=6840, - kNFunctions=0}; + enum {kNAliases=360, kNHV=90}; AliTOFDataDCS(); - AliTOFDataDCS(Int_t nRun, UInt_t startTime, UInt_t endTime); + AliTOFDataDCS(Int_t nRun, UInt_t startTime, UInt_t endTime, UInt_t startTimeDCSQuery, UInt_t endTimeDCSQuery ); AliTOFDataDCS(const AliTOFDataDCS & data); AliTOFDataDCS& operator=(const AliTOFDataDCS & data); ~AliTOFDataDCS(); @@ -37,9 +30,13 @@ public: void SetRun(Int_t run) {fRun = run;} void SetStartTime(Int_t startTime) {fStartTime = startTime;} void SetEndTime(Int_t endTime) {fEndTime = endTime;} + void SetStartTimeDCSQuery(Int_t startTimeDCSQuery) {fStartTimeDCSQuery = startTimeDCSQuery;} + void SetEndTimeDCSQuery(Int_t endTimeDCSQuery) {fEndTimeDCSQuery = endTimeDCSQuery;} Int_t GetRun() const {return fRun;} Int_t GetStartTime() const {return fStartTime;} Int_t GetEndTime() const {return fEndTime;} + Int_t GetStartTimeDCSQuery() const {return fStartTimeDCSQuery;} + Int_t GetEndTimeDCSQuery() const {return fEndTimeDCSQuery;} Bool_t ProcessData(TMap& aliasMap); @@ -56,28 +53,6 @@ public: {return pos