GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Typedefs | Functions
MainUserAnalysis.cxx File Reference
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "TROOT.h"
#include "TClass.h"
#include "TCanvas.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 "TInterpreter.h"
#include "TStyle.h"
#include "TApplication.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
 

Macros

#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)
 
TGo4AnalysisCreateDefaultAnalysis (TList *lst, const char *name, int user_argc, char **user_argv, bool doprint)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

#define PROCESSLOOPDELAY   20

Definition at line 44 of file MainUserAnalysis.cxx.

Referenced by main().

#define TERMCOUNTS   10000

Definition at line 46 of file MainUserAnalysis.cxx.

Referenced by main().

Typedef Documentation

typedef TGo4Analysis*( UserCreateFunc)(const char *name)

Definition at line 249 of file MainUserAnalysis.cxx.

Function Documentation

TGo4Analysis* CreateDefaultAnalysis ( TList *  lst,
const char *  name,
int  user_argc,
char **  user_argv,
bool  doprint 
)
int FindArg ( int  argc,
char **  argv,
const char *  argname 
)

Definition at line 251 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 259 of file MainUserAnalysis.cxx.

Referenced by CreateDefaultAnalysis(), and main().

TList* GetClassesList ( TList *  prev = 0)

Definition at line 279 of file MainUserAnalysis.cxx.

References TGo4Log::Debug().

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 586 of file MainUserAnalysis.cxx.

References __GO4BUILDVERSION__, 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(), TGo4TaskOwner::GetName(), TGo4Log::GO4INCPATH(), 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(), TGo4Analysis::StartAnalysis(), TGo4Log::subGO4SYS(), TERMCOUNTS, usage(), and TGo4Log::WriteLogfile().

Referenced by TGo4Sniffer::CmdCloseFiles(), TGo4Sniffer::CmdOpenFile(), TGo4Sniffer::ScanRoot(), TGo4ExampleClientStatus::SetNames(), and TGo4Task::UpdateStatusBuffer().

void printsources ( )

Definition at line 56 of file MainUserAnalysis.cxx.

Referenced by usage().

void showerror ( const char *  msg)

Definition at line 49 of file MainUserAnalysis.cxx.

Referenced by main().

void usage ( const char *  subtopic = 0)

Definition at line 74 of file MainUserAnalysis.cxx.

References __GO4RELEASE__, and printsources().

Referenced by main(), and TGo4FitPeakFinder::SergeyLinevPeakFinder().