QwAnalysis
|
An options class which parses command line, config file and environment. More...
#include <iostream>
#include <string>
#include <vector>
#include <boost/program_options.hpp>
#include <TString.h>
#include "QwLog.h"
Go to the source code of this file.
Data Structures | |
class | QwOptions |
An options class. More... | |
Macros | |
#define | default_bool_value(b) default_value(b) |
Functions | |
const char * | getenv_safe (const char *name) |
const std::string | getenv_safe_string (const char *name) |
const TString | getenv_safe_TString (const char *name) |
Variables | |
QwOptions | gQwOptions |
An options class which parses command line, config file and environment.
Definition in file QwOptions.h.
#define default_bool_value | ( | b | ) | default_value(b) |
Definition at line 51 of file QwOptions.h.
Referenced by QwParityDB::DefineAdditionalOptions(), QwHistogramHelper::DefineOptions(), QwEventBuffer::DefineOptions(), QwEPICSEvent::DefineOptions(), QwDriftChamberVDC::DefineOptions(), QwHelicityPattern::DefineOptions(), QwDriftChamber::DefineOptions(), QwHelicity::DefineOptions(), QwTreeEventBuffer::DefineOptions(), QwTrackingWorker::DefineOptions(), QwMainCerenkovDetector::DefineOptions(), QwTriggerScintillator::DefineOptions(), QwMainDetector::DefineOptions(), QwLog::DefineOptions(), QwLumi::DefineOptions(), QwBlinder::DefineOptions(), QwRootFile::DefineOptions(), and main().
|
inline |
Definition at line 28 of file QwOptions.h.
References QwLog::endl(), QwError, and QwWarning.
Referenced by getenv_safe_string(), getenv_safe_TString(), and main().
|
inline |
Definition at line 37 of file QwOptions.h.
References getenv_safe().
Referenced by QwTrackingWorker::InitTree(), QwTreeEventBuffer::LoadDriftTimeDistance(), main(), QwComptonElectronDetector::PrintValue(), QwMagneticField::ReadFieldMap(), QwMagneticField::WriteBinaryFile(), and QwMagneticField::WriteTextFile().
|
inline |
Definition at line 40 of file QwOptions.h.
References getenv_safe().
Referenced by ClassImp(), main(), QwTreeEventBuffer::OpenFile(), and QwRootFile::QwRootFile().
QwOptions gQwOptions |
Definition at line 27 of file QwOptions.cc.
Referenced by QwTrackingWorker::InitTree(), QwDriftChamberHDC::LoadChannelMap(), QwDriftChamberVDC::LoadChannelMap(), VQwSubsystemTracking::LoadGeometryDefinition(), main(), QwEventRing::ProcessOptions(), QwRootFile::QwRootFile(), QwTrackingTreeCombine::QwTrackingTreeCombine(), QwTrackingTreeSearch::QwTrackingTreeSearch(), QwParityDB::SetAnalysisID(), setOptions(), QwTrackingTreeCombine::TlCheckForX(), QwTrackingTreeCombine::TlTreeCombine(), and QwMatrixLookup::WriteTrajMatrix().