X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TOF%2FAliTOFDataDCS.h;h=d18fb8f8102398ce084a8473a687478b2cf5ebca;hb=506d886c04dcca7998afd686fd48799064a2d6ec;hp=9e3faac6c8bcb3d30ec69413017a3ba9c013f72a;hpb=b52b97c2ac1dc0d96c5c9bae274552b96d508a9a;p=u%2Fmrichter%2FAliRoot.git diff --git a/TOF/AliTOFDataDCS.h b/TOF/AliTOFDataDCS.h index 9e3faac6c8b..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=10512, kNHV=90, kNLV=576, - 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,9 @@ public: {return pos