|
ToolDAQFramework
|
#include <FLOWERRecon.h>
Public Member Functions | |
| FLOWERRecon () | |
| bool | Execute () |
| bool | Finalise () |
| bool | Initialise (std::string configfile, DataModel &data) |
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 | |
| std::string | m_detector_name |
| Name of the detector, used to set default FLOWER parameters. More... | |
| WCSimFLOWER * | m_flower |
| Instance of FLOWER. More... | |
| int | m_in_nhits |
| Read in the total number of hits in the given trigger. More... | |
| std::vector< int > * | m_in_PMTIDs |
| Read in the PMT IDs of all hits in the given trigger. More... | |
| std::vector< float > * | m_in_Ts |
| Read in the times of all hits in the given trigger. More... | |
| ReconInfo * | m_input_filter |
| Holds reconstructed vertex information. More... | |
| std::string | m_input_filter_name |
| Which named filter to use? For preselecting which reconstructed vertices will be used by FLOWER. More... | |
| int | m_n_working_pmts |
| Number of working PMTs, taken from config file (defaults to NPMTs in geometry) More... | |
| unsigned int | m_nhits_max |
| Number of hits must be less than this, else FLOWER won't be run on this trigger. More... | |
| unsigned int | m_nhits_min |
| Number of hits must be greater than this, else FLOWER won't be run on this trigger. More... | |
| bool | m_overwrite_nearest |
| Overwrite the precalculated nearest neighbours ROOT file that FLOWER uses? 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... | |
| float | m_vertex [3] |
| x,y,z of input reconstructed vertex More... | |
Definition at line 13 of file FLOWERRecon.h.
|
private |
Log level enumerations.
| Enumerator | |
|---|---|
| FATAL | |
| ERROR | |
| WARN | |
| INFO | |
| DEBUG1 | |
| DEBUG2 | |
| DEBUG3 | |
Definition at line 73 of file FLOWERRecon.h.
| FLOWERRecon::FLOWERRecon | ( | ) |
Definition at line 3 of file FLOWERRecon.cpp.
| bool FLOWERRecon::Execute | ( | ) |
Definition at line 78 of file FLOWERRecon.cpp.
| bool FLOWERRecon::Finalise | ( | ) |
Definition at line 147 of file FLOWERRecon.cpp.
| bool FLOWERRecon::Initialise | ( | std::string | configfile, |
| DataModel & | data | ||
| ) |
Definition at line 6 of file FLOWERRecon.cpp.
|
inlineprivate |
Print the current value of the streamer at the set log level, then clear the streamer
Definition at line 67 of file FLOWERRecon.h.
|
private |
Name of the detector, used to set default FLOWER parameters.
Definition at line 50 of file FLOWERRecon.h.
|
private |
Instance of FLOWER.
Definition at line 27 of file FLOWERRecon.h.
|
private |
Read in the total number of hits in the given trigger.
Definition at line 29 of file FLOWERRecon.h.
|
private |
Read in the PMT IDs of all hits in the given trigger.
Definition at line 31 of file FLOWERRecon.h.
|
private |
Read in the times of all hits in the given trigger.
Definition at line 33 of file FLOWERRecon.h.
|
private |
Holds reconstructed vertex information.
Definition at line 43 of file FLOWERRecon.h.
|
private |
Which named filter to use? For preselecting which reconstructed vertices will be used by FLOWER.
Definition at line 45 of file FLOWERRecon.h.
|
private |
Number of working PMTs, taken from config file (defaults to NPMTs in geometry)
Definition at line 48 of file FLOWERRecon.h.
|
private |
Number of hits must be less than this, else FLOWER won't be run on this trigger.
Definition at line 40 of file FLOWERRecon.h.
|
private |
Number of hits must be greater than this, else FLOWER won't be run on this trigger.
Definition at line 38 of file FLOWERRecon.h.
|
private |
Overwrite the precalculated nearest neighbours ROOT file that FLOWER uses?
Definition at line 52 of file FLOWERRecon.h.
|
private |
For easy formatting of Log messages.
Definition at line 63 of file FLOWERRecon.h.
|
private |
The stopwatch, if we're using one.
Definition at line 55 of file FLOWERRecon.h.
|
private |
Image filename to save the histogram to, if required.
Definition at line 57 of file FLOWERRecon.h.
|
private |
Verbosity level, as defined in tool parameter file.
Definition at line 60 of file FLOWERRecon.h.
|
private |
x,y,z of input reconstructed vertex
Definition at line 35 of file FLOWERRecon.h.
1.8.5