17 #include <TApplication.h>
36 int main (
int argc,
char* argv[])
70 TApplication theApp(
"QwEventDisplay", &argc, argv);
void InitLogFile(const std::string name, const std::ios_base::openmode mode=kAppend)
Initialize the log file with name 'name'.
static void AppendToSearchPath(const TString &searchdir)
Add a directory to the search path.
Read simulated QweakSimG4 events and generate hit lists.
void SetScreenThreshold(int thr)
Set the screen log level.
bool HasValue(const std::string &key)
Has this key been defined.
Load the options for the tracking subsystems.
unsigned int OpenNextFile()
Open the next event file.
Definition of the class that reads simulated QweakSimG4 events.
This is the main executable for the tracking analysis.
void ProcessOptions(QwOptions &options)
Process configuration options (default behavior)
void SetSubsystemArray(QwSubsystemArrayTracking *subsystemarray)
T GetValue(const std::string &key)
Get a templated value.
void SetScreenColor(bool flag)
Set the screen color mode.
void SetFileThreshold(int thr)
Set the file log level.
void SetConfigFile(const std::string &configfile)
Set a configuration file.
void SetEventBuffer(QwTreeEventBuffer *eventbuffer)
A logfile class, based on an identical class in the Hermes analyzer.
const QwGeometry GetGeometry()
Get the detector info for all detectors.
const std::string getenv_safe_string(const char *name)
Collection of QwDetectorInfo pointers that specifies an experimental geometry.
void ProcessOptions(QwOptions &options)
Process command line and config file options.
int main(int argc, char **argv)
void DefineOptionsTracking(QwOptions &options)
void SetCommandLine(int argc, char *argv[], bool default_config_file=true)
Set the command line arguments.