Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4AnalysisObjectManager Class Reference

This object is responsible for the organisation of analysis objects. More...

#include <TGo4AnalysisObjectManager.h>

List of all members.

Public Methods

 TGo4AnalysisObjectManager ()
 TGo4AnalysisObjectManager (const Text_t *name)
 ~TGo4AnalysisObjectManager ()
Bool_t AddObject (TNamed *anything, const Text_t *subfolder=0, Bool_t replace=kTRUE)
 Add any external object to the user object folder. More...

TNamed * GetObject (const Text_t *name, const Text_t *folder=0)
 Searches for object by name in all go4 folders. More...

Bool_t RemoveObject (const Text_t *name, Bool_t del=kTRUE)
 Removes object from user object folder by name. More...

Bool_t DeleteObjects (const Text_t *name)
 Delete object of name, or all objects in folder name, respectively. More...

TObject * NextMatchingObject (const Text_t *expr, const Text_t *folder, Bool_t reset)
 Delivers pointer to next object of the Go4 folder structure with a name matching the expression expr. More...

TFolder * CreateBranchFolder (TObjArray *branchlist, const Text_t *name, const Text_t *Title, Bool_t istopbranch=kFALSE)
 Create a folder with subfolders from a list of TBranchElements. More...

TFolder * CreateCompositeBranchFolder (TObjArray *branchlist, TGo4CompositeEvent *compevent, Int_t startindex, Int_t *skip, const Text_t *name, const Text_t *Title)
 Create a folder with subfolders from a list of TBranchElements that belongs to a TGo4CompositeEvent. More...

TGo4TreeStructureCreateTreeStructure (TTree *thetree)
 Create a tree structure object that maps the TBranchelements into a TFolder hierarchy. More...

TGo4TreeStructureCreateTreeStructure (const Text_t *treename)
 Create a tree structure for a certain tree by name. More...

Bool_t AddHistogram (TH1 *his, const Text_t *subfolder=0, Bool_t replace=kTRUE)
 Add external histogram to go4 histogram directory. More...

TH1 * GetHistogram (const Text_t *name)
 Search histogram in histogram list (directory). More...

Bool_t RemoveHistogram (const Text_t *name, Bool_t del=kTRUE)
 Removes histogram from histogram dir by name. More...

TH1 * MakeH1 (const Text_t *histotype, const Text_t *foldername, const Text_t *histoname, Int_t nbinsx, Axis_t xlow, Axis_t xup, const Text_t *title=0, const Text_t *xtitle=0, const Text_t *ytitle=0)
 Create 1-dim histogram in histogram folder. More...

TH2 * MakeH2 (const Text_t *histotype, const Text_t *foldername, const Text_t *histoname, Int_t nbinsx, Axis_t xlow, Axis_t xup, Int_t nbinsy, Axis_t ylow, Axis_t yup, const Text_t *title=0, const Text_t *xtitle=0, const Text_t *ytitle=0)
 Create 2-dim histogram in histogram folder. More...

Bool_t AddTree (TTree *tree, const Text_t *subfolder=0)
 Add reference to a tree in the go4 folder structure. More...

TTree * GetTree (const Text_t *name)
 Search tree in tree folder. More...

Bool_t RemoveTree (TTree *tree, const Text_t *stepname=0)
 Remove reference to a tree in the go4 folder structure. More...

Bool_t AddAnalysisCondition (TGo4Condition *con, const Text_t *subfolder=0)
 Puts a new analysis condition object in corresponding list. More...

Bool_t SetAnalysisCondition (const Text_t *name, TGo4Condition *con, Bool_t counter=kTRUE, TFolder *parent=0)
 Set existing analysis condition of name to the values of external condition object con. More...

TGo4ConditionGetAnalysisCondition (const Text_t *name)
 Retrieves an analysis condition from list by name. More...

Bool_t RemoveAnalysisCondition (const Text_t *name)
 Removes analysis condition from list by name. More...

TGo4WinCondMakeWindowCond (const Text_t *foldername, const Text_t *conditionname, Double_t xlow, Double_t xup, const Text_t *bindhistogram=0, Bool_t invert=kFALSE)
 Create 1-dim window condition in conditions folder. More...

TGo4WinCondMakeWindowCond (const Text_t *foldername, const Text_t *conditionname, Double_t xlow, Double_t xup, Double_t ylow, Double_t yup, const Text_t *bindhistogram=0, Bool_t invert=kFALSE)
 Create 2-dim window condition in conditions folder. More...

TGo4PolyCondMakePolyCond (const Text_t *foldername, const Text_t *conditionname, Int_t size, Float_t(*points)[2], const Text_t *bindhistogram=0, Bool_t invert=kFALSE)
 Create polygon 2-dim condition in conditions folder. More...

Bool_t AddParameter (TGo4Parameter *par, const Text_t *subfolder=0)
 Puts a new parameter object in corresponding folder. More...

Bool_t SetParameter (const Text_t *name, TGo4Parameter *par, TFolder *parent=0)
 Set existing parameter of name to the values of external parameter object par. More...

TGo4ParameterGetParameter (const Text_t *name)
 Retrieves a parameter object by name from the object folder. More...

Bool_t RemoveParameter (const Text_t *name)
 Removes parameter by name. More...

Bool_t AddPicture (TGo4Picture *pic, const Text_t *subfolder=0)
 Puts a new picture object in corresponding folder. More...

Bool_t SetPicture (const Text_t *name, TGo4Picture *pic, TFolder *parent=0)
 Set existing picture of name to the values of external picture object pic. More...

TGo4PictureGetPicture (const Text_t *name)
 Retrieves a picture object by name from the object folder. More...

Bool_t RemovePicture (const Text_t *name)
 Removes picture by name. More...

Bool_t AddCanvas (TCanvas *can, const Text_t *subfolder=0)
 Puts a new TCanvas in corresponding folder. More...

Bool_t SetCanvas (const Text_t *name, TGo4CanvasStatus *stat, TFolder *parent=0)
 Set existing picture of name to the values of external CanvasStatus object. More...

TCanvas * GetCanvas (const Text_t *name)
 Retrieves a TCanvas by name from the Canvases folder. More...

Bool_t RemoveCanvas (const Text_t *name)
 Removes TCanvas by name. More...

TGo4ObjectStatusCreateObjectStatus (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. More...

TGo4ObjectStatusCreateObjectStatus (TObject *ob, Bool_t fullinfo=kTRUE)
 Create status object for object ob. More...

TGo4AnalysisObjectNamesCreateNamesList ()
 Creates a list of names (keys) of all objects in analysis directories. More...

TFolder * CreateNamesFolder (TFolder *objectfolder)
 Conversion of the TFolder of objects into a TFolder containing the object names as TObjectStrings. More...

TFolder * GetObjectFolder ()
 Access to top folder of all objects. More...

Bool_t AddEventStore (TGo4EventStore *store)
 Add reference to event store object to Go4 Folder structure. More...

Bool_t RemoveEventStore (TGo4EventStore *store)
 Remove reference to event store from go4 folder structure. More...

Bool_t AddEventSource (TGo4EventSource *source)
 Add reference to event source object to Go4 Folder structure. More...

Bool_t RemoveEventSource (TGo4EventSource *source)
 Remove reference to event source from go4 folder structure. More...

Bool_t AddEventProcessor (TGo4EventProcessor *pro)
 Add reference to event processor object to Go4 Folder structure. More...

Bool_t RemoveEventProcessor (TGo4EventProcessor *pro)
 Remove reference to event processor from go4 folder structure. More...

Bool_t AddEventStructure (TGo4EventElement *ev)
 Add reference to event structure object to Go4 Folder structure. More...

Bool_t RemoveEventStructure (TGo4EventElement *ev)
 Remove reference to event structure from go4 folder structure. More...

TGo4EventElementGetEventStructure (const Text_t *name)
 Search reference to event stucture in folder. More...

Bool_t ResetBackStores ()
 Reset all registered backstore instances.Called by dynamic list processing. More...

void CloseAnalysis ()
 Cleanups required when analysis is closed. More...

void SaveObjects (TFile *file)
 Save folder structure to given file. More...

Bool_t LoadObjects (TFile *statusfile)
 Load objects from file. More...

Bool_t AddDynamicList (TGo4DynamicList *list)
 Adds reference to dynamic list object in dynamic list folder. More...

TGo4DynamicListGetDynamicList (const Text_t *name)
 Retrieves an dynamic list object from folder by name. More...

Bool_t RemoveDynamicList (const Text_t *name)
 Remove reference to dynamic list of name from go4 folder structure. More...

void RemoveDynamicList (TGo4DynamicList *list)
 Remove reference to dynamic list from go4 folder structure. More...

void SetCurrentDynList (TGo4DynamicList *list)
 Set the given dynamic list as current. More...

TGo4DynamicListGetCurrentDynList ()
 Get the currently active dynamic list. More...

void ResetCurrentDynList ()
 Reset the current dynamic list. More...

Int_t ProcessDynamicList ()
 Loop over the dynamic list and process the actions linked to the entries. More...

void SetDynListInterval (Int_t val)
Int_t GetDynListInterval ()
Bool_t CheckDynListInterval ()
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)
 Add (create) new dynamic histogram entry which connects an existing histogram with existing condition and data. More...

Bool_t AddDynamicHistogram (TGo4HistogramEntryStatus *settings)
Bool_t AddTreeHistogram (const Text_t *hisname, const Text_t *treename, const Text_t *varexp, TCut selection)
 Add Histogram into the dynamic list wich is linked to a tree. More...

void PrintHistograms (const Text_t *expression=0)
 Printout of all histogram statistic counters on the terminal. More...

void PrintConditions (const Text_t *expression=0)
 Print all condition counters to the terminal. More...

void PrintDynamicList ()
 Print entries of current dynamic list. More...

Bool_t ClearObjects (const Text_t *name)
 Clear (reset) the specified objects. More...

Bool_t ProtectObjects (const Text_t *name, const Option_t *flags)
 Change protection properties of object name as specified. More...

