ToolDAQFramework
|
#include <TriggerOutput.h>
Public Member Functions | |
TriggerOutput () | |
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 } |
Private Member Functions | |
double | absolute_time (TimeDelta d) |
void | StreamToLog (int level) |
Private Attributes | |
TTree * | m_header_tree |
header More... | |
float | m_interpose_interval |
TFile * | m_output_file |
Output ROOT file. More... | |
std::string | m_output_filename |
Output ROOT filename that this tool RECREATE's. More... | |
std::stringstream | m_ss |
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... | |
bool | m_trigger_OD |
Trigger on OD digits, rather than ID digits? More... | |
TTree * | m_triggers_tree |
Tree containing triggers. More... | |
int | m_verbose |
double | the_mask_end_time |
The ending time of the hit mask. More... | |
double | the_mask_start_time |
The starting time of the hit mask. More... | |
double | the_readout_end_time |
The ending time of the trigger window. More... | |
double | the_readout_start_time |
The starting time of the trigger window. More... | |
std::vector< float > | the_trigger_info |
extra info from the trigger More... | |
double | the_trigger_time |
The actual time of the trigger. More... | |
TriggerType_t | the_type |
The type of Trigger. More... | |
Definition at line 15 of file TriggerOutput.h.
|
private |
Enumerator | |
---|---|
FATAL | |
ERROR | |
WARN | |
INFO | |
DEBUG1 | |
DEBUG2 | |
DEBUG3 |
Definition at line 72 of file TriggerOutput.h.
TriggerOutput::TriggerOutput | ( | ) |
Definition at line 3 of file TriggerOutput.cpp.
|
private |
Definition at line 141 of file TriggerOutput.cpp.
bool TriggerOutput::Execute | ( | ) |
The number of triggers
The type of Trigger
The starting time of the trigger window
The ending time of the trigger window
The starting time of the hit mask
The ending time of the hit mask
The actual time of the trigger
Additional information, specific to the trigger
Definition at line 65 of file TriggerOutput.cpp.
bool TriggerOutput::Finalise | ( | ) |
Definition at line 113 of file TriggerOutput.cpp.
bool TriggerOutput::Initialise | ( | std::string | configfile, |
DataModel & | data | ||
) |
Definition at line 6 of file TriggerOutput.cpp.
|
inlineprivate |
Definition at line 67 of file TriggerOutput.h.
|
private |
header
Definition at line 37 of file TriggerOutput.h.
|
private |
Definition at line 41 of file TriggerOutput.h.
|
private |
Output ROOT file.
Definition at line 35 of file TriggerOutput.h.
|
private |
Output ROOT filename that this tool RECREATE's.
Definition at line 33 of file TriggerOutput.h.
|
private |
Definition at line 65 of file TriggerOutput.h.
|
private |
The stopwatch, if we're using one.
Definition at line 59 of file TriggerOutput.h.
|
private |
Image filename to save the histogram to, if required.
Definition at line 61 of file TriggerOutput.h.
|
private |
Trigger on OD digits, rather than ID digits?
Definition at line 30 of file TriggerOutput.h.
|
private |
Tree containing triggers.
Definition at line 39 of file TriggerOutput.h.
|
private |
Definition at line 63 of file TriggerOutput.h.
|
private |
The ending time of the hit mask.
Definition at line 52 of file TriggerOutput.h.
|
private |
The starting time of the hit mask.
Definition at line 50 of file TriggerOutput.h.
|
private |
The ending time of the trigger window.
Definition at line 48 of file TriggerOutput.h.
|
private |
The starting time of the trigger window.
Definition at line 46 of file TriggerOutput.h.
|
private |
extra info from the trigger
Definition at line 56 of file TriggerOutput.h.
|
private |
The actual time of the trigger.
Definition at line 54 of file TriggerOutput.h.
|
private |
The type of Trigger.
Definition at line 44 of file TriggerOutput.h.