GRUTinizer
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
include
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
14
class
TRootInputLoop
:
public
StoppableThread
{
15
public
:
16
TRootInputLoop
(TTree*
tree
,
ThreadsafeQueue<TUnpackedEvent*>
&
output_queue
);
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
;
31
ThreadsafeQueue<TUnpackedEvent*>
&
output_queue
;
32
};
33
34
35
#endif
/* _TROOTINPUTLOOP_H_ */
Generated on Wed Nov 4 2015 17:27:54 for GRUTinizer by
1.8.1.2