#include <string.h>#include <stdlib.h>#include <stdio.h>#include "TROOT.h"#include "TClass.h"#include "TClassTable.h"#include "TMethod.h"#include "TMethodArg.h"#include "TDataType.h"#include "TRint.h"#include "TSystem.h"#include "TObjString.h"#include "Riostream.h"#include "RVersion.h"#include "TSysEvtHandler.h"#include "TGo4Version.h"#include "TGo4StepFactory.h"#include "TGo4AnalysisStep.h"#include "TGo4Analysis.h"#include "TGo4AnalysisClient.h"#include "Go4EventServer.h"#include "Go4EventServerTypes.h"#include "TGo4FileStore.h"Go to the source code of this file.
Classes | |
| class | TGo4PrintProcessor |
| class | TGo4PrintFactory |
Defines | |
| #define | PROCESSLOOPDELAY 20 |
| #define | TERMCOUNTS 10000 |
Typedefs | |
| typedef TGo4Analysis *( | UserCreateFunc )(const char *name) |
Functions | |
| void | showerror (const char *msg) |
| void | printsources () |
| void | usage (const char *subtopic=0) |
| int | FindArg (int argc, char **argv, const char *argname) |
| const char * | GetArgValue (int argc, char **argv, const char *argname, int *pos=0, bool incomplete=false) |
| TList * | GetClassesList (TList *prev=0) |
| TGo4Analysis * | CreateDefaultAnalysis (TList *lst, const char *name, int user_argc, char **user_argv, bool doprint) |
| int | main (int argc, char **argv) |
| #define PROCESSLOOPDELAY 20 |
Definition at line 41 of file MainUserAnalysis.cxx.
Referenced by main().
| #define TERMCOUNTS 10000 |
Definition at line 43 of file MainUserAnalysis.cxx.
Referenced by main().
| typedef TGo4Analysis*( UserCreateFunc)(const char *name) |
Definition at line 238 of file MainUserAnalysis.cxx.
| TGo4Analysis* CreateDefaultAnalysis | ( | TList * | lst, | |
| const char * | name, | |||
| int | user_argc, | |||
| char ** | user_argv, | |||
| bool | doprint | |||
| ) |
Definition at line 289 of file MainUserAnalysis.cxx.
References TGo4EventSource::CheckEventClass(), TGo4Log::Debug(), TGo4StepFactory::DefEventProcessor(), TGo4StepFactory::DefInputEvent(), TGo4StepFactory::DefOutputEvent(), TGo4StepFactory::DefUserEventSource(), TGo4Log::Error(), GetArgValue(), GO4EV_MBS_FILE, TGo4Log::Info(), TGo4Analysis::Instance(), TGo4AnalysisStep::SetErrorStopEnabled(), TGo4AnalysisStep::SetProcessEnabled(), TGo4AnalysisStep::SetSourceEnabled(), and TGo4AnalysisStep::SetStoreEnabled().
Referenced by main().
| int FindArg | ( | int | argc, | |
| char ** | argv, | |||
| const char * | argname | |||
| ) |
Definition at line 240 of file MainUserAnalysis.cxx.
Referenced by main().
| const char* GetArgValue | ( | int | argc, | |
| char ** | argv, | |||
| const char * | argname, | |||
| int * | pos = 0, |
|||
| bool | incomplete = false | |||
| ) |
Definition at line 248 of file MainUserAnalysis.cxx.
Referenced by CreateDefaultAnalysis(), and main().
| TList* GetClassesList | ( | TList * | prev = 0 |
) |
Definition at line 268 of file MainUserAnalysis.cxx.
References TGo4Log::Debug().
Referenced by main().
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 575 of file MainUserAnalysis.cxx.
References __GO4BUILDVERSION__, TGo4MbsFileParameter::AddMoreFile(), TGo4Version::CheckVersion(), TGo4Log::CloseLogfile(), CreateDefaultAnalysis(), 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(), TGo4TaskOwner::GetName(), TGo4Log::Info(), TGo4Analysis::InitEventClasses(), TGo4Log::Instance(), TGo4TaskOwner::IsBeingQuit(), 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(), TGo4UserSourceParameter::SetPort(), TGo4MbsSourceParameter::SetPort(), TGo4AnalysisStep::SetProcessEnabled(), TGo4MbsSourceParameter::SetRetryCnt(), TGo4Analysis::SetRunningMode(), TGo4AnalysisStep::SetSourceEnabled(), TGo4MbsSourceParameter::SetStartEvent(), TGo4MbsSourceParameter::SetStopEvent(), TGo4AnalysisStep::SetStoreEnabled(), TGo4EventSourceParameter::SetTimeout(), showerror(), TERMCOUNTS, usage(), and TGo4Log::WriteLogfile().
Referenced by TGo4Sniffer::ScanRoot().
| void printsources | ( | ) |
Definition at line 53 of file MainUserAnalysis.cxx.
Referenced by usage().
| void showerror | ( | const char * | msg | ) |
Definition at line 46 of file MainUserAnalysis.cxx.
Referenced by main().
| void usage | ( | const char * | subtopic = 0 |
) |
Definition at line 71 of file MainUserAnalysis.cxx.
References __GO4RELEASE__, and printsources().
Referenced by main(), and TGo4FitPeakFinder::SergeyLinevPeakFinder().
1.7.1