ToolDAQFramework
|
#include <test_vertices_reconstruction.h>
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::Stopwatch * | m_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... | |
Definition at line 16 of file test_vertices_reconstruction.h.
|
private |
Log level enumerations.
Enumerator | |
---|---|
FATAL | |
ERROR | |
WARN | |
INFO | |
DEBUG1 | |
DEBUG2 | |
DEBUG3 |
Definition at line 61 of file test_vertices_reconstruction.h.
test_vertices_reconstruction::test_vertices_reconstruction | ( | ) |
Simple constructor.
Definition at line 3 of file test_vertices_reconstruction.cpp.
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.
configfile | The path and name of the dynamic configuration file to read in. |
data | A reference to the transient data class used to pass information between Tools. |
Definition at line 6 of file test_vertices_reconstruction.cpp.
|
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.
|
private |
Number of hits in a trigger.
Definition at line 31 of file test_vertices_reconstruction.h.
|
private |
PMT IDs of hits in a trigger.
Definition at line 33 of file test_vertices_reconstruction.h.
|
private |
Charges of hits in a trigger.
Definition at line 37 of file test_vertices_reconstruction.h.
|
private |
Times of hits in a trigger.
Definition at line 35 of file test_vertices_reconstruction.h.
|
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.
|
private |
For easy formatting of Log messages.
Definition at line 51 of file test_vertices_reconstruction.h.
|
private |
The stopwatch, if we're using one.
Definition at line 43 of file test_vertices_reconstruction.h.
|
private |
Image filename to save the histogram to, if required.
Definition at line 45 of file test_vertices_reconstruction.h.
|
private |
Verbosity level, as defined in tool parameter file.
Definition at line 48 of file test_vertices_reconstruction.h.