]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MONITOR/alionlinereco/AliOnlineReconstruction.h
a4b7e0c410f1635f530684a9b8d487c87510f3c9
[u/mrichter/AliRoot.git] / MONITOR / alionlinereco / AliOnlineReconstruction.h
1 // Author: Mihai Niculesu 2013
2
3 /**************************************************************************
4  * Copyright(c) 1998-2013, ALICE Experiment at CERN, all rights reserved. *
5  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
6  * full copyright notice.                                                 *
7  **************************************************************************/
8
9 #ifndef AliOnlineReconstruction_H
10 #define AliOnlineReconstruction_H
11
12 #include <AliReconstruction.h>
13 #include <AliCDBManager.h>
14 #include <AliGRPPreprocessor.h>
15
16 #include <TString.h>
17 #include <TEnv.h>
18
19 class AliOnlineReconstruction
20 {
21 public:
22         AliOnlineReconstruction(int run);
23         ~AliOnlineReconstruction();
24 private:
25         void StartOfRun();
26         void EndOfRun();
27         void FillRunsFromDatabase();
28         int RetrieveGRP(TString &gdc);
29         void SetupReco();
30         void ReconstructionLoop();
31
32         int fRun;
33         TString fDataSource;
34         TEnv fSettings;
35
36         AliReconstruction *fAliReco;
37         AliCDBManager *fCDBmanager;
38
39         AliOnlineReconstruction(const AliOnlineReconstruction&);
40         AliOnlineReconstruction& operator=(const AliOnlineReconstruction&);
41 };
42
43 #endif