Bool_t SetDynamicEntryStatus (const Text_t *name, TGo4DynamicEntryStatus *state, const Text_t *listname=0)
 Set dynamic entry of name "name" to the values specified by external dynamic entry status "state". More...

Bool_t RemoveDynamicEntry (const Text_t *entryname, const Text_t *listname=0)
 Remove entry of that name from dynamic list of listname. More...

TFolder * FindSubFolder (TFolder *parent, const Text_t *subfolder, Bool_t create=kTRUE)
 Get pointer to subfolder of parent specified by name. More...

Bool_t CreatedInMake () const

Static Public Attributes

const Text_t fgcTOPDYNAMICLIST [] = "Go4DynamicList"
 Default name of the default (toplevel) dynamic list. More...

const Text_t fgcTOPFOLDER [] = "Go4"
 Top level folder name. More...

const Text_t fgcHISTFOLDER [] = "Histograms"
 Histograms folder name. More...

const Text_t fgcDYNFOLDER [] = "DynamicLists"
 Dynamic lists folder name. More...

const Text_t fgcCONDFOLDER [] = "Conditions"
 Analysis conditions folder name. More...

const Text_t fgcPARAFOLDER [] = "Parameters"
 Analysis user parameters folder name. More...

const Text_t fgcTREEFOLDER [] = "Trees"
 Tree reference folder name. More...

const Text_t fgcPICTFOLDER [] = "Pictures"
 Picture objects folder name. More...

const Text_t fgcCANVFOLDER [] = "Canvases"
 TCanvas folder name. More...

const Text_t fgcANALYSISFOLDER [] = "EventObjects"
 top analysis objects reference folder name. More...

const Text_t fgcEVENTFOLDER [] = "Events"
 Event references folder name. More...

const Text_t fgcSRCFOLDER [] = "EventSources"
 Event source reference folder name. More...

const Text_t fgcSTOREFOLDER [] = "EventStores"
 Event store reference folder name. More...

const Text_t fgcPROCFOLDER [] = "EventProcessors"
 Event processor reference folder name. More...

const Text_t fgcUSRFOLDER [] = "UserObjects"
 User objects folder name. More...

const Text_t fgcTMPFOLDER [] = "Go4-tmp"
 Temporary dummy folder name. More...

const UInt_t fguSUBFOLDERMAXLEN = 1024
 Maximum length of subfolder name. More...


Private Methods

Bool_t AddObjectToFolder (TObject *ob, TFolder *fold, const Text_t *subfolder=0, Bool_t replace=kTRUE, Bool_t uniquename=kFALSE, Bool_t resetbits=kTRUE)
 Add any named object to a folder. More...

Bool_t RemoveObjectFromFolder (const Text_t *fullname, TFolder *fold, Bool_t isDel)
 Remove object specified by full name ("subfolder/subssubfolder/name") from folder fold. More...

Bool_t LoadFolder (TFolder *source, TFolder *destination, Bool_t replace=kFALSE)
 Update folder destination with the content of the folder source. More...

Bool_t LoadFolder (TDirectory *source, TFolder *destination, Bool_t replace=kFALSE)
 Update folder destination with the content of the directory source. More...

Bool_t PutToFolder (TObject *ob, TFolder *destination, Bool_t replace=kFALSE)
 Method used by both LoadFolder variants to assign object ob into destination folder by object type. More...

Bool_t SaveFolder (TFolder *source)
 Save this folder as a new subdirectory (TDirectory) of the current directory i.e. More...

void RemoveFromDir (TFolder *fold, TDirectory *dir)
 Remove all objects in folder fold from directory dir, recursively. More...

void AppendToDir (TObject *ob, TDirectory *dir)
 Append object ob to directory dir. More...

Int_t PrintFolder (TFolder *fold, Option_t *opt, const Text_t *expression=0)
 Printout all objects in folder fold on the terminal. More...

Bool_t ClearFolder (TFolder *fold)
 Clear (reset) all objects in folder fold, e.g. More...

Bool_t ClearObject (TObject *ob)
 Clear (reset) the specified object. More...

Bool_t DeleteFolder (TFolder *fold)
 Delete all objects in folder fold only if the kGo4CanDelete bit is set. More...

Bool_t DeleteObject (TObject *ob)
 Delete the specified object if the kGo4CanDelete bit is set. More...

Bool_t ProtectFolder (TFolder *fold, const Option_t *flags)
 Change protection properties of all objects in this folder as specified. More...

Bool_t ProtectObject (TObject *ob, const Option_t *flags)
 Change protection properties of object name as specified. More...

void CleanupDynamicLists (TObject *oldobject)
 Remove reference to object from all dynamic lists.Object type is noticed automatically. More...

void InitPictures (TFolder *fold=0)
 Initialize histogram references of pictures after reload. More...

TList * CreateObjectList (const Text_t *expr, const Text_t *folder=0)
 Create a list of objects which names are matching expression expr. More...

TList * CreateObjectList (const Text_t *expr, TFolder *fold)
 For recursive search for objects in folder fold that match expression. More...

Bool_t IsMatching (const Text_t *string, const Text_t *expression)
 Finds out if string is matching the expression. More...

TObject * FindObjectInFolder (TFolder *folder, const Text_t *fullname)
 Serachs in folder for object with specified name Uses fxDirMutex until search is working. More...

TObject * TestObject (TFolder *folder, const Text_t *&pathname, const Text_t *objectname, const TClass *cl)
 Test, if object exists in provided folder. More...


Private Attributes

TFolder * fxGo4Dir
 Top level Go4 Directory (root folder). More...

TFolder * fxHistogramDir
 Directory containing all histogram objects to be used by dynamic list and user analysis. More...

TFolder * fxConditionDir
 Directory containing all condition objects to be used by dynamic list and by user analysis. More...

TFolder * fxParameterDir
 Directory containing user parameter objects. More...

TFolder * fxDynListDir
 Directory containing all action objects to be used by dynamic list and by user analysis. More...

TFolder * fxUserDir
 Directory containing all user objects. More...

TFolder * fxTreeDir
 Directory containing references to trees. More...

TFolder * fxPictureDir
 Directory containing the pictures. More...

TFolder * fxCanvasDir
 Directory containing TCanvases. More...

TFolder * fxStoreDir
 Directory containing references to event stores. More...

TFolder * fxSourceDir
 Directory containing references to event sources. More...

TFolder * fxProcessorDir
 Directory containing references to event processors. More...

TFolder * fxEventDir
 Directory containing references to event structures. More...

TFolder * fxAnalysisDir
 Top Directory for all references to event classes. More...

TFolder * fxTempFolder
 Temporary folder for nameslist objects. More...

TMutex * fxDirMutex
 Mutex protecting the object directories. More...

TList * fxMatchList
 List of matching objects for name expression. More...

TIterator * fxMatchIterator
 Iterator for list of matching objects. More...

TGo4DynamicListfxDynamicList
 The current dynamic list which is processed by the analysis More...

Int_t fiDynListCount
 Event counter for dynamic list processing. More...

Int_t fiDynListInterval
 Interval for dynamic list processing. More...

Bool_t fbCreatedinMake
 Boolean flag indicates, if object was created in last calls of one of Make* functions. More...

Bool_t fbSuppressLoadHistograms
 If this is set to true, any found histogram will not be loaded from the file current TDirectory. More...


Detailed Description

This object is responsible for the organisation of analysis objects.

Keeps Folder structures and lists. Aggregate of TGo4Analysis.

Author:
J. Adamczewski
Since:
07-May-2002

Definition at line 57 of file TGo4AnalysisObjectManager.h.


Constructor & Destructor Documentation

TGo4AnalysisObjectManager::TGo4AnalysisObjectManager  
 

Definition at line 130 of file TGo4AnalysisObjectManager.cxx.

TGo4AnalysisObjectManager::TGo4AnalysisObjectManager const Text_t *    name
 

Definition at line 88 of file TGo4AnalysisObjectManager.cxx.

References fgcANALYSISFOLDER, fgcCANVFOLDER, fgcCONDFOLDER, fgcDYNFOLDER, fgcEVENTFOLDER, fgcHISTFOLDER, fgcPARAFOLDER, fgcPICTFOLDER, fgcPROCFOLDER, fgcSRCFOLDER, fgcSTOREFOLDER, fgcTMPFOLDER, fgcTOPFOLDER, fgcTREEFOLDER, fgcUSRFOLDER, fxAnalysisDir, fxCanvasDir, fxConditionDir, fxDirMutex, fxDynListDir, fxEventDir, fxGo4Dir, fxHistogramDir, fxParameterDir, fxPictureDir, fxProcessorDir, fxSourceDir, fxStoreDir, fxTempFolder, fxTreeDir, and fxUserDir.

TGo4AnalysisObjectManager::~TGo4AnalysisObjectManager  
 

Definition at line 140 of file TGo4AnalysisObjectManager.cxx.

References fxCanvasDir, fxConditionDir, fxDynListDir, fxEventDir, fxGo4Dir, fxHistogramDir, fxMatchIterator, fxMatchList, fxParameterDir, fxPictureDir, fxProcessorDir, fxSourceDir, fxStoreDir, fxTempFolder, fxTreeDir, and fxUserDir.


Member Function Documentation

Bool_t TGo4AnalysisObjectManager::AddObject TNamed *    anything,
const Text_t *    subfolder = 0,
Bool_t    replace = kTRUE
 

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 174 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxUserDir, and TRACE.

Referenced by TGo4Analysis::AddObject().

TNamed * TGo4AnalysisObjectManager::GetObject const Text_t *    name,
const Text_t *    folder = 0
 

Searches for object by name in all go4 folders.

Returns pointer to object. If object of that name does not exist, null is returned Optionally, name of folder may be specified; object is only searched within that folder then. D

Definition at line 188 of file TGo4AnalysisObjectManager.cxx.

