QwAnalysis
|
Example code for the event display routines. More...
#include <iostream>
#include <TApplication.h>
#include "QwOptionsTracking.h"
#include "QwLog.h"
#include "QwSubsystemArrayTracking.h"
#include "QwDriftChamberHDC.h"
#include "QwDriftChamberVDC.h"
#include "QwTriggerScintillator.h"
#include "QwMainDetector.h"
#include "QwTreeEventBuffer.h"
#include "QwEventBuffer.h"
#include "QwEventDisplay.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
Example code for the event display routines.
Definition in file QwEventDisplayTest.cc.
int main | ( | int | argc, |
char * | argv[] | ||
) |
First, we set the command line arguments and the configuration filename, and we define the options that can be used in them (using QwOptions).
Now we setup the message logging facilities with the requested loglevels.
Fill the search paths for the parameter files
Load the tracking detectors from file
Definition at line 36 of file QwEventDisplayTest.cc.
References QwParameterFile::AppendToSearchPath(), DefineOptionsTracking(), getenv_safe_string(), QwSubsystemArrayTracking::GetGeometry(), QwOptions::GetValue(), gQwLog, gQwOptions, QwOptions::HasValue(), QwLog::InitLogFile(), QwTreeEventBuffer::OpenNextFile(), QwTreeEventBuffer::ProcessOptions(), QwSubsystemArray::ProcessOptions(), QwOptions::SetCommandLine(), QwOptions::SetConfigFile(), QwEventDisplay::SetEventBuffer(), QwLog::SetFileThreshold(), QwLog::SetScreenColor(), QwLog::SetScreenThreshold(), and QwEventDisplay::SetSubsystemArray().