#include <WCSimReader.h>
|
bool | AddTreeToChain (const char *fname, TChain *chain) |
| Adds a file (or files - wildcards allowed) to the chain. More...
|
|
bool | CompareTree (TChain *chain, int mode) |
|
template<typename T > |
bool | CompareVariable (T v1, T v2, const char *tag) |
| Checks for equality between 2 variables. More...
|
|
SubSample | GetDigits () |
| Creates a SubSample containing the digits from the current m_wcsim_trigger. More...
|
|
bool | ReadTree (TChain *chain) |
| Calls AddTreeToChain for m_input_filename, or for every file within the m_input_filelist. More...
|
|
void | StreamToLog (int level) |
| Helper function to print streamer at specified level, and clear streamer. More...
|
|
|
TChain * | m_chain_event |
| Input wcsimT chain - holds WCSim events. More...
|
|
TChain * | m_chain_geom |
| Input wcsimGeoT chain - holds WCSim geometry. More...
|
|
TChain * | m_chain_opt |
| Input wcsimRootOptionsT chain - holds WCSim run options. More...
|
|
long int | m_current_event_num |
| The current WCSim event number. More...
|
|
long int | m_first_event_num |
| The first WCSim event number to read. More...
|
|
std::string | m_input_filelist |
| The input WCSim filelist filename from config file. More...
|
|
std::string | m_input_filename |
| The input WCSim filename from config file (wildcards allowed) More...
|
|
float | m_interpose_interval |
|
long int | m_n_events |
| The total number of events in m_chain_event. More...
|
|
std::stringstream | m_ss |
| Streamer 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. More...
|
|
WCSimRootEvent * | m_wcsim_event_ID |
| Holds event information for the ID - tracks, hits, digits. More...
|
|
WCSimRootEvent * | m_wcsim_event_OD |
| Holds event information for the OD - hits, digits. More...
|
|
WCSimRootGeom * | m_wcsim_geom |
| Holds geometry information - tank size, PMT size, PMT positions, etc. More...
|
|
WCSimRootOptions * | m_wcsim_opt |
| Holds WCSim running options - trigger thresholds, geometry names, input .kin filename, etc. More...
|
|
WCSimRootTrigger * | m_wcsim_trigger |
| Holds trigger information - trigger time, digits, etc. More...
|
|
Definition at line 19 of file WCSimReader.h.
enumeration of the log levels
Enumerator |
---|
FATAL |
|
ERROR |
|
WARN |
|
INFO |
|
DEBUG1 |
|
DEBUG2 |
|
DEBUG3 |
|
Definition at line 104 of file WCSimReader.h.
WCSimReader::WCSimReader |
( |
| ) |
|
bool WCSimReader::AddTreeToChain |
( |
const char * |
fname, |
|
|
TChain * |
chain |
|
) |
| |
|
private |
Adds a file (or files - wildcards allowed) to the chain.
Definition at line 150 of file WCSimReader.cpp.
bool WCSimReader::CompareTree |
( |
TChain * |
chain, |
|
|
int |
mode |
|
) |
| |
|
private |
Checks for equality between entry 0 and other entries in the chain Mode 0: compares WCSimRootOptions Mode 1: compares WCSimRootGeom
Definition at line 189 of file WCSimReader.cpp.
template<typename T >
bool WCSimReader::CompareVariable |
( |
T |
v1, |
|
|
T |
v2, |
|
|
const char * |
tag |
|
) |
| |
|
private |
bool WCSimReader::Execute |
( |
| ) |
|
bool WCSimReader::Finalise |
( |
| ) |
|
bool WCSimReader::Initialise |
( |
std::string |
configfile, |
|
|
DataModel & |
data |
|
) |
| |
bool WCSimReader::ReadTree |
( |
TChain * |
chain | ) |
|
|
private |
Calls AddTreeToChain for m_input_filename, or for every file within the m_input_filelist.
Definition at line 166 of file WCSimReader.cpp.
void WCSimReader::StreamToLog |
( |
int |
level | ) |
|
|
inlineprivate |
Helper function to print streamer at specified level, and clear streamer.
Definition at line 98 of file WCSimReader.h.
TChain* WCSimReader::m_chain_event |
|
private |
Input wcsimT chain - holds WCSim events.
Definition at line 52 of file WCSimReader.h.
TChain* WCSimReader::m_chain_geom |
|
private |
Input wcsimGeoT chain - holds WCSim geometry.
Definition at line 54 of file WCSimReader.h.
TChain* WCSimReader::m_chain_opt |
|
private |
Input wcsimRootOptionsT chain - holds WCSim run options.
Definition at line 50 of file WCSimReader.h.
long int WCSimReader::m_current_event_num |
|
private |
The current WCSim event number.
Definition at line 68 of file WCSimReader.h.
long int WCSimReader::m_first_event_num |
|
private |
The first WCSim event number to read.
Definition at line 70 of file WCSimReader.h.
std::string WCSimReader::m_input_filelist |
|
private |
The input WCSim filelist filename from config file.
Definition at line 84 of file WCSimReader.h.
std::string WCSimReader::m_input_filename |
|
private |
The input WCSim filename from config file (wildcards allowed)
Definition at line 82 of file WCSimReader.h.
float WCSimReader::m_interpose_interval |
|
private |
long int WCSimReader::m_n_events |
|
private |
The total number of events in m_chain_event.
Definition at line 72 of file WCSimReader.h.
std::stringstream WCSimReader::m_ss |
|
private |
Streamer for easy formatting of log messages.
Definition at line 95 of file WCSimReader.h.
The stopwatch, if we're using one.
Definition at line 87 of file WCSimReader.h.
std::string WCSimReader::m_stopwatch_file |
|
private |
Image filename to save the histogram to, if required.
Definition at line 89 of file WCSimReader.h.
int WCSimReader::m_verbose |
|
private |
WCSimRootEvent* WCSimReader::m_wcsim_event_ID |
|
private |
Holds event information for the ID - tracks, hits, digits.
Definition at line 59 of file WCSimReader.h.
WCSimRootEvent* WCSimReader::m_wcsim_event_OD |
|
private |
Holds event information for the OD - hits, digits.
Definition at line 61 of file WCSimReader.h.
WCSimRootGeom* WCSimReader::m_wcsim_geom |
|
private |
Holds geometry information - tank size, PMT size, PMT positions, etc.
Definition at line 63 of file WCSimReader.h.
WCSimRootOptions* WCSimReader::m_wcsim_opt |
|
private |
Holds WCSim running options - trigger thresholds, geometry names, input .kin filename, etc.
Definition at line 57 of file WCSimReader.h.
WCSimRootTrigger* WCSimReader::m_wcsim_trigger |
|
private |
Holds trigger information - trigger time, digits, etc.
Definition at line 65 of file WCSimReader.h.
The documentation for this class was generated from the following files: