|
GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
#include <cstring>#include <cstdlib>#include <cstdio>#include <iostream>#include "TROOT.h"#include "TClass.h"#include "TClassTable.h"#include "TDataType.h"#include "TMethod.h"#include "TMethodArg.h"#include "TRint.h"#include "TSystem.h"#include "TObjString.h"#include "TInterpreter.h"#include "TStyle.h"#include "TGo4Version.h"#include "TGo4Log.h"#include "TGo4StepFactory.h"#include "TGo4AnalysisStep.h"#include "TGo4AnalysisImp.h"#include "TGo4AnalysisClient.h"#include "Go4EventServer.h"#include "Go4EventServerTypes.h"#include "TGo4FileStore.h"Go to the source code of this file.
Data Structures | |
| class | TGo4PrintFactory |
| class | TGo4PrintProcessor |
Macros | |
| #define | PROCESSLOOPDELAY 20 |
| #define | TERMCOUNTS 10000 |
Typedefs | |
| typedef TGo4Analysis * | UserCreateFunc(const char *name) |
Functions | |
| TGo4Analysis * | CreateDefaultAnalysis (TList *lst, const char *name, int user_argc, char **user_argv, bool doprint) |
| int | FindArg (int argc, char **argv, const char *argname) |
| const char * | GetArgValue (int argc, char **argv, const char *argname, int *pos=nullptr, bool incomplete=false) |
| TList * | GetClassesList (TList *prev=nullptr) |
| int | main (int argc, char **argv) |
| void | printsources () |
| void | showerror (const TString &msg) |
| void | usage (const char *subtopic=nullptr) |
| #define PROCESSLOOPDELAY 20 |
Definition at line 47 of file MainUserAnalysis.cxx.
Referenced by main().
| #define TERMCOUNTS 10000 |
Definition at line 49 of file MainUserAnalysis.cxx.
Referenced by main().
| typedef TGo4Analysis * UserCreateFunc(const char *name) |
Definition at line 261 of file MainUserAnalysis.cxx.
| TGo4Analysis * CreateDefaultAnalysis | ( | TList * | lst, |
| const char * | name, | ||
| int | user_argc, | ||
| char ** | user_argv, | ||
| bool | doprint ) |
Definition at line 314 of file MainUserAnalysis.cxx.
References TGo4Analysis::AddAnalysisStep(), TGo4EventSource::CheckEventClass(), TGo4Log::Debug(), TGo4StepFactory::DefEventProcessor(), TGo4StepFactory::DefInputEvent(), TGo4StepFactory::DefOutputEvent(), TGo4StepFactory::DefUserEventSource(), TGo4StepFactory::DefUserEventStore(), TGo4Log::Error(), GetArgValue(), TGo4Analysis::GetDefaultTestFileName(), GO4EV_MBS_FILE, TGo4Log::Info(), TGo4Analysis::Instance(), and TGo4Analysis::SetAnalysisName().
Referenced by main().
| int FindArg | ( | int | argc, |
| char ** | argv, | ||
| const char * | argname ) |
Definition at line 263 of file MainUserAnalysis.cxx.
Referenced by main().
| const char * GetArgValue | ( | int | argc, |
| char ** | argv, | ||
| const char * | argname, | ||
| int * | pos = nullptr, | ||
| bool | incomplete = false ) |
Definition at line 273 of file MainUserAnalysis.cxx.
Referenced by CreateDefaultAnalysis(), and main().
| TList * GetClassesList | ( | TList * | prev = nullptr | ) |
Definition at line 293 of file MainUserAnalysis.cxx.
References TGo4Log::Debug().
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 606 of file MainUserAnalysis.cxx.
References __GO4BUILDVERSION__, __GO4RELEASE__, TGo4MbsFileParameter::AddMoreFile(), TGo4Version::CheckVersion(), TGo4Log::CloseLogfile(), CreateDefaultAnalysis(), TGo4Log::EnableRedirection(), TGo4Log::Error(), TGo4Analysis::Exists(), TGo4PrintProcessor::fBufHead, TGo4PrintProcessor::fData, TGo4PrintProcessor::fFileHead, TGo4PrintProcessor::fHex, FindArg(), TGo4PrintProcessor::fLong, TGo4PrintProcessor::fSubId, TGo4Analysis::GetAnalysisStep(), TGo4Analysis::GetAnalysisStepNum(), GetArgValue(), GetClassesList(), TGo4Log::GetDefaultLogname(), TGo4AnalysisStep::GetEventSource(), TGo4AnalysisStep::GetEventStore(), TGo4Log::GO4INCPATH(), TGo4Log::Info(), TGo4Analysis::InitEventClasses(), TGo4Log::Instance(), TGo4Analysis::LoadStatus(), TGo4Log::LogfileEnable(), TGo4Log::OpenLogfile(), PROCESSLOOPDELAY, TGo4Analysis::RunImplicitLoop(), TGo4Analysis::SetAutoSave(), TGo4Analysis::SetAutoSaveFile(), TGo4Analysis::SetAutoSaveInterval(), TGo4AnalysisStep::SetErrorStopEnabled(), TGo4MbsSourceParameter::SetEventInterval(), TGo4AnalysisStep::SetEventSource(), TGo4AnalysisStep::SetEventStore(), TGo4Log::SetIgnoreLevel(), TGo4FileStore::SetMaxTreeSize(), TGo4FileStoreParameter::SetOverwriteMode(), TGo4MbsSource::SetPollingMode(), TGo4MbsSourceParameter::SetPort(), TGo4UserSourceParameter::SetPort(), TGo4AnalysisStep::SetProcessEnabled(), TGo4MbsSourceParameter::SetRetryCnt(), TGo4Analysis::SetRunningMode(), TGo4AnalysisStep::SetSourceEnabled(), TGo4MbsSourceParameter::SetStartEvent(), TGo4MbsSourceParameter::SetStopEvent(), TGo4AnalysisStep::SetStoreEnabled(), TGo4EventSourceParameter::SetTimeout(), showerror(), TGo4Analysis::StartAnalysis(), TGo4Log::subGO4SYS(), TERMCOUNTS, usage(), and TGo4Log::WriteLogfile().
Referenced by TGo4Sniffer::CmdCloseFiles(), TGo4Sniffer::CmdOpenFile(), main(), TGo4Script::ProduceScript(), TGo4Sniffer::ScanRoot(), TGo4ExampleClientStatus::SetNames(), TGo4Script::TGo4MainWindow, and TGo4Task::UpdateStatusBuffer().
| void printsources | ( | ) |
Definition at line 59 of file MainUserAnalysis.cxx.
Referenced by usage().
| void showerror | ( | const TString & | msg | ) |
Definition at line 52 of file MainUserAnalysis.cxx.
Referenced by main().
| void usage | ( | const char * | subtopic = nullptr | ) |
Definition at line 80 of file MainUserAnalysis.cxx.
References __GO4RELEASE__, and printsources().
Referenced by main(), and TGo4FitPeakFinder::SergeyLinevPeakFinder().