]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STORAGE/AliStorageServerThread.h
eventplane determination changed, subtract the current track from the eventplane...
[u/mrichter/AliRoot.git] / STORAGE / AliStorageServerThread.h
CommitLineData
5eb34a26 1#ifndef AliStorageServerThread_H
2#define AliStorageServerThread_H
3
4#include "AliStorageEventManager.h"
5#include "AliStorageDatabase.h"
6
7class AliStorageServerThread
8{
9public:
10 AliStorageServerThread();
11 ~AliStorageServerThread();
12private:
13 //communication via socket
14 void StartCommunication();
15 AliStorageEventManager *fEventManager;
16
17 //handling different requests
18 AliESDEvent* GetEvent(struct eventStruct eventStruct);
19 AliESDEvent* GetNextEvent(struct eventStruct eventStruct);
20 AliESDEvent* GetLastEvent();
21 bool MarkEvent(struct eventStruct event);
22
23 //connection to database and storage
24 AliStorageDatabase *fDatabase;
25 std::string fStoragePath;
26
27 AliStorageServerThread(const AliStorageServerThread&);
28 AliStorageServerThread& operator=(const AliStorageServerThread&);
29};
30
31#endif