References fgcTOPFOLDER, FindObjectInFolder(), FindSubFolder(), fxGo4Dir, TGo4Analysis::Instance(), TGo4Analysis::Message(), and TRACE.

Referenced by CreateObjectStatus(), and TGo4Analysis::GetObject().

Bool_t TGo4AnalysisObjectManager::RemoveObject const Text_t *    name,
Bool_t    del = kTRUE
 

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 181 of file TGo4AnalysisObjectManager.cxx.

References fxUserDir, and RemoveObjectFromFolder().

Referenced by TGo4Analysis::RemoveObject().

Bool_t TGo4AnalysisObjectManager::DeleteObjects const Text_t *    name
 

Delete object of name, or all objects in folder name, respectively.

Objects are only deleted if delete protection is false. Usuallay, Objects registered from user code are delete protected by default. Objects created dynamically from gui are not delete protected.

Definition at line 264 of file TGo4AnalysisObjectManager.cxx.

References DeleteFolder(), DeleteObject(), fxDirMutex, and fxGo4Dir.

Referenced by TGo4Analysis::DeleteObjects().

TObject * TGo4AnalysisObjectManager::NextMatchingObject const Text_t *    expr,
const Text_t *    folder,
Bool_t    reset
 

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 2531 of file TGo4AnalysisObjectManager.cxx.

References CreateObjectList(), fxMatchIterator, and fxMatchList.

Referenced by TGo4Analysis::NextMatchingObject().

TFolder * TGo4AnalysisObjectManager::CreateBranchFolder TObjArray *    branchlist,
const Text_t *    name,
const Text_t *    Title,
Bool_t    istopbranch = kFALSE
 

Create a folder with subfolders from a list of TBranchElements.

For each subbranch a subfolder will be created, until a TBranchElement without subbranches occur. The latter will be put into a TGo4ObjectStatus class. Flag istopbranch is used to indicate top level call for composite event.

Definition at line 318 of file TGo4AnalysisObjectManager.cxx.

References CreateCompositeBranchFolder(), fxTempFolder, GetEventStructure(), and TRACE.

Referenced by CreateCompositeBranchFolder(), and CreateTreeStructure().

TFolder * TGo4AnalysisObjectManager::CreateCompositeBranchFolder TObjArray *    branchlist,
TGo4CompositeEvent   compevent,
Int_t    startindex,
Int_t *    skip,
const Text_t *    name,
const Text_t *    Title
 

Create a folder with subfolders from a list of TBranchElements that belongs to a TGo4CompositeEvent.

For each subbranch a subfolder will be created, until a TBranchElement without subbranches occur. The latter will be put into a TGo4ObjectStatus class.

Definition at line 428 of file TGo4AnalysisObjectManager.cxx.

References CreateBranchFolder(), fxTempFolder, TGo4CompositeEvent::getListOfComposites(), TGo4CompositeEvent::getNElements(), i, and TRACE.

Referenced by CreateBranchFolder().

TGo4TreeStructure * TGo4AnalysisObjectManager::CreateTreeStructure TTree *    thetree
 

Create a tree structure object that maps the TBranchelements into a TFolder hierarchy.

Definition at line 586 of file TGo4AnalysisObjectManager.cxx.

References CreateBranchFolder(), TGo4TreeStructure::fxTopFolder, TGo4Analysis::Instance(), TGo4Analysis::Message(), and TRACE.

Referenced by CreateNamesFolder(), CreateTreeStructure(), and TGo4Analysis::CreateTreeStructure().

TGo4TreeStructure * TGo4AnalysisObjectManager::CreateTreeStructure const Text_t *    treename
 

Create a tree structure for a certain tree by name.

Definition at line 605 of file TGo4AnalysisObjectManager.cxx.

References CreateTreeStructure(), fxTreeDir, and TRACE.

Bool_t TGo4AnalysisObjectManager::AddHistogram TH1 *    his,
const Text_t *    subfolder = 0,
Bool_t    replace = kTRUE
 

Add external histogram to go4 histogram directory.

Histogram will be owned and streamed by go4 histogram list afterwards.

Definition at line 622 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxHistogramDir, and TRACE.

Referenced by TGo4Analysis::AddHistogram(), MakeH1(), and MakeH2().

TH1 * TGo4AnalysisObjectManager::GetHistogram const Text_t *    name
 

Search histogram in histogram list (directory).

Definition at line 745 of file TGo4AnalysisObjectManager.cxx.

References FindObjectInFolder(), fxHistogramDir, fxUserDir, and TRACE.

Referenced by TGo4Analysis::GetHistogram().

Bool_t TGo4AnalysisObjectManager::RemoveHistogram const Text_t *    name,
Bool_t    del = kTRUE
 

Removes histogram from histogram dir by name.

Returns kFALSE if no such histogram. Histogram object is deleted on heap only if del is true. Otherwise, user owns the histogram afterwords. Dynamic list entry for that histogram object is also removed.

Definition at line 759 of file TGo4AnalysisObjectManager.cxx.

References fxHistogramDir, RemoveObjectFromFolder(), and TRACE.

Referenced by TGo4Analysis::RemoveHistogram().

TH1 * TGo4AnalysisObjectManager::MakeH1 const Text_t *    histotype,
const Text_t *    foldername,
const Text_t *    histoname,
Int_t    nbinsx,
Axis_t    xlow,
Axis_t    xup,
const Text_t *    title = 0,
const Text_t *    xtitle = 0,
const Text_t *    ytitle = 0
 

Create 1-dim histogram in histogram folder.

If histogram exists in autosave file, it will be taken from autosavefile. If type of existing histogram does not match with provided, old histogram will be removed and new proper will be created. Parameters are: histotype = "C", "D", "F", "I", "S" corresonds to different TH1* types folderame - name of folder, where histogram should be created histoname - name of histogram nbinsx - number of histogram bins xlow - histogram lower limit xup - histogram upper limit title - histogram tille [optional] xtitle - title on x axis [optional] ytitle - title on y axis [optional]

Definition at line 632 of file TGo4AnalysisObjectManager.cxx.

References AddHistogram(), fxHistogramDir, and TestObject().

TH2 * TGo4AnalysisObjectManager::MakeH2 const Text_t *    histotype,
const Text_t *    foldername,
const Text_t *    histoname,
Int_t    nbinsx,
Axis_t    xlow,
Axis_t    xup,
Int_t    nbinsy,
Axis_t    ylow,
Axis_t    yup,
const Text_t *    title = 0,
const Text_t *    xtitle = 0,
const Text_t *    ytitle = 0
 

Create 2-dim histogram in histogram folder.

If histogram exists in autosave file, it will be taken from autosavefile. If type of existing histogram does not match with provided, old histogram will be removed and new proper will be created. Parameters are: histotype = "C", "D", "F", "I", "S" corresonds to different TH1* types folderame - name of folder, where histogram should be created histoname - name of histogram nbinsx - number of bins on x axis xlow - lower limit on x axis xup - upper limit on x axis nbinsy - number of bins on y axis ylow - lower limit on y axis yup - upper limit on y axis title - histogram tille [optional] xtitle - title on x axis [optional] ytitle - title on y axis [optional]

Definition at line 676 of file TGo4AnalysisObjectManager.cxx.

References AddHistogram(), fxHistogramDir, and TestObject().

Bool_t TGo4AnalysisObjectManager::AddTree TTree *    tree,
const Text_t *    subfolder = 0
 

Add reference to a tree in the go4 folder structure.

If name of subfolder is given, tree will be assigned to subfolder, e.g. dedicated to analysis step. If subfolder is zero, the tree will be put into general tree folder.

Definition at line 723 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxTreeDir, and TRACE.

Referenced by TGo4Analysis::AddTree().

TTree * TGo4AnalysisObjectManager::GetTree const Text_t *    name
 

Search tree in tree folder.

Definition at line 753 of file TGo4AnalysisObjectManager.cxx.

References FindObjectInFolder(), fxTreeDir, and TRACE.

Referenced by TGo4Analysis::GetTree().

Bool_t TGo4AnalysisObjectManager::RemoveTree TTree *    tree,
const Text_t *    stepname = 0
 

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 729 of file TGo4AnalysisObjectManager.cxx.

References fxDirMutex, fxTreeDir, and TRACE.

Referenced by TGo4Analysis::RemoveTree().

Bool_t TGo4AnalysisObjectManager::AddAnalysisCondition TGo4Condition   con,
const Text_t *    subfolder = 0
 

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 767 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxConditionDir, and TRACE.

Referenced by TGo4Analysis::AddAnalysisCondition(), MakePolyCond(), and MakeWindowCond().

Bool_t TGo4AnalysisObjectManager::SetAnalysisCondition const Text_t *    name,
TGo4Condition   con,
Bool_t    counter = kTRUE,
TFolder *    parent = 0
 

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. optional parent folder can be specified. By default, condition is searched relative to Conditions folder.

Definition at line 773 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), TGo4PolyCond::CleanupSpecials(), fguSUBFOLDERMAXLEN, fxConditionDir, fxDirMutex, fxUserDir, TRACE, and TGo4Condition::UpdateFrom().

Referenced by PutToFolder(), and TGo4Analysis::SetAnalysisCondition().

TGo4Condition * TGo4AnalysisObjectManager::GetAnalysisCondition const Text_t *    name
 

Retrieves an analysis condition from list by name.

Returns 0 if no such condtion.

Definition at line 856 of file TGo4AnalysisObjectManager.cxx.

References FindObjectInFolder(), fxConditionDir, fxUserDir, and TRACE.

Referenced by TGo4Analysis::GetAnalysisCondition().

Bool_t TGo4AnalysisObjectManager::RemoveAnalysisCondition const Text_t *    name
 

Removes analysis condition from list by name.

Returns 0 if no such condition. Condition object is deleted on heap.

Definition at line 945 of file TGo4AnalysisObjectManager.cxx.

References fxConditionDir, RemoveObjectFromFolder(), and TRACE.

Referenced by TGo4Analysis::RemoveAnalysisCondition().

