ToolDAQFramework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
test_vertices_reconstruction Class Reference

#include <test_vertices_reconstruction.h>

Inheritance diagram for test_vertices_reconstruction:

Public Member Functions

 test_vertices_reconstruction ()
 Simple constructor. More...
 
bool Execute ()
 Executre function used to perform Tool perpose. More...
 
bool Finalise ()
 Finalise funciton used to clean up resorces. More...
 
bool Initialise (std::string configfile, DataModel &data)
 Initialise Function for setting up Tool resorces. More...
 

Private Types

enum  LogLevel {
  FATAL =-1, ERROR =0, WARN =1, INFO =2,
  DEBUG1 =3, DEBUG2 =4, DEBUG3 =5
}
 Log level enumerations. More...
 

Private Member Functions

void StreamToLog (int level)
 

Private Attributes

int m_in_nhits
 Number of hits in a trigger. More...
 
std::vector< int > * m_in_PMTIDs
 PMT IDs of hits in a trigger. More...
 
std::vector< float > * m_in_Qs
 Charges of hits in a trigger. More...
 
std::vector< float > * m_in_Ts
 Times of hits in a trigger. More...
 
unsigned int m_nhits_max
 Above this number of hits in a trigger, don't run BONSAI. Equality is run. Set in config file. More...
 
std::stringstream m_ss
 For easy formatting of Log messages. More...
 
util::Stopwatchm_stopwatch
 The stopwatch, if we're using one. More...
 
std::string m_stopwatch_file
 Image filename to save the histogram to, if required. More...
 
int m_verbose
 Verbosity level, as defined in tool parameter file. More...
 

Detailed Description

Definition at line 16 of file test_vertices_reconstruction.h.

Member Enumeration Documentation

Log level enumerations.

Enumerator
FATAL 
ERROR 
WARN 
INFO 
DEBUG1 
DEBUG2 
DEBUG3 

Definition at line 61 of file test_vertices_reconstruction.h.

Constructor & Destructor Documentation

test_vertices_reconstruction::test_vertices_reconstruction ( )

Simple constructor.

Definition at line 3 of file test_vertices_reconstruction.cpp.

Member Function Documentation

bool test_vertices_reconstruction::Execute ( )

Executre function used to perform Tool perpose.

Definition at line 40 of file test_vertices_reconstruction.cpp.

bool test_vertices_reconstruction::Finalise ( )

Finalise funciton used to clean up resorces.

Definition at line 159 of file test_vertices_reconstruction.cpp.

bool test_vertices_reconstruction::Initialise ( std::string  configfile,
DataModel data 
)

Initialise Function for setting up Tool resorces.

Parameters
configfileThe path and name of the dynamic configuration file to read in.
dataA reference to the transient data class used to pass information between Tools.

Definition at line 6 of file test_vertices_reconstruction.cpp.

void test_vertices_reconstruction::StreamToLog ( int  level)
inlineprivate

Print the current value of the streamer at the set log level, then clear the streamer

Definition at line 55 of file test_vertices_reconstruction.h.

Member Data Documentation

int test_vertices_reconstruction::m_in_nhits
private

Number of hits in a trigger.

Definition at line 31 of file test_vertices_reconstruction.h.

std::vector<int>* test_vertices_reconstruction::m_in_PMTIDs
private

PMT IDs of hits in a trigger.

Definition at line 33 of file test_vertices_reconstruction.h.

std::vector<float>* test_vertices_reconstruction::m_in_Qs
private

Charges of hits in a trigger.

Definition at line 37 of file test_vertices_reconstruction.h.

std::vector<float>* test_vertices_reconstruction::m_in_Ts
private

Times of hits in a trigger.

Definition at line 35 of file test_vertices_reconstruction.h.

unsigned int test_vertices_reconstruction::m_nhits_max
private

Above this number of hits in a trigger, don't run BONSAI. Equality is run. Set in config file.

Definition at line 40 of file test_vertices_reconstruction.h.

std::stringstream test_vertices_reconstruction::m_ss
private

For easy formatting of Log messages.

Definition at line 51 of file test_vertices_reconstruction.h.

util::Stopwatch* test_vertices_reconstruction::m_stopwatch
private

The stopwatch, if we're using one.

Definition at line 43 of file test_vertices_reconstruction.h.

std::string test_vertices_reconstruction::m_stopwatch_file
private

Image filename to save the histogram to, if required.

Definition at line 45 of file test_vertices_reconstruction.h.

int test_vertices_reconstruction::m_verbose
private

Verbosity level, as defined in tool parameter file.

Definition at line 48 of file test_vertices_reconstruction.h.


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