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__
13 #include <TObjString.h>
15 #include <RQ_OBJECT.h>
19 class AliReconstruction;
20 class AliRecoServerThread;
22 class AliRecoServer : public TQObject
24 RQ_OBJECT("AliRecoServer")
27 virtual ~AliRecoServer();
29 // Closes the server. The server will no longer listen/serve
32 Bool_t IsListenning() const;
34 Int_t GetRunId() const { return fCurrentRunId; }
35 const char* GetError() const;//TODO: not implemented
37 Bool_t StartReconstruction(Int_t run, const char* input="mem://@*:");
38 void StopReconstruction();
40 void ThreadFinished(Int_t status); // *SIGNAL*
43 Int_t RetrieveGRP(UInt_t run, TString &gdc);
44 void SetupReco(const char* input);
46 AliRecoServer(const AliRecoServer&); // Not implemented
47 AliRecoServer& operator=(const AliRecoServer&); // Not implemented
51 zmq::context_t* fContext;
52 AliReconstruction* fReco;
53 AliCDBManager* fCDBman;
59 AliRecoServerThread* fRecoTh;
63 ClassDef(AliRecoServer, 0);
66 #endif /* __AliRecoServer_H__ */