TGo4WinCond * TGo4AnalysisObjectManager::MakeWindowCond const Text_t *    foldername,
const Text_t *    conditionname,
Double_t    xlow,
Double_t    xup,
const Text_t *    bindhistogram = 0,
Bool_t    invert = kFALSE
 

Create 1-dim window condition in conditions folder.

If conditions exists in autosave file, it will be taken from autosave file. If type of existing condition does not match, condition will be removed and new will be created. Parameters are: folderame - name of folder, where condition should be created conditionsname - name of condition xlow - lower limit of condition xup - upper limit on condition bindhistogram - name of histogram, connected to condition [optional] invert - invert condition

Definition at line 865 of file TGo4AnalysisObjectManager.cxx.

References AddAnalysisCondition(), fxConditionDir, TGo4Condition::Invert(), TGo4Condition::SetHistogram(), TGo4WinCond::SetValues(), and TestObject().

TGo4WinCond * TGo4AnalysisObjectManager::MakeWindowCond const Text_t *    foldername,
const Text_t *    conditionname,
Double_t    xlow,
Double_t    xup,
Double_t    ylow,
Double_t    yup,
const Text_t *    bindhistogram = 0,
Bool_t    invert = kFALSE
 

Create 2-dim window condition in conditions folder.

If conditions exists in autosave file, it will be taken from autosave file. If type of existing condition does not match, condition will be removed and new will be created. Parameters are: folderame - name of folder, where condition should be created conditionsname - name of condition xlow - lower limit on x axis xup - upper limit on x axis ylow - lower limit on y axis yup - upper limit on y axis bindhistogram - name of histogram, connected to condition [optional] invert - invert condition

Definition at line 885 of file TGo4AnalysisObjectManager.cxx.

References AddAnalysisCondition(), fxConditionDir, TGo4Condition::Invert(), TGo4Condition::SetHistogram(), TGo4WinCond::SetValues(), and TestObject().

TGo4PolyCond * TGo4AnalysisObjectManager::MakePolyCond const Text_t *    foldername,
const Text_t *    conditionname,
Int_t    size,
Float_t *    points[2],
const Text_t *    bindhistogram = 0,
Bool_t    invert = kFALSE
 

Create polygon 2-dim condition in conditions folder.

If conditions exists in autosave file, it will be taken from autosave file. If type of existing condition does not match, condition will be removed and new will be created. Points of polygon are taken from two dimentional array, which can be declared in program like: Float_t points[4][2] = {{ 0., 0.}, { 0., 4000.}, {40000., 4000.}, {40000., 0.}}; If first and last points will be connected, if they didnot match each other

Parameters are: folderame - name of folder, where condition should be created conditionsname - name of condition size - number of points in polygon points - array of (x,y) coordinate of polygon bindhistogram - name of histogram, connected to condition [optional] invert - invert condition

Definition at line 907 of file TGo4AnalysisObjectManager.cxx.

References AddAnalysisCondition(), fxConditionDir, i, TGo4Condition::Invert(), TGo4Condition::SetHistogram(), TGo4PolyCond::SetValues(), and TestObject().

Bool_t TGo4AnalysisObjectManager::AddParameter TGo4Parameter   par,
const Text_t *    subfolder = 0
 

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 1281 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxParameterDir, and TRACE.

Referenced by TGo4Analysis::AddParameter().

Bool_t TGo4AnalysisObjectManager::SetParameter const Text_t *    name,
TGo4Parameter   par,
TFolder *    parent = 0
 

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. Optional parent folder can be specified. by default, parameter is searched relative to Parameters folder.

Definition at line 1287 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fguSUBFOLDERMAXLEN, fxParameterDir, TRACE, and TGo4Parameter::UpdateFrom().

Referenced by PutToFolder(), and TGo4Analysis::SetParameter().

TGo4Parameter * TGo4AnalysisObjectManager::GetParameter const Text_t *    name
 

Retrieves a parameter object by name from the object folder.

Returns 0 if no such paramter.

Definition at line 1345 of file TGo4AnalysisObjectManager.cxx.

References FindObjectInFolder(), fxParameterDir, fxUserDir, and TRACE.

Referenced by TGo4Analysis::GetParameter().

Bool_t TGo4AnalysisObjectManager::RemoveParameter const Text_t *    name
 

Removes parameter by name.

Returns 0 if no such parameter. Parameter object is deleted on heap.

Definition at line 1353 of file TGo4AnalysisObjectManager.cxx.

References fxParameterDir, RemoveObjectFromFolder(), and TRACE.

Referenced by TGo4Analysis::RemoveParameter().

Bool_t TGo4AnalysisObjectManager::AddPicture TGo4Picture   pic,
const Text_t *    subfolder = 0
 

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 1359 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxGo4Dir, fxPictureDir, TGo4Picture::LocateObjectsFrom(), and TRACE.

Referenced by TGo4Analysis::AddPicture().

Bool_t TGo4AnalysisObjectManager::SetPicture const Text_t *    name,
TGo4Picture   pic,
TFolder *    parent = 0
 

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. Optional parent folder can be specified. by default, picture is searched relative to Pictures folder.

Definition at line 1371 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fguSUBFOLDERMAXLEN, fxPictureDir, TRACE, and TGo4Picture::UpdateFrom().

Referenced by PutToFolder(), and TGo4Analysis::SetPicture().

TGo4Picture * TGo4AnalysisObjectManager::GetPicture const Text_t *    name
 

Retrieves a picture object by name from the object folder.

Returns 0 if no such picture.

Definition at line 1426 of file TGo4AnalysisObjectManager.cxx.

References FindObjectInFolder(), fxPictureDir, fxUserDir, and TRACE.

Referenced by TGo4Analysis::GetPicture().

Bool_t TGo4AnalysisObjectManager::RemovePicture const Text_t *    name
 

Removes picture by name.

Returns 0 if no such picture. Picture object is deleted on heap.

Definition at line 1434 of file TGo4AnalysisObjectManager.cxx.

References fxPictureDir, RemoveObjectFromFolder(), and TRACE.

Referenced by TGo4Analysis::RemovePicture().

Bool_t TGo4AnalysisObjectManager::AddCanvas TCanvas *    can,
const Text_t *    subfolder = 0
 

Puts a new TCanvas in corresponding folder.

Object is owned by folder afterwards. Returns false if object of that name already exists in list.

Definition at line 1473 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxCanvasDir, and TRACE.

Referenced by TGo4Analysis::AddCanvas().

Bool_t TGo4AnalysisObjectManager::SetCanvas const Text_t *    name,
TGo4CanvasStatus   stat,
TFolder *    parent = 0
 

Set existing picture of name to the values of external CanvasStatus object.

Used to set TCanvas by command from gui. Optional parent folder can be specified. by default, TCanvas is searched relative to Canvases folder.

Definition at line 1482 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), TGo4CanvasStatus::CreateCanvas(), fguSUBFOLDERMAXLEN, fxCanvasDir, and TRACE.

Referenced by TGo4Analysis::SetCanvas().

TCanvas * TGo4AnalysisObjectManager::GetCanvas const Text_t *    name
 

Retrieves a TCanvas by name from the Canvases folder.

Returns 0 if no such object.

Definition at line 1531 of file TGo4AnalysisObjectManager.cxx.

References FindObjectInFolder(), fxCanvasDir, and TRACE.

Referenced by TGo4Analysis::GetCanvas().

Bool_t TGo4AnalysisObjectManager::RemoveCanvas const Text_t *    name
 

Removes TCanvas by name.

Returns 0 if no such canvas. TCanvas object is deleted on heap.

Definition at line 1539 of file TGo4AnalysisObjectManager.cxx.

References fxCanvasDir, RemoveObjectFromFolder(), and TRACE.

Referenced by TGo4Analysis::RemoveCanvas().

TGo4ObjectStatus * TGo4AnalysisObjectManager::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.

Used by GUI command to get updated information on certain object. Optionally, name of search folder may be given.

Definition at line 951 of file TGo4AnalysisObjectManager.cxx.

References GetObject().

Referenced by CreateNamesFolder(), TGo4Analysis::CreateObjectStatus(), and PrintFolder().

TGo4ObjectStatus * TGo4AnalysisObjectManager::CreateObjectStatus TObject *    ob,
Bool_t    fullinfo = kTRUE
 

Create status object for object ob.

If fullinfo flag is false, skip time consuming parts of the status (case of nameslist)

Definition at line 957 of file TGo4AnalysisObjectManager.cxx.

TGo4AnalysisObjectNames * TGo4AnalysisObjectManager::CreateNamesList  
 

Creates a list of names (keys) of all objects in analysis directories.

Definition at line 1014 of file TGo4AnalysisObjectManager.cxx.

References TGo4PolyCond::CleanupSpecials(), CreateNamesFolder(), fxDirMutex, fxGo4Dir, TGo4AnalysisObjectNames::fxTopFolder, and TRACE.

Referenced by TGo4Analysis::CreateNamesList().

TFolder * TGo4AnalysisObjectManager::CreateNamesFolder TFolder *    objectfolder
 

Conversion of the TFolder of objects into a TFolder containing the object names as TObjectStrings.

Subfolders are translated to subfolders containing subfolder names.

Definition at line 1025 of file TGo4AnalysisObjectManager.cxx.

References CreateObjectStatus(), TGo4DynamicList::CreateStatus(), CreateTreeStructure(), fxTempFolder, TGo4EventStatus::GetTopFolder(), TGo4DynamicListStatus::GetTopFolder(), and TRACE.

Referenced by CreateNamesList().

TFolder * TGo4AnalysisObjectManager::GetObjectFolder  
 

Access to top folder of all objects.

Definition at line 1092 of file TGo4AnalysisObjectManager.cxx.

References fxGo4Dir.

Referenced by TGo4Analysis::GetObjectFolder().

Bool_t TGo4AnalysisObjectManager::AddEventStore TGo4EventStore   store
 

Add reference to event store object to Go4 Folder structure.

