Setting of aliases to rawReader done only once. Base decision on cosmic or calib...
[u/mrichter/AliRoot.git] / STEER / STEER / AliLHCReader.h
1 #ifndef ALILHCREADER_H
2 #define ALILHCREADER_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* $Id$ */
8
9 ///////////////////////////////////////////////////////////////////////////////
10 //                                                                           //
11 //  Class to read the file coming from DCS containing the information        //
12 //  from LHC.                                                                //
13 //                                                                           //
14 ///////////////////////////////////////////////////////////////////////////////
15
16 class TString;
17 class TMap;
18 class TObjArray;
19
20 #include <TObject.h>
21
22 class AliLHCReader : public TObject{
23  public:
24         AliLHCReader(); // default ctor
25         virtual ~AliLHCReader();
26         TMap* ReadLHCDP(TString lhcDP);
27
28         UInt_t GetStartTime() const {return fStartTime;}
29         UInt_t GetEndTime() const {return fEndTime;}
30
31         void SetStartTime(UInt_t startTime) {fStartTime=startTime;}
32         void SetEndTime(UInt_t endTime) {fEndTime = endTime;}
33         TObjArray* ReadSingleLHCDP(TString filename, TString alias);
34
35  private:
36         AliLHCReader& operator=(const AliLHCReader *reader); // assignment operator
37         AliLHCReader(const AliLHCReader *reader); // copy ctor
38
39         UInt_t fStartTime;   // start time of data taking
40         UInt_t fEndTime;     // end time of data taking
41
42         ClassDef(AliLHCReader,0)
43                 };
44 #endif