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
THistogramLoop.h
Go to the documentation of this file.
1
#ifndef _THISTOGRAMLOOP_H_
2
#define _THISTOGRAMLOOP_H_
3
4
#include <string>
5
6
#include "
StoppableThread.h
"
7
#include "
TCompiledHistograms.h
"
8
#include "
ThreadsafeQueue.h
"
9
10
class
THistogramLoop
:
public
StoppableThread
{
11
public
:
12
THistogramLoop
(
ThreadsafeQueue<TUnpackedEvent*>
&
input_queue
,
13
ThreadsafeQueue<TUnpackedEvent*>
&
output_queue
,
14
TDirectory* dir = NULL);
15
16
void
LoadLibrary
(std::string library);
17
std::string
GetLibraryName
()
const
;
18
void
ClearHistograms
();
19
20
void
Write
();
21
22
void
SetReplaceVariable
(
const
char
* name,
double
value
);
23
void
RemoveVariable
(
const
char
* name);
24
TList*
GetVariables
();
25
26
protected
:
27
bool
Iteration
();
28
29
private
:
30
TCompiledHistograms
compiled_histograms
;
31
32
ThreadsafeQueue<TUnpackedEvent*>
&
input_queue
;
33
ThreadsafeQueue<TUnpackedEvent*>
&
output_queue
;
34
35
TDirectory*
output_dir
;
36
};
37
38
#endif
/* _THISTOGRAMLOOP_H_ */
Generated on Wed Nov 4 2015 17:27:53 for GRUTinizer by
1.8.1.2