To be used by framework only!

Definition at line 1100 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxStoreDir, and TRACE.

Referenced by TGo4Analysis::AddEventStore().

Bool_t TGo4AnalysisObjectManager::RemoveEventStore TGo4EventStore   store
 

Remove reference to event store from go4 folder structure.

Definition at line 1105 of file TGo4AnalysisObjectManager.cxx.

References fxDirMutex, fxStoreDir, and TRACE.

Referenced by TGo4Analysis::RemoveEventStore().

Bool_t TGo4AnalysisObjectManager::AddEventSource TGo4EventSource   source
 

Add reference to event source object to Go4 Folder structure.

To be used by framework only!

Definition at line 1122 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxSourceDir, and TRACE.

Referenced by TGo4Analysis::AddEventSource().

Bool_t TGo4AnalysisObjectManager::RemoveEventSource TGo4EventSource   source
 

Remove reference to event source from go4 folder structure.

Definition at line 1128 of file TGo4AnalysisObjectManager.cxx.

References fxDirMutex, fxSourceDir, and TRACE.

Referenced by TGo4Analysis::RemoveEventSource().

Bool_t TGo4AnalysisObjectManager::AddEventProcessor TGo4EventProcessor   pro
 

Add reference to event processor object to Go4 Folder structure.

To be used by framework only!

Definition at line 1144 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxProcessorDir, and TRACE.

Referenced by TGo4Analysis::AddEventProcessor().

Bool_t TGo4AnalysisObjectManager::RemoveEventProcessor TGo4EventProcessor   pro
 

Remove reference to event processor from go4 folder structure.

Definition at line 1150 of file TGo4AnalysisObjectManager.cxx.

References fxDirMutex, fxProcessorDir, and TRACE.

Referenced by TGo4Analysis::RemoveEventProcessor().

Bool_t TGo4AnalysisObjectManager::AddEventStructure TGo4EventElement   ev
 

Add reference to event structure object to Go4 Folder structure.

To be used by framework only!

Definition at line 1166 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxEventDir, and TRACE.

Referenced by TGo4Analysis::AddEventStructure().

Bool_t TGo4AnalysisObjectManager::RemoveEventStructure TGo4EventElement   ev
 

Remove reference to event structure from go4 folder structure.

Definition at line 1172 of file TGo4AnalysisObjectManager.cxx.

References TGo4DynamicList::CleanupEvent(), fxDirMutex, fxDynListDir, fxEventDir, and TRACE.

Referenced by TGo4Analysis::RemoveEventStructure().

TGo4EventElement * TGo4AnalysisObjectManager::GetEventStructure const Text_t *    name
 

Search reference to event stucture in folder.

Definition at line 1193 of file TGo4AnalysisObjectManager.cxx.

References FindObjectInFolder(), fxEventDir, and TRACE.

Referenced by CreateBranchFolder(), and TGo4Analysis::GetEventStructure().

Bool_t TGo4AnalysisObjectManager::ResetBackStores  
 

Reset all registered backstore instances.Called by dynamic list processing.

Definition at line 1224 of file TGo4AnalysisObjectManager.cxx.

References fxStoreDir, TGo4BackStore::Reset(), and TRACE.

Referenced by ProcessDynamicList(), and TGo4Analysis::ResetBackStores().

void TGo4AnalysisObjectManager::CloseAnalysis  
 

Cleanups required when analysis is closed.

Definition at line 1251 of file TGo4AnalysisObjectManager.cxx.

References fiDynListCount, fxDynamicList, TGo4Analysis::Instance(), TGo4Analysis::Message(), TGo4DynamicList::Reset(), and TRACE.

Referenced by TGo4Analysis::CloseAnalysis().

void TGo4AnalysisObjectManager::SaveObjects TFile *    file
 

Save folder structure to given file.

Definition at line 1259 of file TGo4AnalysisObjectManager.cxx.

References fxAnalysisDir, fxGo4Dir, fxTreeDir, TGo4Analysis::Instance(), TGo4Analysis::Message(), RemoveFromDir(), and SaveFolder().

Referenced by TGo4Analysis::AutoSave().

Bool_t TGo4AnalysisObjectManager::LoadObjects TFile *    statusfile
 

Load objects from file.

File should be opened and closed by the caller.

Definition at line 1549 of file TGo4AnalysisObjectManager.cxx.

References TGo4PolyCond::CleanupSpecials(), fgcTOPFOLDER, fxDynamicList, fxGo4Dir, InitPictures(), LoadFolder(), TGo4DynamicList::Reset(), and TRACE.

Referenced by TGo4Analysis::LoadObjects().

Bool_t TGo4AnalysisObjectManager::AddDynamicList TGo4DynamicList   list
 

Adds reference to dynamic list object in dynamic list folder.

Definition at line 1199 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxDynListDir, and TRACE.

Referenced by PutToFolder(), and TGo4Analysis::TGo4Analysis().

TGo4DynamicList * TGo4AnalysisObjectManager::GetDynamicList const Text_t *    name
 

Retrieves an dynamic list object from folder by name.

Definition at line 1218 of file TGo4AnalysisObjectManager.cxx.

References FindObjectInFolder(), fxDynListDir, and TRACE.

Referenced by TGo4Analysis::GetDynamicList(), RemoveDynamicEntry(), and SetDynamicEntryStatus().

Bool_t TGo4AnalysisObjectManager::RemoveDynamicList const Text_t *    name
 

Remove reference to dynamic list of name from go4 folder structure.

Definition at line 1212 of file TGo4AnalysisObjectManager.cxx.

References fxDynListDir, RemoveObjectFromFolder(), and TRACE.

Referenced by PutToFolder().

void TGo4AnalysisObjectManager::RemoveDynamicList TGo4DynamicList   list
 

Remove reference to dynamic list from go4 folder structure.

Definition at line 1206 of file TGo4AnalysisObjectManager.cxx.

References fxDynListDir, and TRACE.

void TGo4AnalysisObjectManager::SetCurrentDynList TGo4DynamicList   list [inline]
 

Set the given dynamic list as current.

i.e. this list is used for processing in the analysis.

Definition at line 556 of file TGo4AnalysisObjectManager.h.

References fxDynamicList.

Referenced by TGo4Analysis::TGo4Analysis().

TGo4DynamicList* TGo4AnalysisObjectManager::GetCurrentDynList   [inline]
 

Get the currently active dynamic list.

Definition at line 563 of file TGo4AnalysisObjectManager.h.

References fxDynamicList.

Referenced by AddDynamicHistogram(), AddTreeHistogram(), RemoveDynamicEntry(), and SetDynamicEntryStatus().

void TGo4AnalysisObjectManager::ResetCurrentDynList  
 

Reset the current dynamic list.

Definition at line 1577 of file TGo4AnalysisObjectManager.cxx.

References fxDynamicList, and TGo4DynamicList::Reset().

Int_t TGo4AnalysisObjectManager::ProcessDynamicList  
 

Loop over the dynamic list and process the actions linked to the entries.

Definition at line 1583 of file TGo4AnalysisObjectManager.cxx.

References CheckDynListInterval(), fiDynListCount, fxDynamicList, TGo4DynamicList::IsEmpty(), TGo4DynamicList::Process(), ResetBackStores(), and TRACE.

Referenced by TGo4Analysis::MainCycle().

void TGo4AnalysisObjectManager::SetDynListInterval Int_t    val [inline]
 

Definition at line 577 of file TGo4AnalysisObjectManager.h.

References fiDynListInterval.

Referenced by TGo4Analysis::SetDynListInterval().

Int_t TGo4AnalysisObjectManager::GetDynListInterval   [inline]
 

Definition at line 582 of file TGo4AnalysisObjectManager.h.

References fiDynListInterval.

Referenced by TGo4Analysis::GetDynListInterval().

Bool_t TGo4AnalysisObjectManager::CheckDynListInterval   [inline]
 

Definition at line 595 of file TGo4AnalysisObjectManager.h.

References fiDynListCount, and fiDynListInterval.

Referenced by TGo4Analysis::CheckDynListInterval(), and ProcessDynamicList().

Bool_t TGo4AnalysisObjectManager::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
 

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 hevx, hevy, hevz at the data members of names hmemx, hmemy, hmemz, for the three coordinate axes, respectively. Histogram dimension is checked against given values. Condition is tested regarding the events cevx, cevy with members cmemx, cmemy

Definition at line 1626 of file TGo4AnalysisObjectManager.cxx.

References __MAXCONDIM__, __MAXHISDIM__, TGo4DynamicEntry::fgcNODATA, TGo4DynamicEntry::fgcNOEVENT, TGo4DynamicEntry::fguMAXCONDIMENSION, TGo4HistogramEntry::fguMAXHISDIMENSION, TGo4HistogramEntryStatus::ResetNames(), TGo4DynamicEntryStatus::SetConditionName(), TGo4DynamicEntryStatus::SetConEventNames(), TGo4DynamicEntryStatus::SetConVarNames(), TGo4HistogramEntryStatus::SetHisEventNames(), TGo4HistogramEntryStatus::SetHistogramName(), TGo4HistogramEntryStatus::SetHisVarNames(), and TRACE.

Referenced by TGo4Analysis::AddDynamicHistogram().

Bool_t TGo4AnalysisObjectManager::AddDynamicHistogram TGo4HistogramEntryStatus   settings
 

Definition at line 1693 of file TGo4AnalysisObjectManager.cxx.

References TGo4DynamicList::AddEntry(), GetCurrentDynList(), TGo4HistogramEntry::SetStatus(), and TRACE.

Bool_t TGo4AnalysisObjectManager::AddTreeHistogram const Text_t *    hisname,
const Text_t *    treename,
const Text_t *    varexp,
TCut    selection
 

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 1722 of file TGo4AnalysisObjectManager.cxx.

References TGo4DynamicList::AddEntry(), GetCurrentDynList(), TGo4Analysis::Instance(), TGo4Analysis::Message(), and TRACE.

