GRUTinizer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
11 public:
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:
31 
34 
35  TDirectory* output_dir;
36 };
37 
38 #endif /* _THISTOGRAMLOOP_H_ */