v2.10-0 (21000JUN2005)

Go4StatusAnalysis
Class TGo4AnalysisStatus


class TGo4AnalysisStatus
derived from TGo4Status

Status of the analysis instance. Can be sent to the display or controlling
server to check the things.

Since: 1/2001

Field Summary
 private Int_tfbAutoSaveOn
          True if Autosaving is enabled (default).
 private Int_tfbAutoSaveOverwrite
          overwrite mode for autosave yes or no.
 private Int_tfbStepCheckingMode
          True if chain of steps is checked for consistency of input and output events.
 private Int_tfiAutoSaveCompression
          compression level for autosave file
 private Int_tfiAutoSaveInterval
          Implicit Loop cycles in between two autosave actions.
 private Int_tfiFirstStepIndex
          Index describing the first analysis step from the steplist
to be processed.
 private Int_tfiLastStepIndex
          Index describing the last analysis step from the steplist
to be processed.
 private TStringfxAutoFileName
          Name of the autosave file.
 private TStringfxConfigFileName
          Name of the last configuration file.
 private TObjArray*fxStepArray
          Array containing all analysis steps.
 private TIterator*fxStepIterator
          Iterator used for analysis step list.
 private TMutex*fxStepMutex
          Mutex protecting the analysis step list.

Fields inherited from class TNamed
fName, fTitle

Constructor Summary
TGo4AnalysisStatus()
          default ctor for streamer.
TGo4AnalysisStatus(const char * name)
           

Destructor Summary
 virtual synchronized ~TGo4AnalysisStatus()
           

Method Summary
 Bool_tAddStepStatus(TGo4AnalysisStepStatus* next)
          Add new step status object to analysis status.
 const const char *GetAutoFileName()
           
 const Int_tGetAutoSaveCompression()
           
 const Int_tGetAutoSaveInterval()
           
 const const char *GetConfigFileName()
           
 const Int_tGetFirstStepIndex()
           
 const Int_tGetLastStepIndex()
           
 TGo4AnalysisStepStatus*GetStepStatus(const Text_t* name)
          Access to certain analysis step status by name.
 const Int_tIsAutoSaveOn()
           
 const Int_tIsAutoSaveOverwrite()
           
 const Int_tIsStepChecking()
           
 TGo4AnalysisStepStatus*NextStepStatus()
          Gives next analysis step status.
 virtual Int_tPrintStatus(Text_t* buffer, Int_t buflen)
          basic method to printout status information
on stdout; to be overridden by specific subclass
 voidResetStepIterator()
           
 voidSetAutoFileName(const char * name)
           
 voidSetAutoSaveCompression(Int_t i)
           
 voidSetAutoSaveInterval(Int_t i)
           
 voidSetAutoSaveOn(Bool_t on)
           
 voidSetAutoSaveOverwrite(Bool_t over)
           
 voidSetConfigFileName(const char * name)
           
 voidSetFirstStepIndex(Int_t i)
           
 voidSetLastStepIndex(Int_t i)
           
 voidSetStepChecking(Int_t on)
           

Methods inherited from class Go4StatusBase.TGo4Status
Print, PrintBuffer, PrintIndent

Methods inherited from class TNamed
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine

Field Detail

fbAutoSaveOn

private Int_t fbAutoSaveOn
True if Autosaving is enabled (default).
If false, calling AutoSave() will have no effect.

fbAutoSaveOverwrite

private Int_t fbAutoSaveOverwrite
overwrite mode for autosave yes or no.
Internally, we use Int_t for correct streamer!

fbStepCheckingMode

private Int_t fbStepCheckingMode
True if chain of steps is checked for consistency of input and output events.
Default is true. Can be disabled for steps working in non-subsequent manner.
i.e. intermediate steps may be disabled, event structures of subsequent steps
need not match.

fiAutoSaveCompression

private Int_t fiAutoSaveCompression
compression level for autosave file

fiAutoSaveInterval

private Int_t fiAutoSaveInterval
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.

fiFirstStepIndex

private Int_t fiFirstStepIndex
Index describing the first analysis step from the steplist
to be processed. The first analysis step will use its own event
source to get input events.

fiLastStepIndex

private Int_t fiLastStepIndex
Index describing the last analysis step from the steplist
to be processed. Output event of the last analysis step is
accessible by GetEvent method and is used
for user event function and dynamic list.

fxAutoFileName

private TString fxAutoFileName
Name of the autosave file.

fxConfigFileName

private TString fxConfigFileName
Name of the last configuration file.

fxStepArray

private TObjArray* fxStepArray
Array containing all analysis steps. The steplist is iterated by
the maincycle from start to end index to process the active steps.

fxStepIterator

private TIterator* fxStepIterator
Iterator used for analysis step list.

fxStepMutex

private TMutex* fxStepMutex
Mutex protecting the analysis step list.
Constructor Detail

TGo4AnalysisStatus

public TGo4AnalysisStatus()
default ctor for streamer.

TGo4AnalysisStatus

public TGo4AnalysisStatus(const char * name)
Method Detail

~TGo4AnalysisStatus

public virtual synchronized ~TGo4AnalysisStatus()
Method Detail

AddStepStatus

public Bool_t AddStepStatus(TGo4AnalysisStepStatus* next)
Add new step status object to analysis status.

GetAutoFileName

public const const char * GetAutoFileName()

GetAutoSaveCompression

public const Int_t GetAutoSaveCompression()

GetAutoSaveInterval

public const Int_t GetAutoSaveInterval()

GetConfigFileName

public const const char * GetConfigFileName()

GetFirstStepIndex

public const Int_t GetFirstStepIndex()

GetLastStepIndex

public const Int_t GetLastStepIndex()

GetStepStatus

public TGo4AnalysisStepStatus* GetStepStatus(const Text_t* name)
Access to certain analysis step status by name.

IsAutoSaveOn

public const Int_t IsAutoSaveOn()

IsAutoSaveOverwrite

public const Int_t IsAutoSaveOverwrite()

IsStepChecking

public const Int_t IsStepChecking()

NextStepStatus

public TGo4AnalysisStepStatus* NextStepStatus()
Gives next analysis step status.

PrintStatus

public virtual Int_t PrintStatus(Text_t* buffer, Int_t buflen)
basic method to printout status information
on stdout; to be overridden by specific subclass

ResetStepIterator

public void ResetStepIterator()

SetAutoFileName

public void SetAutoFileName(const char * name)

SetAutoSaveCompression

public void SetAutoSaveCompression(Int_t i)

SetAutoSaveInterval

public void SetAutoSaveInterval(Int_t i)

SetAutoSaveOn

public void SetAutoSaveOn(Bool_t on)

SetAutoSaveOverwrite

public void SetAutoSaveOverwrite(Bool_t over)

SetConfigFileName

public void SetConfigFileName(const char * name)

SetFirstStepIndex

public void SetFirstStepIndex(Int_t i)

SetLastStepIndex

public void SetLastStepIndex(Int_t i)

SetStepChecking

public void SetStepChecking(Int_t on)

Association Links

to Class TObjArray

Array containing all analysis steps. The steplist is iterated by
the maincycle from start to end index to process the active steps.

to Class TMutex

Mutex protecting the analysis step list.

to Class TIterator

Iterator used for analysis step list.

J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005