Referenced by TGo4Analysis::AddTreeHistogram().

void TGo4AnalysisObjectManager::PrintHistograms const Text_t *    expression = 0
 

Printout of all histogram statistic counters on the terminal.

Expression may filter only objects with names matching.

Definition at line 2507 of file TGo4AnalysisObjectManager.cxx.

References fxHistogramDir, PrintFolder(), and TRACE.

Referenced by TGo4Analysis::PrintHistograms().

void TGo4AnalysisObjectManager::PrintConditions const Text_t *    expression = 0
 

Print all condition counters to the terminal.

Expression may filter only objects with names matching.

Definition at line 2499 of file TGo4AnalysisObjectManager.cxx.

References fxConditionDir, PrintFolder(), and TRACE.

Referenced by TGo4Analysis::PrintConditions().

void TGo4AnalysisObjectManager::PrintDynamicList  
 

Print entries of current dynamic list.

Definition at line 2516 of file TGo4AnalysisObjectManager.cxx.

References TGo4DynamicList::CreateStatus(), fxDynamicList, and TGo4DynamicListStatus::Print().

Referenced by TGo4Analysis::PrintDynamicList().

Bool_t TGo4AnalysisObjectManager::ClearObjects const Text_t *    name
 

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 228 of file TGo4AnalysisObjectManager.cxx.

References ClearFolder(), ClearObject(), fxDirMutex, fxDynamicList, fxGo4Dir, TGo4DynamicList::GetEntry(), TGo4DynamicEntry::Reset(), and TRACE.

Referenced by TGo4Analysis::ClearObjects().

Bool_t TGo4AnalysisObjectManager::ProtectObjects const Text_t *    name,
const Option_t *    flags
 

Change protection properties of object name as specified.

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" Properties not appearing in flags are not changed.

Definition at line 292 of file TGo4AnalysisObjectManager.cxx.

References fxDirMutex, fxGo4Dir, ProtectFolder(), and ProtectObject().

Referenced by TGo4Analysis::ProtectObjects().

Bool_t TGo4AnalysisObjectManager::SetDynamicEntryStatus const Text_t *    name,
TGo4DynamicEntryStatus   state,
const Text_t *    listname = 0
 

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 dynamic list. If listname is not given, the current dynamic list is used.

Definition at line 1606 of file TGo4AnalysisObjectManager.cxx.

References GetCurrentDynList(), GetDynamicList(), TGo4DynamicList::SetEntryStatus(), and TRACE.

Referenced by TGo4Analysis::SetDynamicEntryStatus().

Bool_t TGo4AnalysisObjectManager::RemoveDynamicEntry const Text_t *    entryname,
const Text_t *    listname = 0
 

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. If listname is not given, the current dynamic list is used.

Definition at line 1761 of file TGo4AnalysisObjectManager.cxx.

References TGo4DynamicList::DeleteEntry(), GetCurrentDynList(), GetDynamicList(), and TRACE.

Referenced by TGo4Analysis::RemoveDynamicEntry().

TFolder * TGo4AnalysisObjectManager::FindSubFolder TFolder *    parent,
const Text_t *    subfolder,
Bool_t    create = kTRUE
 

Get pointer to subfolder of parent specified by name.

If create is true, create it

Definition at line 1788 of file TGo4AnalysisObjectManager.cxx.

References fguSUBFOLDERMAXLEN, fxDirMutex, and TRACE.

Referenced by AddObjectToFolder(), CreateObjectList(), GetObject(), LoadFolder(), and TGo4Analysis::StoreFolder().

Bool_t TGo4AnalysisObjectManager::CreatedInMake   const [inline]
 

Definition at line 698 of file TGo4AnalysisObjectManager.h.

References fbCreatedinMake.

Bool_t TGo4AnalysisObjectManager::AddObjectToFolder TObject *    ob,
TFolder *    fold,
const Text_t *    subfolder = 0,
Bool_t    replace = kTRUE,
Bool_t    uniquename = kFALSE,
Bool_t    resetbits = kTRUE
[private]
 

Add any named object to a folder.

Used by AddHistogram, AddParameter etc. methods. If replace is true, old object of same name will be removed first. If uniquename is true, there are no two objects of same name allowed even in different subfolders (important for histograms registered to gROOT). if resetbits is true, go4 deletion and reset protection bits are set to defaults. Otherwise, object bits of ob are not touched.

Definition at line 1839 of file TGo4AnalysisObjectManager.cxx.

References CleanupDynamicLists(), fguSUBFOLDERMAXLEN, FindSubFolder(), fxDirMutex, TGo4Status::kGo4CanDelete, TGo4Status::kGo4NoReset, and TRACE.

Referenced by AddAnalysisCondition(), AddCanvas(), AddDynamicList(), AddEventProcessor(), AddEventSource(), AddEventStore(), AddEventStructure(), AddHistogram(), AddObject(), AddParameter(), AddPicture(), AddTree(), PutToFolder(), SetAnalysisCondition(), SetCanvas(), SetParameter(), and SetPicture().

Bool_t TGo4AnalysisObjectManager::RemoveObjectFromFolder const Text_t *    fullname,
TFolder *    fold,
Bool_t    isDel
[private]
 

Remove object specified by full name ("subfolder/subssubfolder/name") from folder fold.

If isDel flag is kTRUE, object will be deleted. Return kTRUE if object was found and removed, otherwise kFALSE. Used by RemoveHistogram etc. methods.

Definition at line 1932 of file TGo4AnalysisObjectManager.cxx.

References CleanupDynamicLists(), fguSUBFOLDERMAXLEN, fxDirMutex, TGo4Analysis::Instance(), TGo4Analysis::Message(), and TRACE.

Referenced by RemoveAnalysisCondition(), RemoveCanvas(), RemoveDynamicList(), RemoveHistogram(), RemoveObject(), RemoveParameter(), RemovePicture(), and TestObject().

Bool_t TGo4AnalysisObjectManager::LoadFolder TFolder *    source,
TFolder *    destination,
Bool_t    replace = kFALSE
[private]
 

Update folder destination with the content of the folder source.

Subfolder structure of source is recreated in destination, but existing objects are not replaced/deleted unless replace==kTRUE

Definition at line 1958 of file TGo4AnalysisObjectManager.cxx.

References FindSubFolder(), fxDirMutex, PutToFolder(), and TRACE.

Referenced by LoadFolder(), and LoadObjects().

Bool_t TGo4AnalysisObjectManager::LoadFolder TDirectory *    source,
TFolder *    destination,
Bool_t    replace = kFALSE
[private]
 

Update folder destination with the content of the directory source.

Subdirectory structure of source is converted into subfolder of destination, but existing objects are not replaced/deleted unless replace==kTRUE

Definition at line 1987 of file TGo4AnalysisObjectManager.cxx.

References fbSuppressLoadHistograms, fgcPICTFOLDER, FindSubFolder(), fxDirMutex, TGo4Analysis::Instance(), LoadFolder(), TGo4Analysis::Message(), PutToFolder(), and TRACE.

Bool_t TGo4AnalysisObjectManager::PutToFolder TObject *    ob,
TFolder *    destination,
Bool_t    replace = kFALSE
[private]
 

Method used by both LoadFolder variants to assign object ob into destination folder by object type.

If replace is kTRUE, previous objects of same name are replaced by ob.

Definition at line 2049 of file TGo4AnalysisObjectManager.cxx.

References AddDynamicList(), TGo4DynamicList::AddEntry(), AddObjectToFolder(), TGo4DynamicList::DeleteEntry(), TGo4Analysis::fgcTOPDYNAMICLIST, fxDynamicList, TGo4Analysis::Instance(), TGo4Analysis::Message(), RemoveDynamicList(), TGo4DynamicList::Reset(), SetAnalysisCondition(), SetParameter(), and SetPicture().

Referenced by LoadFolder().

Bool_t TGo4AnalysisObjectManager::SaveFolder TFolder *    source [private]
 

Save this folder as a new subdirectory (TDirectory) of the current directory i.e.

the currently open file. This is most likely more performant than streaming top folder completely into file

Definition at line 2148 of file TGo4AnalysisObjectManager.cxx.

References AppendToDir(), fxDirMutex, TGo4Analysis::Instance(), TGo4Analysis::Message(), TGo4DynamicList::NextEntry(), and TGo4DynamicList::ResetIterator().

Referenced by SaveObjects().

void TGo4AnalysisObjectManager::RemoveFromDir TFolder *    fold,
TDirectory *    dir
[private]
 

Remove all objects in folder fold from directory dir, recursively.

Prevents the deletion of all objects in memory folders after SaveFolder, when dir is closed.

Definition at line 2229 of file TGo4AnalysisObjectManager.cxx.

References TGo4DynamicList::NextEntry(), and TGo4DynamicList::ResetIterator().

Referenced by SaveObjects().

void TGo4AnalysisObjectManager::AppendToDir TObject *    ob,
TDirectory *    dir
[private]
 

Append object ob to directory dir.

If object of same name already existed there, it is replaced.

Definition at line 2215 of file TGo4AnalysisObjectManager.cxx.

Referenced by SaveFolder().

Int_t TGo4AnalysisObjectManager::PrintFolder TFolder *    fold,
Option_t *    opt,
const Text_t *    expression = 0
[private]
 

Printout all objects in folder fold on the terminal.

Option for root Print can be specified. Optionally, a filtering expression can be defined. Return value gives total size of all printed objects in bytes (including subfolders).

Definition at line 2264 of file TGo4AnalysisObjectManager.cxx.

References CreateObjectStatus(), fxDirMutex, TGo4ObjectStatus::GetObjectSize(), IsMatching(), and TRACE.

Referenced by PrintConditions(), and PrintHistograms().

Bool_t TGo4AnalysisObjectManager::ClearFolder TFolder *    fold [private]
 

Clear (reset) all objects in folder fold, e.g.

zero the histograms. Objects are not deleted!

Definition at line 2303 of file TGo4AnalysisObjectManager.cxx.

