GRUTinizer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TUnpackLoop.h
Go to the documentation of this file.
1 #ifndef _TUNPACKLOOP_H_
2 #define _TUNPACKLOOP_H_
3 
4 #include "TNamed.h"
5 
6 #include "StoppableThread.h"
7 #include "ThreadsafeQueue.h"
8 #include "TRawEvent.h"
9 #include "TUnpackedEvent.h"
10 
11 class TNSCLEvent;
12 class TGEBEvent;
13 
14 class TUnpackLoop : public StoppableThread {
15 public:
18  virtual ~TUnpackLoop();
19 
21 
22 protected:
23  bool Iteration();
24 
25 private:
26  TUnpackLoop(const TUnpackLoop& other);
27  TUnpackLoop& operator=(const TUnpackLoop& other);
28 
29  void CheckBuildWindow(long timestamp);
30 
31  void HandleNSCLData(TNSCLEvent& event);
32  void HandleBuiltNSCLData(TNSCLEvent& event);
33  void HandleUnbuiltNSCLData(TNSCLEvent& event);
34 
35  void HandleGEBData(TGEBEvent& event);
36  void HandleGEBMode3(TGEBEvent& event, kDetectorSystems system);
37  void HandleS800Scaler(TGEBEvent& event);
38 
41 
45 };
46 
47 #endif /* _TUNPACKLOOP_H_ */