GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TYYYAnalysis.h>
Public Member Functions | |
TYYYAnalysis () | |
TYYYAnalysis (int argc, char **argv) | |
virtual | ~TYYYAnalysis () |
virtual Int_t | UserPreLoop () |
virtual Int_t | UserEventFunc () |
virtual Int_t | UserPostLoop () |
Public Member Functions inherited from TGo4Analysis | |
virtual | ~TGo4Analysis () |
virtual const char * | GetName () const |
void | SetAnalysisName (const char *name) |
Int_t | MainCycle () |
Int_t | PreLoop () |
Int_t | PostLoop () |
Int_t | Process () |
Int_t | RunImplicitLoop (Int_t times, Bool_t showrate=kFALSE, Double_t process_event_interval=-1., Bool_t iswebserver=kFALSE) |
virtual void | CloseAnalysis () |
virtual Bool_t | InitEventClasses () |
TGo4AnalysisObjectManager * | ObjectManager () const |
Bool_t | AddDynamicHistogram (const char *name, const char *histo, const char *hevx, const char *hmemx, const char *hevy=0, const char *hmemy=0, const char *hevz=0, const char *hmemz=0, const char *condition=0, const char *cevx=0, const char *cmemx=0, const char *cevy=0, const char *cmemy=0) |
Bool_t | AddDynamicEntry (TGo4DynamicEntry *entry) |
Bool_t | RemoveDynamicEntry (const char *entryname, const char *listname=0) |
Bool_t | AddObject (TNamed *anything, const char *subfolder=0, Bool_t replace=kTRUE) |
TNamed * | GetObject (const char *name, const char *folder=0) |
Bool_t | RemoveObject (const char *name, Bool_t del=kTRUE) |
Bool_t | DeleteObjects (const char *name) |
Bool_t | ClearObjects (const char *name) |
Bool_t | ProtectObjects (const char *name, const Option_t *flags) |
Bool_t | ResetBackStores (Bool_t clearflag=kFALSE) |
TObject * | NextMatchingObject (const char *expr=0, const char *folder=0, Bool_t reset=kFALSE) |
TGo4TreeStructure * | CreateTreeStructure (const char *treename) |
Bool_t | AddHistogram (TH1 *his, const char *subfolder=0, Bool_t replace=kTRUE) |
Bool_t | AddTree (TTree *tree, const char *subfolder=0) |
Bool_t | RemoveTree (TTree *tree, const char *stepname=0) |
Bool_t | AddTreeHistogram (const char *hisname, const char *treename, const char *varexp, const char *cutexp) |
TH1 * | GetHistogram (const char *name) |
TTree * | GetTree (const char *name) |
Bool_t | RemoveHistogram (const char *name, Bool_t del=kTRUE) |
Bool_t | AddAnalysisCondition (TGo4Condition *con, const char *subfolder=0) |
Bool_t | SetAnalysisCondition (const char *name, TGo4Condition *con, Bool_t counter=kTRUE) |
TGo4Condition * | GetAnalysisCondition (const char *name, const char *cond_cl=0) |
Bool_t | RemoveAnalysisCondition (const char *name) |
Bool_t | AddParameter (TGo4Parameter *par, const char *subfolder=0) |
Bool_t | SetParameter (const char *name, TGo4Parameter *par) |
Bool_t | SetParameterStatus (const char *name, TGo4ParameterStatus *par) |
TGo4Parameter * | GetParameter (const char *name, const char *parameter_class=0) |
Bool_t | RemoveParameter (const char *name) |
Bool_t | AddPicture (TGo4Picture *pic, const char *subfolder=0) |
Bool_t | SetPicture (const char *name, TGo4Picture *pic) |
TGo4Picture * | GetPicture (const char *name) |
Bool_t | RemovePicture (const char *name) |
Bool_t | AddCanvas (TCanvas *can, const char *subfolder=0) |
TCanvas * | GetCanvas (const char *name) |
Bool_t | RemoveCanvas (const char *name) |
TGo4AnalysisStatus * | CreateStatus () |
TGo4AnalysisWebStatus * | CreateWebStatus () |
TGo4ObjectStatus * | CreateObjectStatus (const char *name, const char *folder=0) |
TGo4AnalysisObjectNames * | CreateNamesList () |
TFolder * | GetObjectFolder () |
void | UpdateStatus (TGo4AnalysisStatus *state) |
void | SetStatus (TGo4AnalysisStatus *state) |
Bool_t | LoadStatus (const char *filename=0) |
Bool_t | LoadObjects (const char *filename=0) |
Bool_t | SaveStatus (const char *filename=0) |
void | SetStepChecking (Bool_t on=kTRUE) |
Bool_t | SetFirstStep (const char *name) |
Bool_t | SetLastStep (const char *name) |
Bool_t | SetStepStorage (const char *name, Bool_t on) |
Bool_t | NewStepStore (const char *name, TGo4EventStoreParameter *par) |
Bool_t | NewStepSource (const char *name, TGo4EventSourceParameter *par) |
Bool_t | NewStepProcessor (const char *name, TGo4EventProcessorParameter *par) |
void | SetAutoSaveInterval (Int_t interval=0) |
void | SetAutoSaveFile (const char *filename=0, Bool_t overwrite=kFALSE, Int_t compression=5) |
Bool_t | IsAutoSaveFileName () const |
Int_t | LockAutoSave () |
Int_t | UnLockAutoSave () |
void | SetAutoSave (Bool_t on=kTRUE) |
Bool_t | IsAutoSaveOn () const |
void | SetAutoSaveFileChange (Bool_t on=kTRUE) |
Bool_t | IsAutoSaveFileChange () const |
Bool_t | IsInitDone () const |
Bool_t | IsRunning () |
void | SetRunning (Bool_t on=kTRUE) |
Int_t | WaitForStart () |
Int_t | IsErrorStopEnabled () |
void | SetNewInputFile (Bool_t on=kTRUE) |
Bool_t | IsNewInputFile () const |
void | SetInputFileName (const char *fname) |
const char * | GetInputFileName () const |
const char * | GetDefaultTestFileName () const |
void | SetDynListInterval (Int_t val) |
Int_t | GetDynListInterval () |
TGo4EventElement * | GetInputEvent (const char *stepname) |
TGo4EventElement * | GetInputEvent (Int_t stepindex) |
TGo4EventElement * | GetOutputEvent (const char *stepname) |
TGo4EventElement * | GetOutputEvent (Int_t stepindex) |
TGo4EventElement * | GetOutputEvent () |
TGo4EventElement * | GetEventStructure (const char *name) |
void | Message (Int_t prio, const char *text,...) |
void | SendObjectToGUI (TObject *ob) |
void | StartObjectServer (const char *basename, const char *passwd) |
void | StopObjectServer () |
void | SetAdministratorPassword (const char *passwd) |
void | SetControllerPassword (const char *passwd) |
void | SetObserverPassword (const char *passwd) |
virtual void | Print (Option_t *opt="") const |
void | PrintHistograms (const char *expression=0) |
void | PrintConditions (const char *expression=0) |
void | PrintParameters (const char *expression=0) |
void | PrintDynamicList () |
void | ShowEvent (const char *stepname, Bool_t isoutput=kTRUE) |
Int_t | StoreParameter (const char *name, TGo4Parameter *par) |
Int_t | StoreCondition (const char *name, TGo4Condition *con) |
Int_t | StoreFitter (const char *name, TGo4Fitter *fit) |
Int_t | StoreFolder (const char *stepname, TFolder *folder) |
Int_t | StoreFolder (const char *stepname, const char *foldername) |
void | AutoSave () |
Bool_t | AddAnalysisStep (TGo4AnalysisStep *next) |
TGo4AnalysisStep * | GetAnalysisStep (const char *name) |
TGo4AnalysisStep * | GetAnalysisStepNum (Int_t number) |
void | DefineServerPasswords (const char *admin, const char *controller, const char *observer) |
void | SetBatchLoopCount (Int_t cnt=-1) |
void | SetMakeWithAutosave (Bool_t on=kTRUE) |
Bool_t | IsObjMade () |
TH1 * | MakeTH1 (char type, const char *fullname, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, const char *xtitle=0, const char *ytitle=0) |
TH2 * | MakeTH2 (char type, const char *fullname, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t ylow, Double_t yup, const char *xtitle=0, const char *ytitle=0, const char *ztitle=0) |
TGo4WinCond * | MakeWinCond (const char *fullname, Double_t xmin, Double_t xmax, const char *HistoName=0) |
TGo4WinCond * | MakeWinCond (const char *fullname, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, const char *HistoName=0) |
TGo4PolyCond * | MakePolyCond (const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=0, Bool_t shapedcond=kFALSE) |
TGo4ShapedCond * | MakeEllipseCond (const char *fullname, Int_t npoints, Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta=0, const char *HistoName=0) |
TGo4ShapedCond * | MakeCircleCond (const char *fullname, Int_t npoints, Double_t cx, Double_t cy, Double_t r, const char *HistoName=0) |
TGo4ShapedCond * | MakeBoxCond (const char *fullname, Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta, const char *HistoName=0) |
TGo4ShapedCond * | MakeFreeShapeCond (const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=0) |
TGo4Parameter * | MakeParameter (const char *fullname, const char *classname, const char *cmd=0) |
Long_t | ExecuteScript (const char *script_name) |
Long_t | ExecutePython (const char *script_name, Int_t *errcode=0) |
Long_t | ExecuteLine (const char *command, Int_t *errcode=0) |
void | ProcessCrtlCSignal () |
void | SetSniffer (TGo4AnalysisSniffer *sniff) |
TGo4AnalysisSniffer * | GetSniffer () const |
TGo4AnalysisClient * | GetAnalysisClient () const |
void | StopAnalysis () |
void | StartAnalysis () |
void | ProcessEvents () |
Public Member Functions inherited from TGo4CommandReceiver | |
virtual | ~TGo4CommandReceiver () |
TGo4CommandReceiver () | |
Private Attributes | |
TYYYRawEvent * | fRawEvent |
TYYYUnpackEvent * | fUnpackEvent |
TH1D * | fSize |
TYYYParameter * | fPar |
Int_t | fEvents |
Int_t | fLastEvent |
Additional Inherited Members | |
Static Public Member Functions inherited from TGo4Analysis | |
static TGo4Analysis * | Instance () |
static Bool_t | Exists () |
static Bool_t | IsBatchMode () |
static Bool_t | IsClientMode () |
static Bool_t | IsServerMode () |
static void | SetRunningMode (int mode) |
Static Public Attributes inherited from TGo4Analysis | |
static const Int_t | fgiAUTOSAVECOUNTS = 500 |
static const Int_t | fgiDYNLISTINTERVAL = 1000 |
static const Int_t | fgiMACROSTARTPOLL = 1000 |
static const char * | fgcDEFAULTFILENAME ="Go4AutoSave.root" |
static const char * | fgcDEFAULTSTATUSFILENAME ="Go4AnalysisPrefs.root" |
static const char * | fgcDEFAULTFILESUF =".root" |
static const char * | fgcTOPDYNAMICLIST ="Go4DynamicList" |
static const char | fgcPYPROMPT = '$' |
static const char * | fgcPYINIT = "python/go4init.py" |
Protected Member Functions inherited from TGo4Analysis | |
TGo4Analysis (const char *name=0) | |
TGo4Analysis (int argc, char **argv) | |
void | Constructor () |
Int_t | ProcessAnalysisSteps () |
Protected Attributes inherited from TGo4Analysis | |
Bool_t | fbInitIsDone |
Bool_t | fbAutoSaveOn |
Definition at line 24 of file TYYYAnalysis.h.
TYYYAnalysis::TYYYAnalysis | ( | ) |
Definition at line 32 of file TYYYAnalysis.cxx.
References TGo4Log::Error().
TYYYAnalysis::TYYYAnalysis | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 44 of file TYYYAnalysis.cxx.
References __GO4BUILDVERSION__, TGo4Analysis::AddAnalysisStep(), TGo4Analysis::AddCanvas(), TGo4Analysis::AddParameter(), TGo4Version::CheckVersion(), TGo4StepFactory::DefEventProcessor(), TGo4StepFactory::DefInputEvent(), TGo4StepFactory::DefOutputEvent(), TGo4StepFactory::DefUserEventSource(), TGo4Log::Error(), fPar, TYYYParameter::frP1, TYYYParameter::frP2, TGo4Analysis::GetCanvas(), TGo4Analysis::GetName(), TGo4Log::Info(), TGo4AnalysisStep::SetErrorStopEnabled(), TGo4FileStoreParameter::SetOverwriteMode(), TGo4AnalysisStep::SetProcessEnabled(), TGo4AnalysisStep::SetSourceEnabled(), TGo4AnalysisStep::SetStoreEnabled(), and TGo4Analysis::TGo4AnalysisStep.
|
virtual |
Definition at line 100 of file TYYYAnalysis.cxx.
References TGo4Log::Info().
|
virtual |
User defined function which processes the actual analysis. May be called explicitly from analysis client thread, or may run in an implicit loop provided by method RunImplicit, if analysis works in a non threaded standalone mode. To be overridden in the user analysis class.
Reimplemented from TGo4Analysis.
Definition at line 155 of file TYYYAnalysis.cxx.
References fEvents, fRawEvent, fSize, and TYYYRawEvent::GetColumns().
|
virtual |
User defined function called once after processing the main event loop. Optionally.
Reimplemented from TGo4Analysis.
Definition at line 128 of file TYYYAnalysis.cxx.
References fEvents, fRawEvent, fUnpackEvent, TGo4Analysis::GetCanvas(), TGo4Analysis::GetHistogram(), and TGo4Log::Info().
|
virtual |
User defined function called once before processing the main event loop. Optionally.
Reimplemented from TGo4Analysis.
Definition at line 107 of file TYYYAnalysis.cxx.
References TGo4Analysis::AddHistogram(), TGo4Analysis::ClearObjects(), fEvents, fRawEvent, fSize, fUnpackEvent, TGo4Analysis::GetHistogram(), TGo4Analysis::GetInputEvent(), TGo4Analysis::GetOutputEvent(), and TGo4Log::Info().
|
private |
Definition at line 37 of file TYYYAnalysis.h.
Referenced by UserEventFunc(), UserPostLoop(), and UserPreLoop().
|
private |
Definition at line 38 of file TYYYAnalysis.h.
|
private |
Definition at line 36 of file TYYYAnalysis.h.
Referenced by TYYYAnalysis().
|
private |
Definition at line 33 of file TYYYAnalysis.h.
Referenced by UserEventFunc(), UserPostLoop(), and UserPreLoop().
|
private |
Definition at line 35 of file TYYYAnalysis.h.
Referenced by UserEventFunc(), and UserPreLoop().
|
private |
Definition at line 34 of file TYYYAnalysis.h.
Referenced by UserPostLoop(), and UserPreLoop().