References ClearObject(), fxDirMutex, and TRACE.

Referenced by ClearObjects().

Bool_t TGo4AnalysisObjectManager::ClearObject TObject *    ob [private]
 

Clear (reset) the specified object.

Depending on type, different actions may happen (clear histo, zero graph)

Definition at line 2330 of file TGo4AnalysisObjectManager.cxx.

References TGo4Status::kGo4NoReset, TGo4Picture::Reset(), and TRACE.

Referenced by ClearFolder(), and ClearObjects().

Bool_t TGo4AnalysisObjectManager::DeleteFolder TFolder *    fold [private]
 

Delete all objects in folder fold only if the kGo4CanDelete bit is set.

Usually, only objects created from the gui may be deleted.

Definition at line 2390 of file TGo4AnalysisObjectManager.cxx.

References DeleteObject(), fxDirMutex, and TRACE.

Referenced by DeleteObjects().

Bool_t TGo4AnalysisObjectManager::DeleteObject TObject *    ob [private]
 

Delete the specified object if the kGo4CanDelete bit is set.

Usually, only objects created from the gui may be deleted.

Definition at line 2417 of file TGo4AnalysisObjectManager.cxx.

References CleanupDynamicLists(), fxGo4Dir, TGo4Status::kGo4CanDelete, and TRACE.

Referenced by DeleteFolder(), and DeleteObjects().

Bool_t TGo4AnalysisObjectManager::ProtectFolder TFolder *    fold,
const Option_t *    flags
[private]
 

Change protection properties of all objects in this folder as specified.

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" Properties not appearing in flags are not changed.

Definition at line 2429 of file TGo4AnalysisObjectManager.cxx.

References fxDirMutex, and ProtectObject().

Referenced by ProtectObjects().

Bool_t TGo4AnalysisObjectManager::ProtectObject TObject *    ob,
const Option_t *    flags
[private]
 

Change protection properties of object name as specified.

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" Properties not appearing in flags are not changed.

Definition at line 2450 of file TGo4AnalysisObjectManager.cxx.

References TGo4Status::kGo4CanDelete, and TGo4Status::kGo4NoReset.

Referenced by ProtectFolder(), and ProtectObjects().

void TGo4AnalysisObjectManager::CleanupDynamicLists TObject *    oldobject [private]
 

Remove reference to object from all dynamic lists.Object type is noticed automatically.

Definition at line 2464 of file TGo4AnalysisObjectManager.cxx.

References TGo4DynamicList::CleanupCondition(), TGo4DynamicList::CleanupEvent(), TGo4DynamicList::CleanupHistogram(), fxDirMutex, fxDynListDir, and TRACE.

Referenced by AddObjectToFolder(), DeleteObject(), and RemoveObjectFromFolder().

void TGo4AnalysisObjectManager::InitPictures TFolder *    fold = 0 [private]
 

Initialize histogram references of pictures after reload.

Definition at line 1441 of file TGo4AnalysisObjectManager.cxx.

References fxDirMutex, fxGo4Dir, fxPictureDir, and TGo4Picture::LocateObjectsFrom().

Referenced by LoadObjects().

TList * TGo4AnalysisObjectManager::CreateObjectList const Text_t *    expr,
const Text_t *    folder = 0
[private]
 

Create a list of objects which names are matching expression expr.

optionally, the search can be limited to given subfolder of Go4. By default, all registered objects are compared.

Definition at line 2546 of file TGo4AnalysisObjectManager.cxx.

References fgcTOPFOLDER, FindSubFolder(), fxDirMutex, and fxGo4Dir.

Referenced by CreateObjectList(), and NextMatchingObject().

TList * TGo4AnalysisObjectManager::CreateObjectList const Text_t *    expr,
TFolder *    fold
[private]
 

For recursive search for objects in folder fold that match expression.

Definition at line 2558 of file TGo4AnalysisObjectManager.cxx.

References CreateObjectList(), and IsMatching().

Bool_t TGo4AnalysisObjectManager::IsMatching const Text_t *    string,
const Text_t *    expression
[private]
 

Finds out if string is matching the expression.

Definition at line 2589 of file TGo4AnalysisObjectManager.cxx.

Referenced by CreateObjectList(), and PrintFolder().

TObject * TGo4AnalysisObjectManager::FindObjectInFolder TFolder *    folder,
const Text_t *    fullname
[private]
 

Serachs in folder for object with specified name Uses fxDirMutex until search is working.

Definition at line 2607 of file TGo4AnalysisObjectManager.cxx.

References fxDirMutex, and TRACE.

Referenced by GetAnalysisCondition(), GetCanvas(), GetDynamicList(), GetEventStructure(), GetHistogram(), GetObject(), GetParameter(), GetPicture(), GetTree(), and TestObject().

TObject * TGo4AnalysisObjectManager::TestObject TFolder *    folder,
const Text_t *&    pathname,
const Text_t *    objectname,
const TClass *    cl
[private]
 

Test, if object exists in provided folder.

If object exists and corresponds to provided class, it will be returned, otherwise it will be destroyed Used by different Make* functions

Definition at line 2616 of file TGo4AnalysisObjectManager.cxx.

References fbCreatedinMake, FindObjectInFolder(), and RemoveObjectFromFolder().

Referenced by MakeH1(), MakeH2(), MakePolyCond(), and MakeWindowCond().


Member Data Documentation

const Text_t TGo4AnalysisObjectManager::fgcTOPDYNAMICLIST = "Go4DynamicList" [static]
 

Default name of the default (toplevel) dynamic list.

Definition at line 69 of file TGo4AnalysisObjectManager.cxx.

Referenced by TGo4Analysis::RemoveTree().

const Text_t TGo4AnalysisObjectManager::fgcTOPFOLDER = "Go4" [static]
 

Top level folder name.

Definition at line 70 of file TGo4AnalysisObjectManager.cxx.

Referenced by CreateObjectList(), GetObject(), LoadObjects(), TGo4DiskFileBrowserSlots::SaveObject(), TGo4AnalysisObjectCommand::TGo4AnalysisObjectCommand(), and TGo4AnalysisObjectManager().

const Text_t TGo4AnalysisObjectManager::fgcHISTFOLDER = "Histograms" [static]
 

Histograms folder name.

Definition at line 71 of file TGo4AnalysisObjectManager.cxx.

Referenced by TGo4DiskFileBrowserSlots::SaveObject(), TGo4HistogramInfoSlots::SendHistogramInfoCommand(), and TGo4AnalysisObjectManager().

const Text_t TGo4AnalysisObjectManager::fgcDYNFOLDER = "DynamicLists" [static]
 

Dynamic lists folder name.

Definition at line 72 of file TGo4AnalysisObjectManager.cxx.

Referenced by TGo4DiskFileBrowserSlots::SaveObject(), TGo4MbsHist::ScanGo4Folder(), and TGo4AnalysisObjectManager().

const Text_t TGo4AnalysisObjectManager::fgcCONDFOLDER = "Conditions" [static]
 

Analysis conditions folder name.

Definition at line 73 of file TGo4AnalysisObjectManager.cxx.

Referenced by TGo4DiskFileBrowserSlots::SaveObject(), TGo4MbsHist::ScanGo4Folder(), and TGo4AnalysisObjectManager().

const Text_t TGo4AnalysisObjectManager::fgcPARAFOLDER = "Parameters" [static]
 

Analysis user parameters folder name.

Definition at line 74 of file TGo4AnalysisObjectManager.cxx.

Referenced by TGo4DiskFileBrowserSlots::SaveObject(), TGo4MbsHist::ScanGo4Folder(), and TGo4AnalysisObjectManager().

const Text_t TGo4AnalysisObjectManager::fgcTREEFOLDER = "Trees" [static]
 

Tree reference folder name.

Definition at line 75 of file TGo4AnalysisObjectManager.cxx.

Referenced by TGo4MbsHist::ScanGo4Folder(), and TGo4AnalysisObjectManager().

const Text_t TGo4AnalysisObjectManager::fgcPICTFOLDER = "Pictures" [static]
 

Picture objects folder name.

Definition at line 76 of file TGo4AnalysisObjectManager.cxx.

Referenced by LoadFolder(), TGo4DiskFileBrowserSlots::SaveObject(), TGo4MbsHist::ScanGo4Folder(), and TGo4AnalysisObjectManager().

const Text_t TGo4AnalysisObjectManager::fgcCANVFOLDER = "Canvases" [static]
 

TCanvas folder name.

Definition at line 77 of file TGo4AnalysisObjectManager.cxx.

Referenced by TGo4DiskFileBrowserSlots::SaveObject(), TGo4MbsHist::ScanGo4Folder(), and TGo4AnalysisObjectManager().

const Text_t TGo4AnalysisObjectManager::fgcANALYSISFOLDER = "EventObjects" [static]
 

top analysis objects reference folder name.

Definition at line 78 of file TGo4AnalysisObjectManager.cxx.

Referenced by TGo4MbsHist::ScanGo4Folder(), and TGo4AnalysisObjectManager().

const Text_t TGo4AnalysisObjectManager::fgcEVENTFOLDER = "Events" [static]
 

Event references folder name.

Definition at line 79 of file TGo4AnalysisObjectManager.cxx.

Referenced by TGo4AnalysisObjectManager().

const Text_t TGo4AnalysisObjectManager::fgcSRCFOLDER = "EventSources" [static]
 

Event source reference folder name.

Definition at line 80 of file TGo4AnalysisObjectManager.cxx.

Referenced by TGo4AnalysisObjectManager().

const Text_t TGo4AnalysisObjectManager::fgcSTOREFOLDER = "EventStores" [static]
 

Event store reference folder name.

Definition at line 81 of file TGo4AnalysisObjectManager.cxx.

Referenced by TGo4AnalysisObjectManager().

const Text_t TGo4AnalysisObjectManager::fgcPROCFOLDER = "EventProcessors" [static]
 

Event processor reference folder name.

Definition at line 82 of file TGo4AnalysisObjectManager.cxx.

