GRUTinizer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TRootInputLoop.h
Go to the documentation of this file.
1 #ifndef _TROOTINPUTLOOP_H_
2 #define _TROOTINPUTLOOP_H_
3 
4 #include <string>
5 
6 #include "TClass.h"
7 #include "TTree.h"
8 
9 #include "StoppableThread.h"
10 #include "TDetector.h"
11 #include "ThreadsafeQueue.h"
12 #include "TUnpackedEvent.h"
13 
15 public:
17  virtual ~TRootInputLoop();
18 
19  std::string Status();
20 
21 protected:
22  bool Iteration();
23 
24 private:
25  void SetupBranches();
26 
27  TTree* tree;
28  size_t ientry;
29  size_t nentries;
30  std::map<TClass*,TDetector**> det_map;
32 };
33 
34 
35 #endif /* _TROOTINPUTLOOP_H_ */