1 // Author: Mihai Niculescu 2013
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 **************************************************************************/
9 #ifndef __AliRecoServer_H__
10 #define __AliRecoServer_H__
12 #include <TObjString.h>
14 #include <RQ_OBJECT.h>
19 class AliReconstruction;
20 class AliRecoServerThread;
22 class AliEventServerReconstruction : public TQObject
25 AliEventServerReconstruction();
26 virtual ~AliEventServerReconstruction();
28 Bool_t StartReconstruction(Int_t run, const char* input="mem://@*:");
29 bool StopReconstruction();
31 // Closes the server. The server will no longer listen/serve
34 Bool_t IsListenning() const{return fIsListenning;}
35 Int_t GetRunId() const {return fCurrentRunId;}
37 static void* Dispatch(void *arg){static_cast<AliEventServerReconstruction*>(arg)->ReconstructionHandle();}
38 void ReconstructionHandle();
40 Int_t RetrieveGRP(UInt_t run, TString &gdc);
41 void SetupReco(const char* input);
44 AliReconstruction *fAliReco;
45 AliCDBManager *fCDBmanager;
52 bool fRecoWasInitialized;
55 AliEventServerReconstruction(const AliEventServerReconstruction&);
56 AliEventServerReconstruction& operator=(const AliEventServerReconstruction&);