Referenced by TGo4AnalysisObjectManager().

const Text_t TGo4AnalysisObjectManager::fgcUSRFOLDER = "UserObjects" [static]
 

User objects folder name.

Definition at line 83 of file TGo4AnalysisObjectManager.cxx.

Referenced by TGo4AnalysisObjectManager().

const Text_t TGo4AnalysisObjectManager::fgcTMPFOLDER = "Go4-tmp" [static]
 

Temporary dummy folder name.

Definition at line 84 of file TGo4AnalysisObjectManager.cxx.

Referenced by TGo4AnalysisObjectManager().

const UInt_t TGo4AnalysisObjectManager::fguSUBFOLDERMAXLEN = 1024 [static]
 

Maximum length of subfolder name.

Definition at line 86 of file TGo4AnalysisObjectManager.cxx.

Referenced by AddObjectToFolder(), FindSubFolder(), RemoveObjectFromFolder(), SetAnalysisCondition(), SetCanvas(), SetParameter(), and SetPicture().

TFolder* TGo4AnalysisObjectManager::fxGo4Dir [private]
 

Top level Go4 Directory (root folder).

Definition at line 756 of file TGo4AnalysisObjectManager.h.

Referenced by AddPicture(), ClearObjects(), CreateNamesList(), CreateObjectList(), DeleteObject(), DeleteObjects(), GetObject(), GetObjectFolder(), InitPictures(), LoadObjects(), ProtectObjects(), SaveObjects(), TGo4AnalysisObjectManager(), and ~TGo4AnalysisObjectManager().

TFolder* TGo4AnalysisObjectManager::fxHistogramDir [private]
 

Directory containing all histogram objects to be used by dynamic list and user analysis.

Definition at line 763 of file TGo4AnalysisObjectManager.h.

Referenced by AddHistogram(), GetHistogram(), MakeH1(), MakeH2(), PrintHistograms(), RemoveHistogram(), TGo4AnalysisObjectManager(), and ~TGo4AnalysisObjectManager().

TFolder* TGo4AnalysisObjectManager::fxConditionDir [private]
 

Directory containing all condition objects to be used by dynamic list and by user analysis.

Definition at line 769 of file TGo4AnalysisObjectManager.h.

Referenced by AddAnalysisCondition(), GetAnalysisCondition(), MakePolyCond(), MakeWindowCond(), PrintConditions(), RemoveAnalysisCondition(), SetAnalysisCondition(), TGo4AnalysisObjectManager(), and ~TGo4AnalysisObjectManager().

TFolder* TGo4AnalysisObjectManager::fxParameterDir [private]
 

Directory containing user parameter objects.

Definition at line 774 of file TGo4AnalysisObjectManager.h.

Referenced by AddParameter(), GetParameter(), RemoveParameter(), SetParameter(), TGo4AnalysisObjectManager(), and ~TGo4AnalysisObjectManager().

TFolder* TGo4AnalysisObjectManager::fxDynListDir [private]
 

Directory containing all action objects to be used by dynamic list and by user analysis.

Definition at line 780 of file TGo4AnalysisObjectManager.h.

Referenced by AddDynamicList(), CleanupDynamicLists(), GetDynamicList(), RemoveDynamicList(), RemoveEventStructure(), TGo4AnalysisObjectManager(), and ~TGo4AnalysisObjectManager().

TFolder* TGo4AnalysisObjectManager::fxUserDir [private]
 

Directory containing all user objects.

Definition at line 785 of file TGo4AnalysisObjectManager.h.

Referenced by AddObject(), GetAnalysisCondition(), GetHistogram(), GetParameter(), GetPicture(), RemoveObject(), SetAnalysisCondition(), TGo4AnalysisObjectManager(), and ~TGo4AnalysisObjectManager().

TFolder* TGo4AnalysisObjectManager::fxTreeDir [private]
 

Directory containing references to trees.

Definition at line 790 of file TGo4AnalysisObjectManager.h.

Referenced by AddTree(), CreateTreeStructure(), GetTree(), RemoveTree(), SaveObjects(), TGo4AnalysisObjectManager(), and ~TGo4AnalysisObjectManager().

TFolder* TGo4AnalysisObjectManager::fxPictureDir [private]
 

Directory containing the pictures.

Definition at line 795 of file TGo4AnalysisObjectManager.h.

Referenced by AddPicture(), GetPicture(), InitPictures(), RemovePicture(), SetPicture(), TGo4AnalysisObjectManager(), and ~TGo4AnalysisObjectManager().

TFolder* TGo4AnalysisObjectManager::fxCanvasDir [private]
 

Directory containing TCanvases.

Definition at line 800 of file TGo4AnalysisObjectManager.h.

Referenced by AddCanvas(), GetCanvas(), RemoveCanvas(), SetCanvas(), TGo4AnalysisObjectManager(), and ~TGo4AnalysisObjectManager().

TFolder* TGo4AnalysisObjectManager::fxStoreDir [private]
 

Directory containing references to event stores.

Definition at line 805 of file TGo4AnalysisObjectManager.h.

Referenced by AddEventStore(), RemoveEventStore(), ResetBackStores(), TGo4AnalysisObjectManager(), and ~TGo4AnalysisObjectManager().

TFolder* TGo4AnalysisObjectManager::fxSourceDir [private]
 

Directory containing references to event sources.

Definition at line 810 of file TGo4AnalysisObjectManager.h.

Referenced by AddEventSource(), RemoveEventSource(), TGo4AnalysisObjectManager(), and ~TGo4AnalysisObjectManager().

TFolder* TGo4AnalysisObjectManager::fxProcessorDir [private]
 

Directory containing references to event processors.

Definition at line 815 of file TGo4AnalysisObjectManager.h.

Referenced by AddEventProcessor(), RemoveEventProcessor(), TGo4AnalysisObjectManager(), and ~TGo4AnalysisObjectManager().

TFolder* TGo4AnalysisObjectManager::fxEventDir [private]
 

Directory containing references to event structures.

Definition at line 820 of file TGo4AnalysisObjectManager.h.

Referenced by AddEventStructure(), GetEventStructure(), RemoveEventStructure(), TGo4AnalysisObjectManager(), and ~TGo4AnalysisObjectManager().

TFolder* TGo4AnalysisObjectManager::fxAnalysisDir [private]
 

Top Directory for all references to event classes.

Definition at line 825 of file TGo4AnalysisObjectManager.h.

Referenced by SaveObjects(), and TGo4AnalysisObjectManager().

TFolder* TGo4AnalysisObjectManager::fxTempFolder [private]
 

Temporary folder for nameslist objects.

Definition at line 830 of file TGo4AnalysisObjectManager.h.

Referenced by CreateBranchFolder(), CreateCompositeBranchFolder(), CreateNamesFolder(), TGo4AnalysisObjectManager(), and ~TGo4AnalysisObjectManager().

TMutex* TGo4AnalysisObjectManager::fxDirMutex [private]
 

Mutex protecting the object directories.

Definition at line 835 of file TGo4AnalysisObjectManager.h.

Referenced by AddObjectToFolder(), CleanupDynamicLists(), ClearFolder(), ClearObjects(), CreateNamesList(), CreateObjectList(), DeleteFolder(), DeleteObjects(), FindObjectInFolder(), FindSubFolder(), InitPictures(), LoadFolder(), PrintFolder(), ProtectFolder(), ProtectObjects(), RemoveEventProcessor(), RemoveEventSource(), RemoveEventStore(), RemoveEventStructure(), RemoveObjectFromFolder(), RemoveTree(), SaveFolder(), SetAnalysisCondition(), and TGo4AnalysisObjectManager().

TList* TGo4AnalysisObjectManager::fxMatchList [private]
 

List of matching objects for name expression.

Definition at line 841 of file TGo4AnalysisObjectManager.h.

Referenced by NextMatchingObject(), and ~TGo4AnalysisObjectManager().

TIterator* TGo4AnalysisObjectManager::fxMatchIterator [private]
 

Iterator for list of matching objects.

Definition at line 846 of file TGo4AnalysisObjectManager.h.

Referenced by NextMatchingObject(), and ~TGo4AnalysisObjectManager().

TGo4DynamicList* TGo4AnalysisObjectManager::fxDynamicList [private]
 

The current dynamic list which is processed by the analysis

Definition at line 852 of file TGo4AnalysisObjectManager.h.

Referenced by ClearObjects(), CloseAnalysis(), GetCurrentDynList(), LoadObjects(), PrintDynamicList(), ProcessDynamicList(), PutToFolder(), ResetCurrentDynList(), and SetCurrentDynList().

Int_t TGo4AnalysisObjectManager::fiDynListCount [private]
 

Event counter for dynamic list processing.

After each fgiDYNLISTINTERVAL counts the entries in the dynamic list are updated with the previous events (e.g. loop over a tree for this range)

Definition at line 860 of file TGo4AnalysisObjectManager.h.

Referenced by CheckDynListInterval(), CloseAnalysis(), and ProcessDynamicList().

Int_t TGo4AnalysisObjectManager::fiDynListInterval [private]
 

Interval for dynamic list processing.

Definition at line 865 of file TGo4AnalysisObjectManager.h.

Referenced by CheckDynListInterval(), GetDynListInterval(), and SetDynListInterval().

Bool_t TGo4AnalysisObjectManager::fbCreatedinMake [private]
 

Boolean flag indicates, if object was created in last calls of one of Make* functions.

Definition at line 871 of file TGo4AnalysisObjectManager.h.

Referenced by CreatedInMake(), and TestObject().

Bool_t TGo4AnalysisObjectManager::fbSuppressLoadHistograms [private]
 

If this is set to true, any found histogram will not be loaded from the file current TDirectory.

To be used to avoid Picture referenced Histograms to appear in the Pictures folder

Definition at line 879 of file TGo4AnalysisObjectManager.h.

Referenced by LoadFolder().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:27 2005 for Go4-v2.10-5 by doxygen1.2.15