#include <TGo4AnalysisImp.h>
Inheritance diagram for TGo4Analysis:
Public Member Functions | |
virtual | ~TGo4Analysis () |
Int_t | MainCycle () |
The main analysis event cycle. | |
Int_t | PreLoop () |
Method executed once before the main analysis event loop. | |
Int_t | PostLoop () |
Method executed once after the main analysis event loop. | |
Int_t | Process () |
This method is meant to be called from a go4 cintserver macro in an explicit event loop. | |
virtual Int_t | UserEventFunc () |
User defined function which processes the actual analysis. | |
virtual Int_t | UserPreLoop () |
User defined function called once before processing the main event loop. | |
virtual Int_t | UserPostLoop () |
User defined function called once after processing the main event loop. | |
Int_t | RunImplicitLoop (Int_t times) |
Processes the UserEventFunc in an implicit loop for "times" times. | |
virtual void | CloseAnalysis () |
Finish the analysis run and close all event sources/storages. | |
virtual Bool_t | InitEventClasses () |
Initialization of the event class plugins which are delivered from the user defined event factory. | |
TGo4AnalysisObjectManager * | ObjectManager () const |
Add (create) new dynamic histogram entry which connects an existing histogram with existing condition and data. | |
Bool_t | AddDynamicHistogram (const Text_t *name, const Text_t *histo, const Text_t *hevx, const Text_t *hmemx, const Text_t *hevy=0, const Text_t *hmemy=0, const Text_t *hevz=0, const Text_t *hmemz=0, const Text_t *condition=0, const Text_t *cevx=0, const Text_t *cmemx=0, const Text_t *cevy=0, const Text_t *cmemy=0) |
Bool_t | AddDynamicEntry (TGo4DynamicEntry *entry) |
Set dynamic entry of name "name" to the values specified by external dynamic entry status "state". | |
Bool_t | RemoveDynamicEntry (const Text_t *entryname, const Text_t *listname=0) |
Remove entry of that name from dynamic list of listname. | |
Bool_t | AddObject (TNamed *anything, const Text_t *subfolder=0, Bool_t replace=kTRUE) |
Add any external object to the user object folder. | |
TNamed * | GetObject (const Text_t *name, const Text_t *folder=0) |
Searches for object by name in all directories. | |
Bool_t | RemoveObject (const Text_t *name, Bool_t del=kTRUE) |
Removes object from user object folder by name. | |
Bool_t | DeleteObjects (const Text_t *name) |
Delete object of name, or all objects in folder name, respectively. | |
Bool_t | ClearObjects (const Text_t *name) |
Clear (reset) the specified objects. | |
Bool_t | ProtectObjects (const Text_t *name, const Option_t *flags) |
Change protection properties of object name as specified. | |
Bool_t | ResetBackStores (Bool_t clearflag=kFALSE) |
Clear previous events of backstore tree. | |
TObject * | NextMatchingObject (const Text_t *expr=0, const Text_t *folder=0, Bool_t reset=kFALSE) |
Delivers pointer to next object of the Go4 folder structure with a name matching the expression expr. | |
TGo4TreeStructure * | CreateTreeStructure (const Text_t *treename) |
Create a tree structure for a certain tree by name. | |
Bool_t | AddHistogram (TH1 *his, const Text_t *subfolder=0, Bool_t replace=kTRUE) |
Add external histogram to go4 histogram directory. | |
Bool_t | AddTree (TTree *tree, const Text_t *subfolder=0) |
Add reference to a tree in the go4 folder structure. | |
Bool_t | RemoveTree (TTree *tree, const Text_t *stepname=0) |
Remove reference to a tree in the go4 folder structure. | |
Bool_t | AddTreeHistogram (const char *hisname, const char *treename, const char *varexp, const char *cutexp) |
Add Histogram into the dynamic list wich is linked to a tree. | |
TH1 * | GetHistogram (const Text_t *name) |
Search histogram in histogram list (directory). | |
TTree * | GetTree (const Text_t *name) |
Search tree in tree folder. | |
Bool_t | RemoveHistogram (const Text_t *name, Bool_t del=kTRUE) |
Removes histogram from histogram dir by name. | |
Bool_t | AddAnalysisCondition (TGo4Condition *con, const Text_t *subfolder=0) |
Puts a new analysis condition object in corresponding list. | |
Bool_t | SetAnalysisCondition (const Text_t *name, TGo4Condition *con, Bool_t counter=kTRUE) |
Set existing analysis condition of name to the values of external condition object con. | |
TGo4Condition * | GetAnalysisCondition (const Text_t *name) |
Retrieves an analysis condition from list by name. | |
Bool_t | RemoveAnalysisCondition (const Text_t *name) |
Removes analysis condition from list by name. | |
Bool_t | AddParameter (TGo4Parameter *par, const Text_t *subfolder=0) |
Puts a new parameter object in corresponding folder. | |
Bool_t | SetParameter (const char *name, TGo4Parameter *par) |
Set existing parameter of name to the values of external parameter object par. | |
Bool_t | SetParameterStatus (const char *name, TGo4ParameterStatus *par) |
Set existing parameter of name to the values of external parameter status object. | |
TGo4Parameter * | GetParameter (const Text_t *name) |
Retrieves a parameter object by name from the object folder. | |
Bool_t | RemoveParameter (const Text_t *name) |
Removes parameter by name. | |
Bool_t | AddPicture (TGo4Picture *pic, const Text_t *subfolder=0) |
Puts a new picture object in corresponding folder. | |
Bool_t | SetPicture (const Text_t *name, TGo4Picture *pic) |
Set existing picture of name to the values of external picture object pic. | |
TGo4Picture * | GetPicture (const Text_t *name) |
Retrieves a picture object by name from the object folder. | |
Bool_t | RemovePicture (const Text_t *name) |
Removes picture by name. | |
Bool_t | AddCanvas (TCanvas *can, const Text_t *subfolder=0) |
Puts a new TCanvas in corresponding folder. | |
TCanvas * | GetCanvas (const Text_t *name) |
Retrieves a TCanvas by name from the Canvases folder. | |
Bool_t | RemoveCanvas (const Text_t *name) |
Removes TCanvas by name. | |
TGo4AnalysisStatus * | CreateStatus () |
Create a copy of the analysis internal state. | |
TGo4ObjectStatus * | CreateObjectStatus (const Text_t *name, const Text_t *folder=0) |
Find Object of name in the folder structure and create a complete status object of it. | |
TGo4AnalysisObjectNames * | CreateNamesList () |
Creates a list of names (keys) of all objects in analysis directories. | |
TFolder * | GetObjectFolder () |
Access to top level go4 folder. | |
void | UpdateStatus (TGo4AnalysisStatus *state) |
Create a copy of the analysis internal state. | |
void | SetStatus (TGo4AnalysisStatus *state) |
Set all analysis parameters to that of given status object. | |
Bool_t | LoadStatus (const Text_t *filename=0) |
Load Analysis Status from file and set analysis to these settings. | |
Bool_t | LoadObjects (const Text_t *filename=0) |
Load analysis objects from file. | |
Bool_t | SaveStatus (const Text_t *filename=0) |
Save current analysis settings into file of given name. | |
void | SetStepChecking (Bool_t on=kTRUE) |
Enable or disable check of subsequent analysis step for io consistency. | |
Bool_t | SetFirstStep (const Text_t *name) |
Sets analysis step name as first one to be processed in the chain of steps. | |
Bool_t | SetLastStep (const Text_t *name) |
Sets analysis step name as last one to be processed in the chain of steps. | |
Bool_t | SetStepStorage (const Text_t *name, Bool_t on) |
Enables analysis step of name to write its output event into its event store. | |
Bool_t | NewStepStore (const Text_t *name, TGo4EventStoreParameter *par) |
Shuts down the old analysis step storage and creates a new one specified by parameter par. | |
Bool_t | NewStepSource (const Text_t *name, TGo4EventSourceParameter *par) |
Shuts down the old analysis step event source and creates a new one specified by parameter par. | |
Bool_t | NewStepProcessor (const Text_t *name, TGo4EventProcessorParameter *par) |
Shuts down the old analysis step processor and creates a new one specified by parameter par. | |
void | SetAutoSaveInterval (Int_t interval=0) |
Set time interval (in s) for autosave action. | |
void | SetAutoSaveFile (const Text_t *filename=0, Bool_t overwrite=kFALSE, Int_t compression=5) |
Set file for autosave action. | |
Int_t | LockAutoSave () |
Lock the autosave mutex. | |
Int_t | UnLockAutoSave () |
UnLock the autosave mutex. | |
void | SetAutoSave (Bool_t on=kTRUE) |
enable/disable functionality of AutoSave method | |
Bool_t | IsAutoSaveOn () const |
True if autosaving is enabled. | |
void | SetAutoSaveFileChange (Bool_t on=kTRUE) |
Set analysis in mode where autosave file switches for each new input file. | |
Bool_t | IsAutoSaveFileChange () const |
True if autosave file is changed according to the current input file of lmd file list. | |
Bool_t | IsInitDone () const |
True if the analysis steps are initialized. | |
Bool_t & | IsRunning () |
True if the analysis as controlled by slave process is running. | |
void | SetRunning (Bool_t on=kTRUE) |
Switch slave process into running state. | |
Int_t | WaitForStart () |
Poll on the IsRunning state with sleep delay, returns number of wait cycles. | |
void | StopWaiting () |
Called by interrupt routine for normal exit from WaitForStart() function. | |
Int_t | IsErrorStopEnabled () |
True if current analysis step allows stop on error. | |
void | SetNewInputFile (Bool_t on=kTRUE) |
Set flag that input file has changed. | |
Bool_t | IsNewInputFile () const |
True if input filelist has changed to a new lmd file. | |
void | SetDynListInterval (Int_t val) |
Int_t | GetDynListInterval () |
TGo4EventElement * | GetInputEvent (const char *stepname) |
Returns the input event structure of analysis step. | |
TGo4EventElement * | GetInputEvent (Int_t stepindex) |
Returns the input event structure of analysis step. | |
TGo4EventElement * | GetOutputEvent (const char *stepname) |
Returns the output event (detector) structure of analysis step. | |
TGo4EventElement * | GetOutputEvent (Int_t stepindex) |
Returns the output event (detector) structure of analysis step. | |
TGo4EventElement * | GetOutputEvent () |
Returns the output event (detector) structure of analysis step. | |
TGo4EventElement * | GetEventStructure (const Text_t *name) |
Search reference to event stucture in folder. | |
void | Message (Int_t prio, const Text_t *text,...) |
Display a user message. | |
void | SendObjectToGUI (TNamed *ob) |
User May send any named object via data channel to the gui. | |
void | StartObjectServer (const Text_t *basename, const Text_t *passwd) |
Start the object (histogram) server. | |
void | StopObjectServer () |
Stop the object (histogram) server. | |
void | SetAdministratorPassword (const char *passwd) |
Specify password for administrator account. | |
void | SetControllerPassword (const char *passwd) |
Specify password for controller account. | |
void | SetObserverPassword (const char *passwd) |
Specify password for observer account. | |
virtual void | Print (Option_t *opt="") const |
Printout the analysis (step-) setup. | |
void | PrintHistograms (const Text_t *expression=0) |
Printout of all histogram statistic counters on the terminal. | |
void | PrintConditions (const Text_t *expression=0) |
Print all condition counters to the terminal. | |
void | PrintDynamicList () |
Print entries of current dynamic list. | |
void | ShowEvent (const Text_t *stepname, Bool_t isoutput=kTRUE) |
Printout event content of single current event to analysis terminal (using ROOT TTree::Show method). | |
Int_t | StoreParameter (const Text_t *name, TGo4Parameter *par) |
Write object obj into eventstore of the step specified by name. | |
Int_t | StoreCondition (const Text_t *name, TGo4Condition *con) |
Write condition con into eventstore of the step specified by name. | |
Int_t | StoreFitter (const Text_t *name, TGo4Fitter *fit) |
Write fitter fit into eventstore of the step specified by name. | |
Int_t | StoreFolder (const Text_t *stepname, TFolder *folder) |
Write folder into eventstore of the step specified by name. | |
Int_t | StoreFolder (const Text_t *stepname, const Text_t *foldername) |
Write registered folder of foldername to the step store of stepname. | |
void | AutoSave () |
Perform autosave of all active stores, save existing calibration objects, write known objects into user file. | |
Bool_t | AddAnalysisStep (TGo4AnalysisStep *next) |
Method for user analysis constructor to setup the list of analyisis steps. | |
TGo4AnalysisStep * | GetAnalysisStep (const Text_t *name) |
Access to certain analysis step by name. | |
Static Public Member Functions | |
static TGo4Analysis * | Instance () |
static Bool_t | Exists () |
Static Public Attributes | |
static const Int_t | fgiAUTOSAVECOUNTS = 500 |
Definition of default autosave interval. | |
static const Int_t | fgiGO4VERSION = __GO4BUILDVERSION__ |
Version Number of the Go4 build. | |
static const Int_t | fgiDYNLISTINTERVAL = 1000 |
This value is the number of events in between subsequent dynamic list processing. | |
static const Int_t | fgiMACROSTARTPOLL = 1000 |
Time in ms to sleep in the polling loop of the WaitForStart. | |
static const Text_t | fgcDEFAULTFILENAME [] = "Go4AutoSave.root" |
standard file name | |
static const Text_t | fgcDEFAULTSTATUSFILENAME [] = "Go4AnalysisPrefs.root" |
standard file name for analysis settings | |
static const Text_t | fgcDEFAULTFILESUF [] = ".root" |
filename suffix for object file | |
static const Text_t | fgcTOPDYNAMICLIST [] = "Go4DynamicList" |
Default name of the default (toplevel) dynamic list. | |
Protected Member Functions | |
TGo4Analysis () | |
Protected constructor for singleton instance. | |
Int_t | ProcessAnalysisSteps () |
Uses the chain of analysis steps to process the first input event into an output event which then is accessible at the output event member. | |
Protected Attributes | |
Bool_t | fbInitIsDone |
True if analysis framework has been initialized and the event classes are created. | |
Bool_t | fbAutoSaveOn |
True if Autosaving is enabled (default). | |
Private Member Functions | |
TTree * | CreateSingleEventTree (const Text_t *name, Bool_t isoutput=kTRUE) |
Create a tree that is filled with one single event sample. | |
TTree * | CreateSingleEventTree (TGo4EventElement *event) |
Create a tree that is filled with one single event sample. | |
void | UpdateNamesList () |
Update the internal list of object names. | |
TGo4AnalysisObjectNames * | GetNamesList () const |
Returns the nameslist of the go4 object directory structure. | |
void | SetOutputEvent (TGo4EventElement *event) |
Sets the current output event (detector) structure. | |
Bool_t | AddEventStore (TGo4EventStore *store) |
Add reference to event store object to Go4 Folder structure. | |
Bool_t | RemoveEventStore (TGo4EventStore *store) |
Remove reference to event store from go4 folder structure. | |
Bool_t | AddEventSource (TGo4EventSource *source) |
Add reference to event source object to Go4 Folder structure. | |
Bool_t | RemoveEventSource (TGo4EventSource *source) |
Remove reference to event source from go4 folder structure. | |
Bool_t | AddEventProcessor (TGo4EventProcessor *pro) |
Add reference to event processor object to Go4 Folder structure. | |
Bool_t | RemoveEventProcessor (TGo4EventProcessor *pro) |
Remove reference to event processor from go4 folder structure. | |
Bool_t | AddEventStructure (TGo4EventElement *ev) |
Add reference to event structure object to Go4 Folder structure. | |
Bool_t | RemoveEventStructure (TGo4EventElement *ev) |
Remove reference to event structure from go4 folder structure. | |
void | SetAnalysisClient (TGo4AnalysisClient *cli) |
Register analysis client if running in gui mode. | |
void | SendMessageToGUI (Int_t level, Bool_t printout, const char *text) |
Send message string in a status object to the gui. | |
void | OpenAutoSaveFile () |
Open the autosave file with the current settings. | |
void | CloseAutoSaveFile () |
Close the autosave file if existing. | |
Private Attributes | |
TGo4AnalysisClient * | fxAnalysisSlave |
Optional backpointer to analysis client if running in gui mode. | |
TGo4AnalysisStepManager * | fxStepManager |
1 | |
TGo4AnalysisObjectManager * | fxObjectManager |
1 | |
Int_t | fiAutoSaveCount |
Event counter for autosave mechanism. | |
TStopwatch * | fxAutoSaveClock |
Clock for autosave by time mechanism. | |
Int_t | fiAutoSaveInterval |
Implicit Loop cycles in between two autosave actions. | |
Int_t | fiAutoSaveCompression |
compression level for autosave file | |
TMutex * | fxAutoSaveMutex |
Mutex protecting the autosave file access. | |
TFile * | fxAutoFile |
Optional file for autosave of the important objects. | |
TString | fxAutoFileName |
Name of the autosave file. | |
Bool_t | fbAutoSaveOverwrite |
True if autosave file is in overwrite mode. | |
TString | fxConfigFilename |
name of configuration file used for this setup | |
Bool_t | fbNewInputFile |
True if input file of multiple file input has changed. | |
Bool_t | fbAutoSaveFileChange |
True if autosave name shall be changed when input file of multiple file input has changed. | |
TGo4EventElement * | fxSampleEvent |
this holds event sample for the SingleEventTree. | |
TGo4AnalysisObjectNames * | fxObjectNames |
1 | |
Bool_t | fbStopWatingFlag |
used for exit from WaitForStart() routine by interrupt | |
Static Private Attributes | |
static TGo4Analysis * | fxInstance = 0 |
Static Pointer to the analysis singleton instance. | |
static Bool_t | fbExists = kFALSE |
This is used to check from outsid if an analysis is already there. | |
Friends | |
class | TGo4AnalysisStep |
class | TGo4AnalysisClient |
class | TGo4ComGetCurrentEvent |
class | TGo4ComGetNamesList |
class | TGo4ComGetEnvelope |
class | TGo4ComSetObject |
class | TGo4HisConnectorRunnable |
class | TGo4HistogramServer |
Provides services to organize events, histogram data, and everything. May run standalone in batch mode, or may be aggregated by analysis client for threaded online control. User has to derive his/her own analysis from this base class and override the virtual user event function and set event factory methods.
Definition at line 65 of file TGo4AnalysisImp.h.
|
Definition at line 162 of file TGo4AnalysisImp.cxx. References CloseAnalysis(), CloseAutoSaveFile(), fxAutoSaveClock, fxInstance, fxObjectManager, fxObjectNames, fxSampleEvent, fxStepManager, TRACE, and TGo4CommandInvoker::UnRegister(). |
|
Protected constructor for singleton instance.
Definition at line 108 of file TGo4AnalysisImp.cxx. References __GO4RELEASE__, fbExists, fgcDEFAULTFILENAME, fgcDEFAULTSTATUSFILENAME, fgiDYNLISTINTERVAL, fgiGO4VERSION, fxAutoFileName, fxAutoSaveClock, fxAutoSaveMutex, fxConfigFilename, fxInstance, fxObjectManager, fxStepManager, TGo4CommandInvoker::Instance(), TGo4Version::Instance(), Message(), TGo4CommandInvoker::Register(), TGo4CommandInvoker::SetCommandList(), SetDynListInterval(), and TRACE. |
|
|
Definition at line 102 of file TGo4AnalysisImp.cxx. References fbExists. |
|
The main analysis event cycle. This method is called by the main runnable, or by RunImplicitLoop(). Processes the analysis steps first, then the user event function. Finally, the dynamic list is updated. Definition at line 211 of file TGo4AnalysisImp.cxx. References AutoSave(), fbAutoSaveOn, fbInitIsDone, fiAutoSaveCount, fiAutoSaveInterval, fxAnalysisSlave, fxAutoSaveClock, fxObjectManager, Message(), ProcessAnalysisSteps(), TGo4AnalysisObjectManager::ProcessDynamicList(), TGo4AnalysisClient::TestBufferUpdateConditions(), TRACE, TGo4AnalysisClient::UpdateRate(), TGo4Slave::UpdateStatusBuffer(), and UserEventFunc(). Referenced by Process(), TGo4AnalysisMainRunnable::Run(), and RunImplicitLoop(). |
|
Method executed once before the main analysis event loop. This method is called by the thread prerun, or at the beginning of RunImplicitLoop(). Calls virtual user preloop function. Definition at line 743 of file TGo4AnalysisImp.cxx. References fiAutoSaveCount, fxAutoSaveClock, fxAutoSaveMutex, TRACE, and UserPreLoop(). Referenced by TGo4ComInitAnalysis::ExeCom(), RunImplicitLoop(), and TGo4AnalysisClient::Start(). |
|
Method executed once after the main analysis event loop. This method is called by the thread postrun, or at the end of RunImplicitLoop(). Calls virtual user postloop function. Definition at line 755 of file TGo4AnalysisImp.cxx. References fbInitIsDone, fxAutoSaveMutex, TRACE, and UserPostLoop(). Referenced by TGo4ComSetAnalysisStatus::ExeCom(), TGo4AnalysisMainRunnable::PostRun(), RunImplicitLoop(), and TGo4AnalysisClient::Stop(). |
|
This method is meant to be called from a go4 cintserver macro in an explicit event loop. It executes any queued commands and calls MainCycle() once, protected by main go4 lockguard. Returns 0 if analysis has IsRunning() state true; returns negative value if IsRunning() is false. Definition at line 263 of file TGo4AnalysisImp.cxx. References fxAnalysisSlave, TGo4Log::GetIgnoreLevel(), IsErrorStopEnabled(), IsRunning(), MainCycle(), Message(), TGo4AnalysisClient::Stop(), and TRACE. |
|
User defined function which processes the actual analysis. May be called explicitely from analysis client thread, or may run in an implicit loop provided by method RunImplicit, if analyis works in a non threaded standalone mode. To be overridden in the user analysis class. Reimplemented in TXXXAnalysis, TXXXAnalysis, TMeshAnalysis, and TYYYAnalysis. Definition at line 256 of file TGo4AnalysisImp.cxx. References TRACE. Referenced by MainCycle(). |
|
User defined function called once before processing the main event loop. Optionally. Reimplemented in TXXXAnalysis, TXXXAnalysis, TMeshAnalysis, and TYYYAnalysis. Definition at line 772 of file TGo4AnalysisImp.cxx. References Message(), and TRACE. Referenced by PreLoop(). |
|
User defined function called once after processing the main event loop. Optionally. Reimplemented in TXXXAnalysis, TXXXAnalysis, TMeshAnalysis, and TYYYAnalysis. Definition at line 780 of file TGo4AnalysisImp.cxx. References Message(), and TRACE. Referenced by PostLoop(). |
|
Processes the UserEventFunc in an implicit loop for "times" times. For non-threaded usage of the analysis class. Definition at line 433 of file TGo4AnalysisImp.cxx. References MainCycle(), Message(), PostLoop(), PreLoop(), and TRACE. Referenced by main(). |
|
Finish the analysis run and close all event sources/storages. The analysis instance and the setup of the analysis steps is not deleted. Definition at line 729 of file TGo4AnalysisImp.cxx. References AutoSave(), TGo4AnalysisObjectManager::CloseAnalysis(), TGo4AnalysisStepManager::CloseAnalysis(), fbInitIsDone, fxObjectManager, fxStepManager, and TRACE. Referenced by SetStatus(), and ~TGo4Analysis(). |
|
Initialization of the event class plugins which are delivered from the user defined event factory. The virtual standard base class method may be changed by overriding; normally, this is not necessary. Definition at line 186 of file TGo4AnalysisImp.cxx. References fbInitIsDone, fxStepManager, TGo4AnalysisStepManager::InitEventClasses(), LoadObjects(), Message(), TRACE, and UpdateNamesList(). Referenced by TGo4ComInitAnalysis::ExeCom(), TGo4AnalysisClient::Initialization(), and main(). |
|
Add (create) new dynamic histogram entry which connects an existing histogram with existing condition and data. Dynamic entry is specified by name. Histogram histo will be searched in registered histograms folder, condition in conditions folder. If condition is true or not existing (condition=0), histogram will be filled from the values that are found in registered eventstructure classes of names evx, evy, evz at the data members of names memx, memy, memz, for the three coordinate axes, respectively. Histogram dimension is checked against given values. Definition at line 166 of file TGo4AnalysisImp.h. References fxObjectManager. |
|
Definition at line 1108 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::AddDynamicHistogram(), and fxObjectManager. |
|
Set dynamic entry of name "name" to the values specified by external dynamic entry status "state". If no dynamic entry of that name exists, a new entry is created with the properties of the state, and added to the current dynamic list. Definition at line 1433 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::AddDynamicEntry(), and fxObjectManager. Referenced by TGo4ComSetObject::ExeSetDyn(). |
|
Remove entry of that name from dynamic list of listname. The referred objects (histograms, conditions..) are still on heap, since they are owned by their special folders. Definition at line 512 of file TGo4AnalysisImp.cxx. References fxObjectManager, TGo4AnalysisObjectManager::RemoveDynamicEntry(), TRACE, and UpdateNamesList(). |
|
Add any external object to the user object folder. Object is owned by go4 aferwards and will be saved automatically. Object is accessible by name from the go4 display and from the analysis itself. Subfolder of UserObjects may be specified. If replace is true, old object of same name will be deleted and replaced by the added one. Definition at line 1154 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::AddObject(), and fxObjectManager. Referenced by TGo4ComSetObject::ExeSetObj(). |
|
Searches for object by name in all directories. Returns pointer to object. If object of that name does not exist, null is returned. Optionally, folder may be specified to search in. Definition at line 1214 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::GetObject(). Referenced by TGo4HistogramServer::HandleObjectRequest(), TGo4HisConnectorRunnable::Run(), and TGo4AnalysisClient::SendAnalysisObject(). |
|
Removes object from user object folder by name. Returns kFALSE if no such histogram. Object is deleted on heap only if del is true. Otherwise, user owns the object afterwords. Definition at line 1281 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::RemoveObject(). |
|
Delete object of name, or all objects in folder name, respectively. Objects are only deleted if delete protection is false. Usually, Objects registered from user code are delete protected by default. Objects created dynamically from gui are not delete protected. Definition at line 1318 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::DeleteObjects(), and fxObjectManager. Referenced by TGo4ComDeleteObject::ExeCom(). |
|
Clear (reset) the specified objects. Method will first clear all objects in any folder if it is matching the namestring. If no such folder exists, object of name is searched and cleared. Returns kFALSE in case of not found objects. Definition at line 1323 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::ClearObjects(), and fxObjectManager. Referenced by TGo4ComClearObject::ExeCom(), TGo4MbsFile::NewFileAction(), and TYYYAnalysis::UserPreLoop(). |
|
Change protection properties of object name as specified. If object is a folder, change properties of all objects in this folder recursively. Flags may contain key letters like: "+C"/"-C" to enable/disable protection against Clear()(histogram zeroing etc). "+D"/"-D" to enable/disable protection against object deletion For example flags="+C-D", "+C+D", "-D-C", "-C" Properties not appearing in flags are not changed. Definition at line 1328 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::ProtectObjects(). Referenced by TGo4ComSetProtections::ExeCom(). |
|
Clear previous events of backstore tree. For reset of dynamic tree histogram If called with clearflag=true, do not reset tree, but only clear the backstore reset bit (done after processing of complete dynamic list) Definition at line 1333 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::ResetBackStores(). |
|
Delivers pointer to next object of the Go4 folder structure with a name matching the expression expr. If reset is true, The list of matchint objects will be created anew by comparing all names with expr. If reset is false, the next object of a previously created matching list is returned. Optionally the search can be limited to a given folder. Definition at line 1380 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::NextMatchingObject(). |
|
Create a tree structure for a certain tree by name.
Definition at line 1256 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::CreateTreeStructure(), and fxObjectManager. |
|
Add external histogram to go4 histogram directory. Histogram will be owned and streamed by go4 histogram list afterwards. Definition at line 1149 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::AddHistogram(), and fxObjectManager. Referenced by TGo4ComSetObject::ExeSetHis(), TYYYAnalysis::UserPreLoop(), and TMeshAnalysis::UserPreLoop(). |
|
Add reference to a tree in the go4 folder structure. If name of subfolder is given, tree will be assigned to subfolder (e.g. subfolder with analysis step name). If subfolder name is zero, the tree will be put into general tree folder. Definition at line 1176 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::AddTree(), fxObjectManager, and TGo4Status::kGo4BackStoreReset. Referenced by TGo4AnalysisStep::NewEventStore(). |
|
Remove reference to a tree in the go4 folder structure. If name of analysis step is given, tree will be assigned to folder dedicated to that step. In stepname is zero, the tree will be put into general tree folder. Definition at line 1303 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::RemoveTree(). Referenced by TGo4AnalysisStep::CloseEventStore(). |
|
Add Histogram into the dynamic list wich is linked to a tree. If Histogram of hisname already exists, this histogram will taken. if not, the histogram will be created on first TTree::Draw. Strings varexp and selection are used for applying cuts and variables to plot. Definition at line 1122 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::AddTreeHistogram(), fxObjectManager, and UpdateNamesList(). Referenced by TGo4ComAddTreeHistogram::ExeCom(). |
|
Search histogram in histogram list (directory).
Definition at line 1209 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::GetHistogram(). Referenced by TGo4DynamicList::ProcessHEntry(), TGo4HisConnectorRunnable::Run(), TYYYAnalysis::UserPostLoop(), TYYYAnalysis::UserPreLoop(), and TMeshAnalysis::UserPreLoop(). |
|
Search tree in tree folder.
Definition at line 1235 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::GetTree(). |
|
Removes histogram from histogram dir by name. Returns kFALSE if no such index. Histogram object is deleted on heap. Dynamic list entry for that histogram object is also removed. Definition at line 1276 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::RemoveHistogram(). |
|
Puts a new analysis condition object in corresponding list. Object is owned by list afterwards. Returns false if object of that name already exists in list. Definition at line 1184 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::AddAnalysisCondition(), and fxObjectManager. |
|
Set existing analysis condition of name to the values of external condition object con. Used to set condition by command from gui, or to update the precompiled condition from the values that were saved to the autosave file. Definition at line 1338 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::SetAnalysisCondition(). Referenced by TGo4ComSetObject::ExeSetCon(). |
|
Retrieves an analysis condition from list by name. Returns 0 if no such condtion. Definition at line 1189 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::GetAnalysisCondition(). Referenced by TGo4DynamicList::ProcessHEntry(). |
|
Removes analysis condition from list by name. Returns 0 if no such condition. Condition object is deleted on heap. Definition at line 1308 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::RemoveAnalysisCondition(). |
|
Puts a new parameter object in corresponding folder. Object is owned by folder afterwards. Returns false if object of that name already exists in list. Definition at line 1159 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::AddParameter(), and fxObjectManager. Referenced by TMeshAnalysis::TMeshAnalysis(), TXXXAnalysis::TXXXAnalysis(), and TYYYAnalysis::TYYYAnalysis(). |
|
Set existing parameter of name to the values of external parameter object par. Used to set parameter by command from gui, or to update the precompiled parameter from the values that were saved to the autosave file. Definition at line 1344 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::SetParameter(). Referenced by TGo4ComSetObject::ExeSetPar(). |
|
Set existing parameter of name to the values of external parameter status object. Used to set parameter by command from gui, or to update the precompiled parameter from the values that were saved to the autosave file. Definition at line 1349 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::SetParameterStatus(). Referenced by TGo4ComSetObject::ExeSetParStatus(). |
|
Retrieves a parameter object by name from the object folder. Returns 0 if no such paramter. Definition at line 1219 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::GetParameter(). |
|
Removes parameter by name. Returns 0 if no such parameter. Parameter object is deleted on heap. Definition at line 1288 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::RemoveParameter(). |
|
Puts a new picture object in corresponding folder. Object is owned by folder afterwards. Returns false if object of that name already exists in list. Definition at line 1164 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::AddPicture(), and fxObjectManager. |
|
Set existing picture of name to the values of external picture object pic. Used to set picture by command from gui, or to update the precompiled picture from the values that were saved to the autosave file. Definition at line 1354 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::SetPicture(). Referenced by TGo4ComSetObject::ExeSetPic(). |
|
Retrieves a picture object by name from the object folder. Returns 0 if no such picture. Definition at line 1224 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::GetPicture(). |
|
Removes picture by name. Returns 0 if no such picture. Picture object is deleted on heap. Definition at line 1293 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::RemovePicture(). |
|
Puts a new TCanvas in corresponding folder. Object is owned by folder afterwards. Returns false if object of that name already exist. Definition at line 1169 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::AddCanvas(), and fxObjectManager. Referenced by TYYYAnalysis::TYYYAnalysis(). |
|
Retrieves a TCanvas by name from the Canvases folder. Returns 0 if no such object. Definition at line 1229 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::GetCanvas(). Referenced by TYYYAnalysis::UserPostLoop(). |
|
Removes TCanvas by name. Returns 0 if no such canvas. TCanvas object is deleted on heap. Definition at line 1298 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::RemoveCanvas(). |
|
Create a copy of the analysis internal state. To be sent to the Display. Definition at line 670 of file TGo4AnalysisImp.cxx. References TRACE, and UpdateStatus(). Referenced by TGo4ComGetAnalysisStatus::ExeCom(), Print(), SaveStatus(), and TGo4AnalysisClient::SendAnalysisStatus(). |
|
Find Object of name in the folder structure and create a complete status object of it. Used by GUI command to get updated information on certain object. Definition at line 1251 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::CreateObjectStatus(), and fxObjectManager. Referenced by TGo4ComGetObjectStatus::ExeCom(). |
|
Creates a list of names (keys) of all objects in analysis directories.
Definition at line 1240 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::CreateNamesList(), and fxObjectManager. Referenced by UpdateNamesList(). |
|
Access to top level go4 folder. For histogram server. Definition at line 1245 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::GetObjectFolder(). Referenced by TGo4ComSetObject::ExeCom(), TGo4HisConnectorRunnable::Run(), and StoreFolder(). |
|
Create a copy of the analysis internal state. To be sent to the Display. Definition at line 525 of file TGo4AnalysisImp.cxx. References fbAutoSaveOn, fbAutoSaveOverwrite, fiAutoSaveCompression, fiAutoSaveInterval, fxAutoFileName, fxConfigFilename, fxStepManager, TGo4AnalysisStatus::SetAutoFileName(), TGo4AnalysisStatus::SetAutoSaveCompression(), TGo4AnalysisStatus::SetAutoSaveInterval(), TGo4AnalysisStatus::SetAutoSaveOn(), TGo4AnalysisStatus::SetAutoSaveOverwrite(), TGo4AnalysisStatus::SetConfigFileName(), TRACE, and TGo4AnalysisStepManager::UpdateStatus(). Referenced by CreateStatus(). |
|
Set all analysis parameters to that of given status object. Analysis will be stopped, all steps are closed (deleted). Then analysis steps are created due to list of analysis step status objects encapsulated in the analysis status object. This method does _not_ initialize the analysis due to the new parameters; this is left to InitEventClasses. Definition at line 542 of file TGo4AnalysisImp.cxx. References CloseAnalysis(), fxStepManager, SetAutoSave(), SetAutoSaveFile(), SetAutoSaveInterval(), TGo4AnalysisStepManager::SetStatus(), and TRACE. Referenced by TGo4ComSetAnalysisStatus::ExeCom(), and LoadStatus(). |
|
Load Analysis Status from file and set analysis to these settings.
Definition at line 564 of file TGo4AnalysisImp.cxx. References fgcDEFAULTFILESUF, fgcDEFAULTSTATUSFILENAME, fxConfigFilename, Message(), SetStatus(), and TRACE. Referenced by TGo4ComLoadAnalysisStatus::ExeCom(), and TGo4AnalysisClient::Initialization(). |
|
Load analysis objects from file. File is the autosave file by default, but may be specified by name. Definition at line 924 of file TGo4AnalysisImp.cxx. References CloseAutoSaveFile(), fxAutoFile, fxAutoFileName, fxAutoSaveMutex, fxObjectManager, TGo4AnalysisObjectManager::LoadObjects(), Message(), and OpenAutoSaveFile(). Referenced by InitEventClasses(), and TGo4AnalysisClient::Initialization(). |
|
Save current analysis settings into file of given name.
Definition at line 621 of file TGo4AnalysisImp.cxx. References CreateStatus(), fgcDEFAULTFILESUF, fgcDEFAULTSTATUSFILENAME, fxConfigFilename, Message(), and TRACE. Referenced by TGo4ComSaveAnalysisStatus::ExeCom(). |
|
Enable or disable check of subsequent analysis step for io consistency. Default is on, disable for non serial type analyses. Definition at line 1438 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::SetStepChecking(). Referenced by TMeshAnalysis::TMeshAnalysis(). |
|
Sets analysis step name as first one to be processed in the chain of steps. First step will read input event from its event source. If name is nullpointer, takes first step in steplist. Definition at line 1444 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::SetFirstStep(). |
|
Sets analysis step name as last one to be processed in the chain of steps. Last step will write output event into its event store by default, its output event is accessible in the user analysis. If name is nullpointer, takes last step in steplist. Definition at line 1449 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::SetLastStep(). |
|
Enables analysis step of name to write its output event into its event store. By default only the last analysis step will keep the output event in the store, the intermediate steps will only pass the output to the subsequent step. This method lets also any intermediate step write the result to its store, which can later be used to process from this point of the analysis chain. However, you may also switch off the storage of the last analysis step output if you only want to use the histograms produced by the final user event function. Definition at line 1454 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::SetStepStorage(). |
|
Shuts down the old analysis step storage and creates a new one specified by parameter par. To be used in online mode to switch output files. Definition at line 1428 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::NewStepStore(). |
|
Shuts down the old analysis step event source and creates a new one specified by parameter par. To be used in online mode to switch input. Definition at line 1423 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::NewStepSource(). |
|
Shuts down the old analysis step processor and creates a new one specified by parameter par. To be used in online mode to switch event processing. Definition at line 1418 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::NewStepProcessor(). |
|
Set time interval (in s) for autosave action.
Definition at line 440 of file TGo4AnalysisImp.h. References fiAutoSaveInterval. Referenced by main(), and SetStatus(). |
|
Set file for autosave action.
Definition at line 788 of file TGo4AnalysisImp.cxx. References fbAutoSaveOverwrite, fgcDEFAULTFILENAME, fgcDEFAULTFILESUF, fiAutoSaveCompression, and fxAutoFileName. Referenced by TGo4ComAutosave::ExeCom(), main(), TGo4MbsFile::NewFileAction(), and SetStatus(). |
|
Lock the autosave mutex. For usage in analysis client Definition at line 814 of file TGo4AnalysisImp.cxx. References fxAutoSaveMutex, and TRACE. Referenced by TGo4AnalysisClient::~TGo4AnalysisClient(). |
|
UnLock the autosave mutex. For usage in analysis client Definition at line 830 of file TGo4AnalysisImp.cxx. References fxAutoSaveMutex, and TRACE. Referenced by TGo4AnalysisClient::~TGo4AnalysisClient(). |
|
enable/disable functionality of AutoSave method
Definition at line 454 of file TGo4AnalysisImp.h. References fbAutoSaveOn. Referenced by TGo4ComAutosave::ExeCom(), main(), TGo4AnalysisClient::SetCintMode(), and SetStatus(). |
|
True if autosaving is enabled.
Definition at line 457 of file TGo4AnalysisImp.h. References fbAutoSaveOn. Referenced by TGo4ComAutosave::ExeCom(). |
|
Set analysis in mode where autosave file switches for each new input file.
Definition at line 460 of file TGo4AnalysisImp.h. References fbAutoSaveFileChange. |
|
True if autosave file is changed according to the current input file of lmd file list.
Definition at line 464 of file TGo4AnalysisImp.h. References fbAutoSaveFileChange. Referenced by TGo4MbsFile::NewFileAction(). |
|
True if the analysis steps are initialized.
Definition at line 467 of file TGo4AnalysisImp.h. References fbInitIsDone. Referenced by TGo4AnalysisWatchRunnable::Run(), and TGo4AnalysisClient::Start(). |
|
True if the analysis as controlled by slave process is running. if no slave task (analysis client) is available, always true (plain batch mode never stops) Test: read by reference than copy value, faster? Definition at line 986 of file TGo4AnalysisImp.cxx. References fbExists, fxAnalysisSlave, and TGo4Slave::MainIsRunning(). Referenced by Process(), TGo4AnalysisClient::UpdateStatus(), and WaitForStart(). |
|
Switch slave process into running state. To be used from analysis macro to start/stop the go4 loop on certain conditions. Definition at line 995 of file TGo4AnalysisImp.cxx. References fxAnalysisSlave, TGo4AnalysisClient::Start(), and TGo4AnalysisClient::Stop(). |
|
Poll on the IsRunning state with sleep delay, returns number of wait cycles. For slave server controlled cint macros to start/stop execution of explicit user loop. Definition at line 1006 of file TGo4AnalysisImp.cxx. References fbStopWatingFlag, fgiMACROSTARTPOLL, and IsRunning(). |
|
Called by interrupt routine for normal exit from WaitForStart() function.
Definition at line 1053 of file TGo4AnalysisImp.cxx. References fbStopWatingFlag. |
|
True if current analysis step allows stop on error.
Definition at line 1459 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::IsErrorStopEnabled(). Referenced by Process(), and TGo4AnalysisMainRunnable::Run(). |
|
Set flag that input file has changed.
Definition at line 493 of file TGo4AnalysisImp.h. References fbNewInputFile. Referenced by TGo4MbsFile::NewFileAction(), TMeshAnalysis::UserEventFunc(), and TXXXAnalysis::UserEventFunc(). |
|
True if input filelist has changed to a new lmd file.
Definition at line 496 of file TGo4AnalysisImp.h. References fbNewInputFile. Referenced by TMeshAnalysis::UserEventFunc(), and TXXXAnalysis::UserEventFunc(). |
|
Definition at line 1360 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::SetDynListInterval(). Referenced by TGo4ComSetObject::ExeSetDyn(), and TGo4Analysis(). |
|
Definition at line 1199 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::GetDynListInterval(). |
|
Returns the input event structure of analysis step. Argument indicates the step by name. For internal usage in the user defined event function UserEventFunc, and is used by analysis steps to get result of previous steps. Definition at line 1398 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::GetInputEvent(). Referenced by CreateSingleEventTree(), TGo4ComGetCurrentEvent::ExeCom(), TYYYAnalysis::UserPreLoop(), TMeshAnalysis::UserPreLoop(), and TXXXAnalysis::UserPreLoop(). |
|
Returns the input event structure of analysis step. Argument number indicates the step from 0 (first) to n (last) in subsequent order. For internal usage in the user defined event function UserEventFunc, and is used by analysis steps to access event sources of previous steps. Definition at line 1393 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::GetInputEvent(). |
|
Returns the output event (detector) structure of analysis step. Argument indicates the step by name. For internal usage in the user defined event function UserEventFunc, and is used by analysis steps to get result of previous steps. Definition at line 1413 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::GetOutputEvent(). Referenced by TGo4ComGetCurrentEvent::ExeCom(), and TGo4AnalysisStep::Process(). |
|
Returns the output event (detector) structure of analysis step. Argument number indicates the step from 0 (first) to n (last) in subsequent order. Default is the output event of the currently processed step, which is set by SetEvent method. For internal usage in the user defined event function UserEventFunc, and is used by analysis steps to get result of previous steps. Definition at line 1408 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::GetOutputEvent(). |
|
Returns the output event (detector) structure of analysis step. Is set by SetOutputEvent method. For internal usage in the user defined event function UserEventFunc, and is used by analysis steps to get result of previous steps. Definition at line 1403 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::GetOutputEvent(). Referenced by CreateSingleEventTree(), and TYYYAnalysis::UserPreLoop(). |
|
Search reference to event stucture in folder.
Definition at line 1204 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::GetEventStructure(). Referenced by CreateSingleEventTree(), TGo4ComSetPrintEvent::ExeCom(), TGo4ComGetCurrentEvent::ExeCom(), and TGo4DynamicList::ProcessHEntry(). |
|
Display a user message. Argument pri defines message priority: <0: display text as info on local terminal and in logfile anyway, independent of ignorelevel 0: local terminal only; if debug level is enabled (TGo4Log::SetIgnorelevel(0)) 1: local terminal and info message in gui log panel (if gui mode) 2: local terminal and warning message in gui log panel (if gui mode) 3: local terminal and error message in gui log panel (if gui mode) Definition at line 947 of file TGo4AnalysisImp.cxx. References TGo4Log::fguMESLEN, and SendMessageToGUI(). Referenced by AutoSave(), CloseAutoSaveFile(), InitEventClasses(), LoadObjects(), LoadStatus(), MainCycle(), OpenAutoSaveFile(), Process(), TGo4HisConnectorRunnable::Run(), RunImplicitLoop(), SaveStatus(), SendObjectToGUI(), ShowEvent(), StartObjectServer(), StopObjectServer(), TGo4Analysis(), UpdateNamesList(), UserPostLoop(), and UserPreLoop(). |
|
User May send any named object via data channel to the gui. In batch mode, this method is disabled. Definition at line 974 of file TGo4AnalysisImp.cxx. References fxAnalysisSlave, Message(), and TGo4Slave::SendObject(). |
|
Start the object (histogram) server. Existing server will be stopped and replaced by new server with different basename and password. Definition at line 1058 of file TGo4AnalysisImp.cxx. References fxAnalysisSlave, and Message(). |
|
Stop the object (histogram) server.
Definition at line 1071 of file TGo4AnalysisImp.cxx. References fxAnalysisSlave, and Message(). |
|
Specify password for administrator account. For login from remote gui into analysis server Definition at line 1519 of file TGo4AnalysisImp.cxx. References TGo4TaskHandler::SetAdminAccount(). Referenced by main(). |
|
Specify password for controller account. For login from remote gui into analysis server Definition at line 1514 of file TGo4AnalysisImp.cxx. References TGo4TaskHandler::SetCtrlAccount(). Referenced by main(). |
|
Specify password for observer account. For login from remote gui into analysis server Definition at line 1509 of file TGo4AnalysisImp.cxx. References TGo4TaskHandler::SetObservAccount(). Referenced by main(). |
|
Printout the analysis (step-) setup.
Definition at line 681 of file TGo4AnalysisImp.cxx. References CreateStatus(), and TGo4AnalysisStatus::PrintStatus(). |
|
Printout of all histogram statistic counters on the terminal.
Definition at line 1370 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::PrintHistograms(). Referenced by TGo4ComPrintHistograms::ExeCom(). |
|
Print all condition counters to the terminal.
Definition at line 1365 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::PrintConditions(). Referenced by TGo4ComPrintConditions::ExeCom(). |
|
Print entries of current dynamic list.
Definition at line 1375 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::PrintDynamicList(). Referenced by TGo4ComPrintDynList::ExeCom(). |
|
Printout event content of single current event to analysis terminal (using ROOT TTree::Show method). Event is searched by name of analyis step. If isoutput true, then output event of that step is used, otherwise input event. If analysis step not found, event of stepname is searched in registered folders. Definition at line 1086 of file TGo4AnalysisImp.cxx. References CreateSingleEventTree(), and Message(). Referenced by TGo4ComGetCurrentEvent::ExeCom(). |
|
Write object obj into eventstore of the step specified by name. Current event number will be added to object name in the file. Returns -1 in case of not active eventstore. Returns +1 in case of unknown step. Definition at line 1479 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::Store(). |
|
Write condition con into eventstore of the step specified by name. Current event number will be added to parameter name in the file. Returns -1 in case of not active eventstore. Returns +1 in case of unknown step. Definition at line 1484 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::Store(). |
|
Write fitter fit into eventstore of the step specified by name. Current event number will be added to parameter name in the file. Returns -1 in case of not active eventstore. Returns +1 in case of unknown step. Definition at line 1489 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::Store(). |
|
Write folder into eventstore of the step specified by name. Current event number will be added to parameter name in the file. Returns -1 in case of not active eventstore. Returns +1 in case of unknown step. Definition at line 1494 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::Store(). |
|
Write registered folder of foldername to the step store of stepname. Returns -1 in case of not active eventstore. Returns +1 in case of unknown step, +2 in case of unknown folder Definition at line 1499 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::FindSubFolder(), fxObjectManager, fxStepManager, GetObjectFolder(), and TGo4AnalysisStepManager::Store(). |
|
Perform autosave of all active stores, save existing calibration objects, write known objects into user file.
Definition at line 848 of file TGo4AnalysisImp.cxx. References TGo4AnalysisStepManager::AutoSave(), CloseAutoSaveFile(), fbAutoSaveOn, fbAutoSaveOverwrite, fxAutoFile, fxAutoSaveMutex, fxObjectManager, fxStepManager, Message(), OpenAutoSaveFile(), TGo4AnalysisObjectManager::SaveObjects(), and TRACE. Referenced by CloseAnalysis(), TGo4ComAutosave::ExeCom(), MainCycle(), and TGo4MbsFile::NewFileAction(). |
|
Method for user analysis constructor to setup the list of analyisis steps. Each call of this method will add a new analysis step at the end of the list. Caution: user has to take care that output and input event types of subsequent steps are matching! Analysis steps cannot be removed, since the steplist is not intended to be dynamic. This is a pure creational method. Analysis steps are owned by the steplist once they have been added. Definition at line 1464 of file TGo4AnalysisImp.cxx. References TGo4AnalysisStepManager::AddAnalysisStep(), and fxStepManager. Referenced by main(), TMeshAnalysis::TMeshAnalysis(), TXXXAnalysis::TXXXAnalysis(), and TYYYAnalysis::TYYYAnalysis(). |
|
Access to certain analysis step by name. If name=0, this will return the first active step. Definition at line 1194 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::GetAnalysisStep(). Referenced by TMeshParameter::UpdateFrom(), and TGo4AnalysisClient::UpdateStatus(). |
|
Uses the chain of analysis steps to process the first input event into an output event which then is accessible at the output event member. Returns number of steps run. For internal usage in the MainCycle and GetEvent methods; may also be called from UserEventFunc directly. Definition at line 1469 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::ProcessAnalysisSteps(). Referenced by MainCycle(). |
|
Create a tree that is filled with one single event sample. Event is taken from analysis step of name. If isoutput is kTRUE, the output event is used, otherwise the input event. If no analysis step of that name exists, the event is searched by object name in the eventstructure folder of the object manager. Definition at line 710 of file TGo4AnalysisImp.cxx. References GetEventStructure(), GetInputEvent(), GetOutputEvent(), and TRACE. Referenced by TGo4ComGetCurrentEvent::ExeCom(), and ShowEvent(). |
|
Create a tree that is filled with one single event sample. To be sent to the gui. Definition at line 689 of file TGo4AnalysisImp.cxx. References fxSampleEvent, and TRACE. |
|
Update the internal list of object names. To be used internally and by analysis client. Definition at line 909 of file TGo4AnalysisImp.cxx. References CreateNamesList(), fxObjectNames, Message(), and TRACE. Referenced by AddTreeHistogram(), TGo4ComSetObject::ExeCom(), TGo4ComGetNamesList::ExeCom(), TGo4HistogramServer::HandleObjectRequest(), InitEventClasses(), RemoveDynamicEntry(), and TGo4AnalysisClient::SendNamesList(). |
|
Returns the nameslist of the go4 object directory structure. Is used by analysis client to send the current object names to the gui. Definition at line 671 of file TGo4AnalysisImp.h. References fxObjectNames. Referenced by TGo4ComSetObject::ExeCom(), TGo4ComGetNamesList::ExeCom(), TGo4HistogramServer::HandleObjectRequest(), and TGo4AnalysisClient::SendNamesList(). |
|
Sets the current output event (detector) structure. For internal usage by the chain of analysis steps, since TGo4AnalysisStep is friend. Definition at line 1474 of file TGo4AnalysisImp.cxx. References fxStepManager, and TGo4AnalysisStepManager::SetOutputEvent(). Referenced by TGo4AnalysisStep::Process(). |
|
Add reference to event store object to Go4 Folder structure. To be used by framework only! Definition at line 1139 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::AddEventStore(), and fxObjectManager. Referenced by TGo4AnalysisStep::NewEventStore(). |
|
Remove reference to event store from go4 folder structure.
Definition at line 1266 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::RemoveEventStore(). Referenced by TGo4AnalysisStep::CloseEventStore(). |
|
Add reference to event source object to Go4 Folder structure. To be used by framework only! Definition at line 1134 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::AddEventSource(), and fxObjectManager. Referenced by TGo4AnalysisStep::NewEventSource(). |
|
Remove reference to event source from go4 folder structure.
Definition at line 1261 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::RemoveEventSource(). Referenced by TGo4AnalysisStep::CloseEventSource(). |
|
Add reference to event processor object to Go4 Folder structure. To be used by framework only! Definition at line 1129 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::AddEventProcessor(), and fxObjectManager. Referenced by TGo4AnalysisStep::NewEventProcessor(). |
|
Remove reference to event processor from go4 folder structure.
Definition at line 1313 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::RemoveEventProcessor(). Referenced by TGo4AnalysisStep::CloseEventProcessor(). |
|
Add reference to event structure object to Go4 Folder structure. To be used by framework only! Definition at line 1144 of file TGo4AnalysisImp.cxx. References TGo4AnalysisObjectManager::AddEventStructure(), and fxObjectManager. Referenced by TGo4AnalysisStep::NewInputEvent(), and TGo4AnalysisStep::NewOutputEvent(). |
|
Remove reference to event structure from go4 folder structure.
Definition at line 1271 of file TGo4AnalysisImp.cxx. References fxObjectManager, and TGo4AnalysisObjectManager::RemoveEventStructure(). Referenced by TGo4AnalysisStep::DeleteInputEvent(), and TGo4AnalysisStep::DeleteOutputEvent(). |
|
Register analysis client if running in gui mode.
Definition at line 707 of file TGo4AnalysisImp.h. References fxAnalysisSlave. Referenced by TGo4AnalysisClient::TGo4AnalysisClient(). |
|
Send message string in a status object to the gui. Will be displayed in status window. Level indicates info (1), warning (2) or error(3), if printout is true, message will also be printed on terminal. In non-GUI mode, this method is equivalent to TGo4Log::Message Definition at line 957 of file TGo4AnalysisImp.cxx. References fxAnalysisSlave, TGo4Log::IsOutputEnabled(), TGo4Log::Message(), TGo4Log::OutputEnable(), and TGo4Slave::SendStatusMessage(). Referenced by Message(). |
|
Open the autosave file with the current settings.
Definition at line 866 of file TGo4AnalysisImp.cxx. References fbAutoSaveOn, fbAutoSaveOverwrite, fiAutoSaveCompression, fxAutoFile, fxAutoFileName, fxAutoSaveMutex, and Message(). Referenced by AutoSave(), and LoadObjects(). |
|
Close the autosave file if existing.
Definition at line 894 of file TGo4AnalysisImp.cxx. References fxAutoFile, fxAutoFileName, fxAutoSaveMutex, and Message(). Referenced by AutoSave(), LoadObjects(), and ~TGo4Analysis(). |
|
Definition at line 67 of file TGo4AnalysisImp.h. Referenced by TMeshAnalysis::TMeshAnalysis(), TXXXAnalysis::TXXXAnalysis(), and TYYYAnalysis::TYYYAnalysis(). |
|
Definition at line 68 of file TGo4AnalysisImp.h. |
|
Definition at line 69 of file TGo4AnalysisImp.h. |
|
Definition at line 70 of file TGo4AnalysisImp.h. |
|
Definition at line 71 of file TGo4AnalysisImp.h. |
|
Definition at line 72 of file TGo4AnalysisImp.h. |
|
Definition at line 73 of file TGo4AnalysisImp.h. |
|
Definition at line 74 of file TGo4AnalysisImp.h. |
|
Definition of default autosave interval.
Definition at line 79 of file TGo4AnalysisImp.cxx. |
|
Version Number of the Go4 build. Number 10000 means Version1.00.00. Will be compared to the Version number in static Version singleton on runtime. Definition at line 75 of file TGo4AnalysisImp.cxx. Referenced by TGo4Analysis(). |
|
This value is the number of events in between subsequent dynamic list processing.
Definition at line 80 of file TGo4AnalysisImp.cxx. Referenced by TGo4Analysis(). |
|
Time in ms to sleep in the polling loop of the WaitForStart.
Definition at line 81 of file TGo4AnalysisImp.cxx. Referenced by WaitForStart(). |
|
standard file name
Definition at line 82 of file TGo4AnalysisImp.cxx. Referenced by SetAutoSaveFile(), and TGo4Analysis(). |
|
standard file name for analysis settings
Definition at line 83 of file TGo4AnalysisImp.cxx. Referenced by TGo4AnalysisClient::Initialization(), LoadStatus(), SaveStatus(), TGo4Analysis(), TGo4ComLoadAnalysisStatus::TGo4ComLoadAnalysisStatus(), and TGo4ComSaveAnalysisStatus::TGo4ComSaveAnalysisStatus(). |
|
filename suffix for object file
Definition at line 84 of file TGo4AnalysisImp.cxx. Referenced by LoadStatus(), SaveStatus(), and SetAutoSaveFile(). |
|
Default name of the default (toplevel) dynamic list.
Definition at line 85 of file TGo4AnalysisImp.cxx. |
|
True if analysis framework has been initialized and the event classes are created.
Definition at line 637 of file TGo4AnalysisImp.h. Referenced by CloseAnalysis(), InitEventClasses(), IsInitDone(), MainCycle(), and PostLoop(). |
|
True if Autosaving is enabled (default). If false, calling AutoSave() will have no effect. Definition at line 641 of file TGo4AnalysisImp.h. Referenced by AutoSave(), IsAutoSaveOn(), MainCycle(), OpenAutoSaveFile(), SetAutoSave(), and UpdateStatus(). |
|
Static Pointer to the analysis singleton instance.
Definition at line 77 of file TGo4AnalysisImp.cxx. Referenced by Instance(), TGo4Analysis(), and ~TGo4Analysis(). |
|
This is used to check from outsid if an analysis is already there. Useful if one wants to prevent creating a complete analysis instance in the gui task... Definition at line 78 of file TGo4AnalysisImp.cxx. Referenced by Exists(), Instance(), IsRunning(), and TGo4Analysis(). |
|
Optional backpointer to analysis client if running in gui mode.
Definition at line 730 of file TGo4AnalysisImp.h. Referenced by IsRunning(), MainCycle(), Process(), SendMessageToGUI(), SendObjectToGUI(), SetAnalysisClient(), SetRunning(), StartObjectServer(), and StopObjectServer(). |
|
|
|
Event counter for autosave mechanism.
Definition at line 741 of file TGo4AnalysisImp.h. Referenced by MainCycle(), and PreLoop(). |
|
Clock for autosave by time mechanism.
Definition at line 744 of file TGo4AnalysisImp.h. Referenced by MainCycle(), PreLoop(), TGo4Analysis(), and ~TGo4Analysis(). |
|
Implicit Loop cycles in between two autosave actions. Autosave will write calibration objects of steps into event file and will save all histograms into an default root file. Definition at line 749 of file TGo4AnalysisImp.h. Referenced by MainCycle(), SetAutoSaveInterval(), and UpdateStatus(). |
|
compression level for autosave file
Definition at line 752 of file TGo4AnalysisImp.h. Referenced by OpenAutoSaveFile(), SetAutoSaveFile(), and UpdateStatus(). |
|
Mutex protecting the autosave file access. On Termination, both the main thread and the appcontrol timer might try to autosave or delete on the same file. Definition at line 757 of file TGo4AnalysisImp.h. Referenced by AutoSave(), CloseAutoSaveFile(), LoadObjects(), LockAutoSave(), OpenAutoSaveFile(), PostLoop(), PreLoop(), TGo4Analysis(), and UnLockAutoSave(). |
|
Optional file for autosave of the important objects.
Definition at line 760 of file TGo4AnalysisImp.h. Referenced by AutoSave(), CloseAutoSaveFile(), LoadObjects(), and OpenAutoSaveFile(). |
|
Name of the autosave file.
Definition at line 763 of file TGo4AnalysisImp.h. Referenced by CloseAutoSaveFile(), LoadObjects(), OpenAutoSaveFile(), SetAutoSaveFile(), TGo4Analysis(), and UpdateStatus(). |
|
True if autosave file is in overwrite mode.
Definition at line 766 of file TGo4AnalysisImp.h. Referenced by AutoSave(), OpenAutoSaveFile(), SetAutoSaveFile(), and UpdateStatus(). |
|
name of configuration file used for this setup
Definition at line 769 of file TGo4AnalysisImp.h. Referenced by LoadStatus(), SaveStatus(), TGo4Analysis(), and UpdateStatus(). |
|
True if input file of multiple file input has changed. User analysis may check this and read mbs buffer infos then. Definition at line 773 of file TGo4AnalysisImp.h. Referenced by IsNewInputFile(), and SetNewInputFile(). |
|
True if autosave name shall be changed when input file of multiple file input has changed. To be set in user analysis; will be evaluated in TGo4MbsFile Definition at line 777 of file TGo4AnalysisImp.h. Referenced by IsAutoSaveFileChange(), and SetAutoSaveFileChange(). |
|
this holds event sample for the SingleEventTree. Must be clone of the event in use, since TTree::Show() will modify it! Definition at line 781 of file TGo4AnalysisImp.h. Referenced by CreateSingleEventTree(), and ~TGo4Analysis(). |
|
Definition at line 785 of file TGo4AnalysisImp.h. Referenced by GetNamesList(), UpdateNamesList(), and ~TGo4Analysis(). |
|
used for exit from WaitForStart() routine by interrupt
Definition at line 788 of file TGo4AnalysisImp.h. Referenced by StopWaiting(), and WaitForStart(). |