GRUTinizer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
THistogramLoop Class Reference

#include <THistogramLoop.h>

Inheritance diagram for THistogramLoop:
StoppableThread

Public Member Functions

 THistogramLoop (ThreadsafeQueue< TUnpackedEvent * > &input_queue, ThreadsafeQueue< TUnpackedEvent * > &output_queue, TDirectory *dir=NULL)
void LoadLibrary (std::string library)
std::string GetLibraryName () const
void ClearHistograms ()
void Write ()
void SetReplaceVariable (const char *name, double value)
void RemoveVariable (const char *name)
TList * GetVariables ()
- Public Member Functions inherited from StoppableThread
 StoppableThread ()
virtual ~StoppableThread ()
void Resume ()
void Pause ()
void Stop ()
bool IsPaused ()
bool IsRunning ()
void Join ()
virtual std::string Status ()

Protected Member Functions

bool Iteration ()

Private Attributes

TCompiledHistograms compiled_histograms
ThreadsafeQueue
< TUnpackedEvent * > & 
input_queue
ThreadsafeQueue
< TUnpackedEvent * > & 
output_queue
TDirectory * output_dir

Constructor & Destructor Documentation

THistogramLoop::THistogramLoop ( ThreadsafeQueue< TUnpackedEvent * > &  input_queue,
ThreadsafeQueue< TUnpackedEvent * > &  output_queue,
TDirectory *  dir = NULL 
)

Member Function Documentation

void THistogramLoop::ClearHistograms ( )
std::string THistogramLoop::GetLibraryName ( ) const
TList * THistogramLoop::GetVariables ( )
bool THistogramLoop::Iteration ( )
protectedvirtual

Implements StoppableThread.

void THistogramLoop::LoadLibrary ( std::string  library)
void THistogramLoop::RemoveVariable ( const char *  name)
void THistogramLoop::SetReplaceVariable ( const char *  name,
double  value 
)
void THistogramLoop::Write ( )

Member Data Documentation

TCompiledHistograms THistogramLoop::compiled_histograms
private
ThreadsafeQueue<TUnpackedEvent*>& THistogramLoop::input_queue
private
TDirectory* THistogramLoop::output_dir
private
ThreadsafeQueue<TUnpackedEvent*>& THistogramLoop::output_queue
private

The documentation for this class was generated from the following files: