]> git.uio.no Git - u/mrichter/AliRoot.git/blame - T0/AliT0DataDCS.h
saving progress on geometry cleanup
[u/mrichter/AliRoot.git] / T0 / AliT0DataDCS.h
CommitLineData
dc7ca31d 1#ifndef AliT0DataDCS_H
2#define AliT0DataDCS_H
3
9dcc11e4 4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
dc7ca31d 7#include <TMap.h>
8#include <TClonesArray.h>
dc7ca31d 9#include <TGraph.h>
9dcc11e4 10
11// AliT0DataDCS class
12// fetching T0 data points from DCS, calculating mean values for the run
13// and storing the result to Reference DB
dc7ca31d 14
15class AliT0DataDCS : public TObject {
16public:
9dcc11e4 17 enum {kNAliases=32};
dc7ca31d 18
19 AliT0DataDCS();
20 AliT0DataDCS(Int_t nRun, UInt_t startTime, UInt_t endTime);
21 ~AliT0DataDCS();
22
23 void SetRun(Int_t run) {fRun = run;}
24 void SetStartTime(Int_t startTime) {fStartTime = startTime;}
25 void SetEndTime(Int_t endTime) {fEndTime = endTime;}
9dcc11e4 26 Int_t GetRun() const {return fRun;}
27 Int_t GetStartTime() const {return fStartTime;}
28 Int_t GetEndTime() const {return fEndTime;}
dc7ca31d 29
91366e58 30 Bool_t ProcessData(TMap& aliasMap);
dc7ca31d 31
dc7ca31d 32private:
33 void Init();
34 void Introduce(UInt_t numAlias, const TObjArray* aliasArr);
dc7ca31d 35
9dcc11e4 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
dc7ca31d 42 ClassDef(AliT0DataDCS, 2);
970bb0d0 43
44protected:
dc7ca31d 45};
46
47#endif