8 #include "WCSimRootOptions.hh" 
    9 #include "WCSimRootEvent.hh" 
   10 #include "WCSimRootGeom.hh" 
   42   template <
typename T> 
bool CompareVariable(T v1, T v2, 
const char * tag);
 
std::string m_input_filelist
The input WCSim filelist filename from config file. 
 
TChain * m_chain_event
Input wcsimT chain - holds WCSim events. 
 
SubSample GetDigits()
Creates a SubSample containing the digits from the current m_wcsim_trigger. 
 
long int m_current_event_num
The current WCSim event number. 
 
util::Stopwatch * m_stopwatch
The stopwatch, if we're using one. 
 
int m_verbose
Verbosity level. 
 
float m_interpose_interval
 
std::string m_stopwatch_file
Image filename to save the histogram to, if required. 
 
WCSimRootGeom * m_wcsim_geom
Holds geometry information - tank size, PMT size, PMT positions, etc. 
 
bool AddTreeToChain(const char *fname, TChain *chain)
Adds a file (or files - wildcards allowed) to the chain. 
 
bool Initialise(std::string configfile, DataModel &data)
 
TChain * m_chain_geom
Input wcsimGeoT chain - holds WCSim geometry. 
 
LogLevel
enumeration of the log levels 
 
bool CompareVariable(T v1, T v2, const char *tag)
Checks for equality between 2 variables. 
 
TChain * m_chain_opt
Input wcsimRootOptionsT chain - holds WCSim run options. 
 
std::stringstream m_ss
Streamer for easy formatting of log messages. 
 
WCSimRootEvent * m_wcsim_event_ID
Holds event information for the ID - tracks, hits, digits. 
 
long int m_first_event_num
The first WCSim event number to read. 
 
bool CompareTree(TChain *chain, int mode)
 
bool ReadTree(TChain *chain)
Calls AddTreeToChain for m_input_filename, or for every file within the m_input_filelist. 
 
WCSimRootTrigger * m_wcsim_trigger
Holds trigger information - trigger time, digits, etc. 
 
WCSimRootEvent * m_wcsim_event_OD
Holds event information for the OD - hits, digits. 
 
void Log(const std::string &message, const int message_level)
Format messages in the same way as for tools. 
 
long int m_n_events
The total number of events in m_chain_event. 
 
WCSimRootOptions * m_wcsim_opt
Holds WCSim running options - trigger thresholds, geometry names, input .kin filename, etc. 
 
std::string m_input_filename
The input WCSim filename from config file (wildcards allowed) 
 
void StreamToLog(int level)
Helper function to print streamer at specified level, and clear streamer.