GSI Object Oriented Online Offline (Go4) GO4-6.4.5
Loading...
Searching...
No Matches
TGo4AnalysisObjectManager Class Reference

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

#include <TGo4AnalysisObjectManager.h>

Inheritance diagram for TGo4AnalysisObjectManager:

Public Member Functions

 TGo4AnalysisObjectManager ()
 TGo4AnalysisObjectManager ()
 TGo4AnalysisObjectManager (const char *name)
 TGo4AnalysisObjectManager (const char *name)
virtual ~TGo4AnalysisObjectManager ()
virtual ~TGo4AnalysisObjectManager ()
Bool_t AddAnalysisCondition (TGo4Condition *con, const char *subfolder=nullptr)
 Puts a new analysis condition object in corresponding list.
Bool_t AddAnalysisCondition (TGo4Condition *con, const char *subfolder=nullptr)
 Puts a new analysis condition object in corresponding list.
Bool_t AddCanvas (TCanvas *can, const char *subfolder=nullptr)
 Puts a new TCanvas in corresponding folder.
Bool_t AddCanvas (TCanvas *can, const char *subfolder=nullptr)
 Puts a new TCanvas in corresponding folder.
Bool_t AddDynamicEntry (TGo4DynamicEntry *entry)
 Adds entry to object manager.
Bool_t AddDynamicEntry (TGo4DynamicEntry *entry)
 Adds entry to object manager.
Bool_t AddDynamicHistogram (const char *name, const char *histo, const char *hevx, const char *hmemx, const char *hevy=nullptr, const char *hmemy=nullptr, const char *hevz=nullptr, const char *hmemz=nullptr, const char *condition=nullptr, const char *cevx=nullptr, const char *cmemx=nullptr, const char *cevy=nullptr, const char *cmemy=nullptr)
 Add (create) new dynamic histogram entry which connects an existing histogram with existing condition and data.
Bool_t AddDynamicHistogram (const char *name, const char *histo, const char *hevx, const char *hmemx, const char *hevy=nullptr, const char *hmemy=nullptr, const char *hevz=nullptr, const char *hmemz=nullptr, const char *condition=nullptr, const char *cevx=nullptr, const char *cmemx=nullptr, const char *cevy=nullptr, const char *cmemy=nullptr)
 Add (create) new dynamic histogram entry which connects an existing histogram with existing condition and data.
Bool_t AddEventProcessor (TGo4EventProcessor *pro)
 Add reference to event processor object to Go4 Folder structure.
Bool_t AddEventProcessor (TGo4EventProcessor *pro)
 Add reference to event processor object to Go4 Folder structure.
Bool_t AddEventSource (TGo4EventSource *source)
 Add reference to event source object to Go4 Folder structure.
Bool_t AddEventSource (TGo4EventSource *source)
 Add reference to event source object to Go4 Folder structure.
Bool_t AddEventStore (TGo4EventStore *store)
 Add reference to event store object to Go4 Folder structure.
Bool_t AddEventStore (TGo4EventStore *store)
 Add reference to event store object to Go4 Folder structure.
Bool_t AddEventStructure (TGo4EventElement *ev)
 Add reference to event structure object to Go4 Folder structure.
Bool_t AddEventStructure (TGo4EventElement *ev)
 Add reference to event structure object to Go4 Folder structure.
Bool_t AddHistogram (TH1 *his, const char *subfolder=nullptr, Bool_t replace=kTRUE)
 Add external histogram to go4 histogram directory.
Bool_t AddHistogram (TH1 *his, const char *subfolder=nullptr, Bool_t replace=kTRUE)
 Add external histogram to go4 histogram directory.
Bool_t AddObject (TNamed *anything, const char *subfolder=nullptr, Bool_t replace=kTRUE)
 Add any external object to the user object folder.
Bool_t AddObject (TNamed *anything, const char *subfolder=nullptr, Bool_t replace=kTRUE)
 Add any external object to the user object folder.
Bool_t AddParameter (TGo4Parameter *par, const char *subfolder=nullptr)
 Puts a new parameter object in corresponding folder.
Bool_t AddParameter (TGo4Parameter *par, const char *subfolder=nullptr)
 Puts a new parameter object in corresponding folder.
Bool_t AddPicture (TGo4Picture *pic, const char *subfolder=nullptr)
 Puts a new picture object in corresponding folder.
Bool_t AddPicture (TGo4Picture *pic, const char *subfolder=nullptr)
 Puts a new picture object in corresponding folder.
Bool_t AddTree (TTree *tree, const char *subfolder=nullptr)
 Add reference to a tree in the go4 folder structure.
Bool_t AddTree (TTree *tree, const char *subfolder=nullptr)
 Add 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 which is linked to a tree.
Bool_t AddTreeHistogram (const char *hisname, const char *treename, const char *varexp, const char *cutexp)
 Add Histogram into the dynamic list which is linked to a tree.
Bool_t ClearObjects (const char *name)
 Clear (reset) the specified objects.
Bool_t ClearObjects (const char *name)
 Clear (reset) the specified objects.
void CloseAnalysis ()
 Cleanups required when analysis is closed.
void CloseAnalysis ()
 Cleanups required when analysis is closed.
TFolder * CreateBranchFolder (TObjArray *branchlist, const char *name, const char *title, Bool_t istopbranch=kFALSE)
 Create a folder with subfolders from a list of TBranchElements.
TFolder * CreateBranchFolder (TObjArray *branchlist, const char *name, const char *title, Bool_t istopbranch=kFALSE)
 Create a folder with subfolders from a list of TBranchElements.
TFolder * CreateCompositeBranchFolder (TObjArray *branchlist, TGo4CompositeEvent *compevent, Int_t startindex, Int_t *skip, const char *name, const char *title)
 Create a folder with subfolders from a list of TBranchElements that belongs to a TGo4CompositeEvent.
TFolder * CreateCompositeBranchFolder (TObjArray *branchlist, TGo4CompositeEvent *compevent, Int_t startindex, Int_t *skip, const char *name, const char *title)
 Create a folder with subfolders from a list of TBranchElements that belongs to a TGo4CompositeEvent.
Bool_t CreatedInMake () const
Bool_t CreatedInMake () const
TFolder * CreateMembersFolder (TObject *obj, const char *membrfoldername, TClass *cl)
 Create a folder with members of this class.
TFolder * CreateMembersFolder (TObject *obj, const char *membrfoldername, TClass *cl)
 Create a folder with members of this class.
TFolder * CreateNamesFolder (TFolder *objectfolder)
 Conversion of the TFolder of objects into a TFolder containing the object names as TObjectStrings.
TFolder * CreateNamesFolder (TFolder *objectfolder)
 Conversion of the TFolder of objects into a TFolder containing the object names as TObjectStrings.
TGo4AnalysisObjectNamesCreateNamesList ()
 Creates a list of names (keys) of all objects in analysis directories.
TGo4AnalysisObjectNamesCreateNamesList ()
 Creates a list of names (keys) of all objects in analysis directories.
TGo4ObjectStatusCreateObjectStatus (const char *name, const char *folder=nullptr)
 Find Object of name in the folder structure and create a complete status object of it.
TGo4ObjectStatusCreateObjectStatus (const char *name, const char *folder=nullptr)
 Find Object of name in the folder structure and create a complete status object of it.
TGo4ObjectStatusCreateObjectStatus (TObject *ob, Bool_t fullinfo=kTRUE)
 Create status object for object ob.
TGo4ObjectStatusCreateObjectStatus (TObject *ob, Bool_t fullinfo=kTRUE)
 Create status object for object ob.
TGo4TreeStructureCreateTreeStructure (const char *treename)
 Create a tree structure for a certain tree by name.
TGo4TreeStructureCreateTreeStructure (const char *treename)
 Create a tree structure for a certain tree by name.
TGo4TreeStructureCreateTreeStructure (TTree *thetree)
 Create a tree structure object that maps the TBranchelements into a TFolder hierarchy.
TGo4TreeStructureCreateTreeStructure (TTree *thetree)
 Create a tree structure object that maps the TBranchelements into a TFolder hierarchy.
Bool_t DeleteObjects (const char *name)
 Delete object of name, or all objects in folder name, respectively.
Bool_t DeleteObjects (const char *name)
 Delete object of name, or all objects in folder name, respectively.
Bool_t FindObjectPathName (TObject *obj, TString &pathname, TFolder *fold=nullptr)
 Return full path name to object, relative to specified folder.
Bool_t FindObjectPathName (TObject *obj, TString &pathname, TFolder *fold=nullptr)
 Return full path name to object, relative to specified folder.
TFolder * FindSubFolder (TFolder *parent, const char *subfolder, Bool_t create=kTRUE)
 Get pointer to subfolder of parent specified by name.
TFolder * FindSubFolder (TFolder *parent, const char *subfolder, Bool_t create=kTRUE)
 Get pointer to subfolder of parent specified by name.
TGo4ConditionGetAnalysisCondition (const char *name, const char *cond_cl=nullptr)
 Retrieves an analysis condition from list by name.
TGo4ConditionGetAnalysisCondition (const char *name, const char *cond_cl=nullptr)
 Retrieves an analysis condition from list by name.
TObject * GetAsTObject (const char *name, const char *folder=nullptr)
 Searches for object by name in all go4 folders.
TObject * GetAsTObject (const char *name, const char *folder=nullptr)
 Searches for object by name in all go4 folders.
TCanvas * GetCanvas (const char *name)
 Retrieves a TCanvas by name from the Canvases folder.
TCanvas * GetCanvas (const char *name)
 Retrieves a TCanvas by name from the Canvases folder.
Int_t GetDynListInterval () const
Int_t GetDynListInterval () const
TGo4EventElementGetEventStructure (const char *name) const
 Search reference to event structure in folder.
TGo4EventElementGetEventStructure (const char *name) const
 Search reference to event structure in folder.
TH1 * GetHistogram (const char *name)
 Search histogram in histogram list (directory).
TH1 * GetHistogram (const char *name)
 Search histogram in histogram list (directory).
TNamed * GetObject (const char *name, const char *folder=nullptr)
 Searches for object by name in all go4 folders.
TNamed * GetObject (const char *name, const char *folder=nullptr)
 Searches for object by name in all go4 folders.
TFolder * GetObjectFolder ()
 Access to top folder of all objects.
TFolder * GetObjectFolder ()
 Access to top folder of all objects.
TGo4ParameterGetParameter (const char *name, const char *parameter_class=nullptr)
 Retrieves a parameter object by name from the object folder.
TGo4ParameterGetParameter (const char *name, const char *parameter_class=nullptr)
 Retrieves a parameter object by name from the object folder.
TGo4PictureGetPicture (const char *name)
 Retrieves a picture object by name from the object folder.
TGo4PictureGetPicture (const char *name)
 Retrieves a picture object by name from the object folder.
TTree * GetTree (const char *name)
 Search tree in tree folder.
TTree * GetTree (const char *name)
 Search tree in tree folder.
Bool_t IsSortedOrder () const
 Returns true if sub-folders will be created in sorted order.
Bool_t IsSortedOrder () const
 Returns true if sub-folders will be created in sorted order.
Bool_t LoadObjects (TFile *statusfile)
 Load objects from file.
Bool_t LoadObjects (TFile *statusfile)
 Load objects from file.
TGo4PolyCondMakePolyCond (const char *foldername, const char *conditionname, Int_t size, Float_t(*points)[2], const char *bindhistogram=nullptr, Bool_t invert=kFALSE)
 Create polygon 2-dim condition in conditions folder.
TGo4PolyCondMakePolyCond (const char *foldername, const char *conditionname, Int_t size, Float_t(*points)[2], const char *bindhistogram=nullptr, Bool_t invert=kFALSE)
 Create polygon 2-dim condition in conditions folder.
TH1 * MakeTH1 (const char *histotype, const char *foldername, const char *histoname, Int_t nbinsx, Axis_t xlow, Axis_t xup, const char *title=nullptr, const char *xtitle=nullptr, const char *ytitle=nullptr)
 Create 1-dim histogram in histogram folder.
TH1 * MakeTH1 (const char *histotype, const char *foldername, const char *histoname, Int_t nbinsx, Axis_t xlow, Axis_t xup, const char *title=nullptr, const char *xtitle=nullptr, const char *ytitle=nullptr)
 Create 1-dim histogram in histogram folder.
TH2 * MakeTH2 (const char *histotype, const char *foldername, const char *histoname, Int_t nbinsx, Axis_t xlow, Axis_t xup, Int_t nbinsy, Axis_t ylow, Axis_t yup, const char *title=nullptr, const char *xtitle=nullptr, const char *ytitle=nullptr)
 Create 2-dim histogram in histogram folder.
TH2 * MakeTH2 (const char *histotype, const char *foldername, const char *histoname, Int_t nbinsx, Axis_t xlow, Axis_t xup, Int_t nbinsy, Axis_t ylow, Axis_t yup, const char *title=nullptr, const char *xtitle=nullptr, const char *ytitle=nullptr)
 Create 2-dim histogram in histogram folder.
TGo4WinCondMakeWindowCond (const char *foldername, const char *conditionname, Double_t xlow, Double_t xup, const char *bindhistogram=nullptr, Bool_t invert=kFALSE)
 Create 1-dim window condition in conditions folder.
TGo4WinCondMakeWindowCond (const char *foldername, const char *conditionname, Double_t xlow, Double_t xup, const char *bindhistogram=nullptr, Bool_t invert=kFALSE)
 Create 1-dim window condition in conditions folder.
TGo4WinCondMakeWindowCond (const char *foldername, const char *conditionname, Double_t xlow, Double_t xup, Double_t ylow, Double_t yup, const char *bindhistogram=nullptr, Bool_t invert=kFALSE)
 Create 2-dim window condition in conditions folder.
TGo4WinCondMakeWindowCond (const char *foldername, const char *conditionname, Double_t xlow, Double_t xup, Double_t ylow, Double_t yup, const char *bindhistogram=nullptr, Bool_t invert=kFALSE)
 Create 2-dim window condition in conditions folder.
TObject * NextMatchingObject (const char *expr, const char *folder, Bool_t reset)
 Delivers pointer to next object of the Go4 folder structure with a name matching the expression expr.
TObject * NextMatchingObject (const char *expr, const char *folder, Bool_t reset)
 Delivers pointer to next object of the Go4 folder structure with a name matching the expression expr.
void PrintConditions (const char *expression=nullptr)
 Print all condition counters to the terminal.
void PrintConditions (const char *expression=nullptr)
 Print all condition counters to the terminal.
void PrintDynamicList ()
 Print entries of current dynamic list.
void PrintDynamicList ()
 Print entries of current dynamic list.
void PrintHistograms (const char *expression=nullptr)
 Printout of all histogram statistic counters on the terminal.
void PrintHistograms (const char *expression=nullptr)
 Printout of all histogram statistic counters on the terminal.
void PrintParameters (const char *expression=nullptr)
 Print all parameters to the terminal.
void PrintParameters (const char *expression=nullptr)
 Print all parameters to the terminal.
void ProcessDynamicList ()
 Loop over the dynamic list and process the actions linked to the entries.
void ProcessDynamicList ()
 Loop over the dynamic list and process the actions linked to the entries.
Bool_t ProtectObjects (const char *name, const Option_t *flags)
 Change protection properties of object name as specified.
Bool_t ProtectObjects (const char *name, const Option_t *flags)
 Change protection properties of object name as specified.
void RecursiveRemove (TObject *obj) override
 Method used in case when object is cleaned up by the ROOT.
void RecursiveRemove (TObject *obj) override
 Method used in case when object is cleaned up by the ROOT.
Bool_t RemoveAnalysisCondition (const char *name)
 Removes analysis condition from list by name.
Bool_t RemoveAnalysisCondition (const char *name)
 Removes analysis condition from list by name.
Bool_t RemoveCanvas (const char *name)
 Removes TCanvas by name.
Bool_t RemoveCanvas (const char *name)
 Removes TCanvas by name.
Bool_t RemoveDynamicEntry (const char *entryname)
 Remove entry of that name from dynamic list of listname.
Bool_t RemoveDynamicEntry (const char *entryname)
 Remove entry of that name from dynamic list of listname.
Bool_t RemoveEventProcessor (TGo4EventProcessor *pro)
 Remove reference to event processor from go4 folder structure.
Bool_t RemoveEventProcessor (TGo4EventProcessor *pro)
 Remove reference to event processor from go4 folder structure.
Bool_t RemoveEventSource (TGo4EventSource *source)
 Remove reference to event source from go4 folder structure.
Bool_t RemoveEventSource (TGo4EventSource *source)
 Remove reference to event source from go4 folder structure.
Bool_t RemoveEventStore (TGo4EventStore *store)
 Remove reference to event store from go4 folder structure.
Bool_t RemoveEventStore (TGo4EventStore *store)
 Remove reference to event store from go4 folder structure.
Bool_t RemoveEventStructure (TGo4EventElement *ev)
 Remove reference to event structure from go4 folder structure.
Bool_t RemoveEventStructure (TGo4EventElement *ev)
 Remove reference to event structure from go4 folder structure.
Bool_t RemoveHistogram (const char *name, Bool_t del=kTRUE)
 Removes histogram from histogram dir by name.
Bool_t RemoveHistogram (const char *name, Bool_t del=kTRUE)
 Removes histogram from histogram dir by name.
Bool_t RemoveObject (const char *name, Bool_t del=kTRUE)
 Removes object from user object folder by name.
Bool_t RemoveObject (const char *name, Bool_t del=kTRUE)
 Removes object from user object folder by name.
Bool_t RemoveParameter (const char *name)
 Removes parameter by name.
Bool_t RemoveParameter (const char *name)
 Removes parameter by name.
Bool_t RemovePicture (const char *name)
 Removes picture by name.
Bool_t RemovePicture (const char *name)
 Removes picture by name.
Bool_t RemoveTree (TTree *tree, const char *stepname=nullptr)
 Remove reference to a tree in the go4 folder structure.
Bool_t RemoveTree (TTree *tree, const char *stepname=nullptr)
 Remove reference to a tree in the go4 folder structure.
Bool_t ResetBackStores (Bool_t clearflag=kFALSE)
 Reset all registered backstore instances.Called by dynamic list processing.
Bool_t ResetBackStores (Bool_t clearflag=kFALSE)
 Reset all registered backstore instances.Called by dynamic list processing.
void ResetCurrentDynList ()
 Reset the current dynamic list.
void ResetCurrentDynList ()
 Reset the current dynamic list.
void SaveObjects (TFile *file)
 Save folder structure to given file.
void SaveObjects (TFile *file)
 Save folder structure to given file.
Bool_t SetAnalysisCondition (const char *name, TGo4Condition *con, Bool_t counter=kTRUE, TFolder *parent=nullptr)
 Set existing analysis condition of name to the values of external condition object con.
Bool_t SetAnalysisCondition (const char *name, TGo4Condition *con, Bool_t counter=kTRUE, TFolder *parent=nullptr)
 Set existing analysis condition of name to the values of external condition object con.
void SetDynListInterval (Int_t val)
void SetDynListInterval (Int_t val)
Bool_t SetParameter (const char *name, TGo4Parameter *par, TFolder *parent=nullptr)
 Set existing parameter of name to the values of external parameter object par.
Bool_t SetParameter (const char *name, TGo4Parameter *par, TFolder *parent=nullptr)
 Set existing parameter of name to the values of external parameter object par.
Bool_t SetParameterStatus (const char *name, TGo4ParameterStatus *par, TFolder *parent=nullptr)
 Set existing parameter of name to the values of external parameter object par.
Bool_t SetParameterStatus (const char *name, TGo4ParameterStatus *par, TFolder *parent=nullptr)
 Set existing parameter of name to the values of external parameter object par.
Bool_t SetPicture (const char *name, TGo4Picture *pic, TFolder *parent=nullptr)
 Set existing picture of name to the values of external picture object pic.
Bool_t SetPicture (const char *name, TGo4Picture *pic, TFolder *parent=nullptr)
 Set existing picture of name to the values of external picture object pic.
void SetSortedOrder (Bool_t on=kTRUE)
 Configure sorting order for newly created sub-folders.
void SetSortedOrder (Bool_t on=kTRUE)
 Configure sorting order for newly created sub-folders.

Static Public Member Functions

static const char * GetANALYSISFOLDER ()
static const char * GetANALYSISFOLDER ()
static const char * GetCANVFOLDER ()
static const char * GetCANVFOLDER ()
static const char * GetCONDFOLDER ()
static const char * GetCONDFOLDER ()
static const char * GetDYNFOLDER ()
static const char * GetDYNFOLDER ()
static const char * GetEVENTFOLDER ()
static const char * GetEVENTFOLDER ()
static const char * GetHISTFOLDER ()
static const char * GetHISTFOLDER ()
static const char * GetPARAFOLDER ()
static const char * GetPARAFOLDER ()
static const char * GetPICTFOLDER ()
static const char * GetPICTFOLDER ()
static const char * GetPROCFOLDER ()
static const char * GetPROCFOLDER ()
static const char * GetSRCFOLDER ()
static const char * GetSRCFOLDER ()
static const char * GetSTOREFOLDER ()
static const char * GetSTOREFOLDER ()
static const char * GetTMPFOLDER ()
static const char * GetTMPFOLDER ()
static const char * GetTOPDYNAMICLIST ()
static const char * GetTOPDYNAMICLIST ()
static const char * GetTOPFOLDER ()
static const char * GetTOPFOLDER ()
static const char * GetTREEFOLDER ()
static const char * GetTREEFOLDER ()
static const char * GetUSRFOLDER ()
static const char * GetUSRFOLDER ()

Static Public Attributes

static const char * fgcANALYSISFOLDER = "EventObjects"
 top analysis objects reference folder name
static const char * fgcCANVFOLDER = "Canvases"
 TCanvas folder name.
static const char * fgcCONDFOLDER = "Conditions"
 Analysis conditions folder name.
static const char * fgcDYNFOLDER = "DynamicLists"
 Dynamic lists folder name.
static const char * fgcEVENTFOLDER = "Events"
 Event references folder name.
static const char * fgcHISTFOLDER = "Histograms"
 Histograms folder name.
static const char * fgcPARAFOLDER = "Parameters"
 Analysis user parameters folder name.
static const char * fgcPICTFOLDER = "Pictures"
 Picture objects folder name.
static const char * fgcPROCFOLDER = "EventProcessors"
 Event processor reference folder name.
static const char * fgcSRCFOLDER = "EventSources"
 Event source reference folder name.
static const char * fgcSTOREFOLDER = "EventStores"
 Event store reference folder name.
static const char * fgcTMPFOLDER = "Go4-tmp"
 Temporary dummy folder name.
static const char * fgcTOPDYNAMICLIST = "Go4DynamicList"
 Default name of the default (toplevel) dynamic list.
static const char * fgcTOPFOLDER = "Go4"
 Top level folder name.
static const char * fgcTREEFOLDER = "Trees"
 Tree reference folder name.
static const char * fgcUSRFOLDER = "UserObjects"
 User objects folder name.

Private Member Functions

Bool_t AddObjectToFolder (TObject *ob, TFolder *fold, const char *subfolder=nullptr, Bool_t replace=kTRUE, Bool_t uniquename=kFALSE, Bool_t resetbits=kTRUE)
 Add any named object to a folder.
Bool_t AddObjectToFolder (TObject *ob, TFolder *fold, const char *subfolder=nullptr, Bool_t replace=kTRUE, Bool_t uniquename=kFALSE, Bool_t resetbits=kTRUE)
 Add any named object to a folder.
void AppendToDir (TObject *ob, TDirectory *dir)
 Append object ob to directory dir.
void AppendToDir (TObject *ob, TDirectory *dir)
 Append object ob to directory dir.
void CleanupDynamicLists (TObject *oldobject)
 Remove reference to object from all dynamic lists.Object type is noticed automatically.
void CleanupDynamicLists (TObject *oldobject)
 Remove reference to object from all dynamic lists.Object type is noticed automatically.
Bool_t ClearFolder (TFolder *fold)
 Clear (reset) all objects in folder fold, e.g.
Bool_t ClearFolder (TFolder *fold)
 Clear (reset) all objects in folder fold, e.g.
Bool_t ClearObject (TObject *ob)
 Clear (reset) the specified object.
Bool_t ClearObject (TObject *ob)
 Clear (reset) the specified object.
TList * CreateObjectList (const char *expr, const char *folder=nullptr)
 Create a list of objects which names are matching expression expr.
TList * CreateObjectList (const char *expr, const char *folder=nullptr)
 Create a list of objects which names are matching expression expr.
TList * CreateObjectList (const char *expr, TFolder *fold)
 For recursive search for objects in folder fold that match expression.
TList * CreateObjectList (const char *expr, TFolder *fold)
 For recursive search for objects in folder fold that match expression.
Bool_t DeleteFolder (TFolder *fold)
 Delete all objects in folder fold only if the kGo4CanDelete bit is set.
Bool_t DeleteFolder (TFolder *fold)
 Delete all objects in folder fold only if the kGo4CanDelete bit is set.
Bool_t DeleteObject (TObject *ob)
 Delete the specified object if the kGo4CanDelete bit is set.
Bool_t DeleteObject (TObject *ob)
 Delete the specified object if the kGo4CanDelete bit is set.
TObject * FindObjectInFolder (TFolder *folder, const char *fullname) const
 Search in folder for object with specified name Uses fxDirMutex until search is working.
TObject * FindObjectInFolder (TFolder *folder, const char *fullname) const
 Search in folder for object with specified name Uses fxDirMutex until search is working.
Bool_t IsMatching (const char *string, const char *expression) const
 Finds out if string is matching the expression.
Bool_t IsMatching (const char *string, const char *expression) const
 Finds out if string is matching the expression.
Bool_t LoadFolder (TDirectory *source, TFolder *destination, Bool_t replace=kFALSE)
 Update folder destination with the content of the directory source.
Bool_t LoadFolder (TDirectory *source, TFolder *destination, Bool_t replace=kFALSE)
 Update folder destination with the content of the directory source.
Bool_t LoadFolder (TFolder *source, TFolder *destination, Bool_t replace=kFALSE)
 Update folder destination with the content of the folder source.
Bool_t LoadFolder (TFolder *source, TFolder *destination, Bool_t replace=kFALSE)
 Update folder destination with the content of the folder source.
Int_t PrintFolder (TFolder *fold, Option_t *opt, const char *expression=nullptr)
 Printout all objects in folder fold on the terminal.
Int_t PrintFolder (TFolder *fold, Option_t *opt, const char *expression=nullptr)
 Printout all objects in folder fold on the terminal.
Bool_t ProtectFolder (TFolder *fold, const Option_t *flags)
 Change protection properties of all objects in this folder as specified.
Bool_t ProtectFolder (TFolder *fold, const Option_t *flags)
 Change protection properties of all objects in this folder as specified.
Bool_t ProtectObject (TObject *ob, const Option_t *flags)
 Change protection properties of object name as specified.
Bool_t ProtectObject (TObject *ob, const Option_t *flags)
 Change protection properties of object name as specified.
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.
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.
void RemoveFromDir (TFolder *fold, TDirectory *dir)
 Remove all objects in folder fold from directory dir, recursively.
void RemoveFromDir (TFolder *fold, TDirectory *dir)
 Remove all objects in folder fold from directory dir, recursively.
Bool_t RemoveObjectFromFolder (const char *fullname, TFolder *fold, Bool_t isDel)
 Remove object specified by full name ("subfolder/subssubfolder/name") from folder fold.
Bool_t RemoveObjectFromFolder (const char *fullname, TFolder *fold, Bool_t isDel)
 Remove object specified by full name ("subfolder/subssubfolder/name") from folder fold.
Bool_t SaveFolder (TFolder *source)
 Save this folder as a new subdirectory (TDirectory) of the current directory i.e.
Bool_t SaveFolder (TFolder *source)
 Save this folder as a new subdirectory (TDirectory) of the current directory i.e.
TObject * TestObject (TFolder *folder, const char *&pathname, const char *objectname, const TClass *cl)
 Test, if object exists in provided folder.
TObject * TestObject (TFolder *folder, const char *&pathname, const char *objectname, const TClass *cl)
 Test, if object exists in provided folder.

Private Attributes

Bool_t fbCreatedinMake {kFALSE}
 Boolean flag indicates, if object was created in last calls of one of Make* functions.
Bool_t fbSortedOrder {kFALSE}
 Is sub-folder created is sorted order.
Bool_t fbSuppressLoadHistograms {kFALSE}
 If this is set to true, any found histogram will not be loaded from the file current TDirectory.
Int_t fiDynListCount {0}
 Event counter for dynamic list processing.
Int_t fiDynListInterval {0}
 Interval for dynamic list processing.
TFolder * fxAnalysisDir {nullptr}
 Top Directory for all references to event classes.
TFolder * fxCanvasDir {nullptr}
 Directory containing TCanvases.
TFolder * fxConditionDir {nullptr}
 Directory containing all condition objects to be used by dynamic list and by user analysis.
TMutex * fxDirMutex {nullptr}
 Mutex protecting the object directories.
TFolder * fxDynListDir {nullptr}
 Directory containing all action objects to be used by dynamic list and by user analysis.
TFolder * fxEventDir {nullptr}
 Directory containing references to event structures.
TFolder * fxGo4Dir {nullptr}
 Top level Go4 Directory (root folder).
TFolder * fxHistogramDir {nullptr}
 Directory containing all histogram objects to be used by dynamic list and user analysis.
TIterator * fxMatchIterator {nullptr}
 Iterator for list of matching objects.
TList * fxMatchList {nullptr}
 List of matching objects for name expression.
TFolder * fxParameterDir {nullptr}
 Directory containing user parameter objects.
TFolder * fxPictureDir {nullptr}
 Directory containing the pictures.
TFolder * fxProcessorDir {nullptr}
 Directory containing references to event processors.
TFolder * fxSourceDir {nullptr}
 Directory containing references to event sources.
TFolder * fxStoreDir {nullptr}
 Directory containing references to event stores.
TFolder * fxTempFolder {nullptr}
 Temporary folder for nameslist objects.
TFolder * fxTreeDir {nullptr}
 Directory containing references to trees.
TFolder * fxUserDir {nullptr}
 Directory containing all user objects.

Detailed Description

This object is responsible for the organization of analysis objects.

Keeps Folder structures and lists. Aggregate of TGo4Analysis.

Author
J. Adamczewski
Since
07-May-2002

Definition at line 54 of file TGo4AnalysisObjectManager.h.

Constructor & Destructor Documentation

◆ TGo4AnalysisObjectManager() [1/4]

TGo4AnalysisObjectManager::TGo4AnalysisObjectManager ( )

Definition at line 147 of file TGo4AnalysisObjectManager.cxx.

◆ TGo4AnalysisObjectManager() [2/4]

◆ ~TGo4AnalysisObjectManager() [1/2]

◆ TGo4AnalysisObjectManager() [3/4]

TGo4AnalysisObjectManager::TGo4AnalysisObjectManager ( )

◆ TGo4AnalysisObjectManager() [4/4]

TGo4AnalysisObjectManager::TGo4AnalysisObjectManager ( const char * name)

◆ ~TGo4AnalysisObjectManager() [2/2]

virtual TGo4AnalysisObjectManager::~TGo4AnalysisObjectManager ( )
virtual

Member Function Documentation

◆ AddAnalysisCondition() [1/2]

Bool_t TGo4AnalysisObjectManager::AddAnalysisCondition ( TGo4Condition * con,
const char * subfolder = nullptr )

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

References AddObjectToFolder(), fxConditionDir, and GO4TRACE.

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

◆ AddAnalysisCondition() [2/2]

Bool_t TGo4AnalysisObjectManager::AddAnalysisCondition ( TGo4Condition * con,
const char * subfolder = nullptr )

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.

◆ AddCanvas() [1/2]

Bool_t TGo4AnalysisObjectManager::AddCanvas ( TCanvas * can,
const char * subfolder = nullptr )

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

References AddObjectToFolder(), fxCanvasDir, and GO4TRACE.

◆ AddCanvas() [2/2]

Bool_t TGo4AnalysisObjectManager::AddCanvas ( TCanvas * can,
const char * subfolder = nullptr )

Puts a new TCanvas in corresponding folder.

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

◆ AddDynamicEntry() [1/2]

Bool_t TGo4AnalysisObjectManager::AddDynamicEntry ( TGo4DynamicEntry * entry)

Adds entry to object manager.

Definition at line 1046 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxDynListDir, and TGo4DynamicEntry::Reset().

Referenced by AddDynamicHistogram(), AddTreeHistogram(), and PutToFolder().

◆ AddDynamicEntry() [2/2]

Bool_t TGo4AnalysisObjectManager::AddDynamicEntry ( TGo4DynamicEntry * entry)

Adds entry to object manager.

◆ AddDynamicHistogram() [1/2]

Bool_t TGo4AnalysisObjectManager::AddDynamicHistogram ( const char * name,
const char * histo,
const char * hevx,
const char * hmemx,
const char * hevy = nullptr,
const char * hmemy = nullptr,
const char * hevz = nullptr,
const char * hmemz = nullptr,
const char * condition = nullptr,
const char * cevx = nullptr,
const char * cmemx = nullptr,
const char * cevy = nullptr,
const char * cmemy = nullptr )

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 == nullptr), 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 1296 of file TGo4AnalysisObjectManager.cxx.

References AddDynamicEntry().

◆ AddDynamicHistogram() [2/2]

Bool_t TGo4AnalysisObjectManager::AddDynamicHistogram ( const char * name,
const char * histo,
const char * hevx,
const char * hmemx,
const char * hevy = nullptr,
const char * hmemy = nullptr,
const char * hevz = nullptr,
const char * hmemz = nullptr,
const char * condition = nullptr,
const char * cevx = nullptr,
const char * cmemx = nullptr,
const char * cevy = nullptr,
const char * cmemy = nullptr )

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 == nullptr), 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

◆ AddEventProcessor() [1/2]

Bool_t TGo4AnalysisObjectManager::AddEventProcessor ( TGo4EventProcessor * pro)

Add reference to event processor object to Go4 Folder structure.

Warning
To be used by framework only!

Definition at line 973 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxProcessorDir, and GO4TRACE.

◆ AddEventProcessor() [2/2]

Bool_t TGo4AnalysisObjectManager::AddEventProcessor ( TGo4EventProcessor * pro)

Add reference to event processor object to Go4 Folder structure.

Warning
To be used by framework only!

◆ AddEventSource() [1/2]

Bool_t TGo4AnalysisObjectManager::AddEventSource ( TGo4EventSource * source)

Add reference to event source object to Go4 Folder structure.

Warning
To be used by framework only!

Definition at line 956 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxSourceDir, and GO4TRACE.

◆ AddEventSource() [2/2]

Bool_t TGo4AnalysisObjectManager::AddEventSource ( TGo4EventSource * source)

Add reference to event source object to Go4 Folder structure.

Warning
To be used by framework only!

◆ AddEventStore() [1/2]

Bool_t TGo4AnalysisObjectManager::AddEventStore ( TGo4EventStore * store)

Add reference to event store object to Go4 Folder structure.

Warning
To be used by framework only!

Definition at line 936 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxStoreDir, and GO4TRACE.

◆ AddEventStore() [2/2]

Bool_t TGo4AnalysisObjectManager::AddEventStore ( TGo4EventStore * store)

Add reference to event store object to Go4 Folder structure.

Warning
To be used by framework only!

◆ AddEventStructure() [1/2]

Bool_t TGo4AnalysisObjectManager::AddEventStructure ( TGo4EventElement * ev)

Add reference to event structure object to Go4 Folder structure.

Warning
To be used by framework only!

Definition at line 991 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxEventDir, and GO4TRACE.

◆ AddEventStructure() [2/2]

Bool_t TGo4AnalysisObjectManager::AddEventStructure ( TGo4EventElement * ev)

Add reference to event structure object to Go4 Folder structure.

Warning
To be used by framework only!

◆ AddHistogram() [1/2]

Bool_t TGo4AnalysisObjectManager::AddHistogram ( TH1 * his,
const char * subfolder = nullptr,
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 496 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxHistogramDir, and GO4TRACE.

Referenced by MakeTH1(), and MakeTH2().

◆ AddHistogram() [2/2]

Bool_t TGo4AnalysisObjectManager::AddHistogram ( TH1 * his,
const char * subfolder = nullptr,
Bool_t replace = kTRUE )

Add external histogram to go4 histogram directory.

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

◆ AddObject() [1/2]

Bool_t TGo4AnalysisObjectManager::AddObject ( TNamed * anything,
const char * subfolder = nullptr,
Bool_t replace = kTRUE )

Add any external object to the user object folder.

Object is owned by go4 afterwards 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 197 of file TGo4AnalysisObjectManager.cxx.

References AddObjectToFolder(), fxUserDir, and GO4TRACE.

◆ AddObject() [2/2]

Bool_t TGo4AnalysisObjectManager::AddObject ( TNamed * anything,
const char * subfolder = nullptr,
Bool_t replace = kTRUE )

Add any external object to the user object folder.

Object is owned by go4 afterwards 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.

◆ AddObjectToFolder() [1/2]

Bool_t TGo4AnalysisObjectManager::AddObjectToFolder ( TObject * ob,
TFolder * fold,
const char * subfolder = nullptr,
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 1410 of file TGo4AnalysisObjectManager.cxx.

References CleanupDynamicLists(), FindSubFolder(), fxDirMutex, GO4TRACE, TGo4Status::kGo4CanDelete, TGo4Status::kGo4NoReset, and TGo4LockGuard.

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

◆ AddObjectToFolder() [2/2]

Bool_t TGo4AnalysisObjectManager::AddObjectToFolder ( TObject * ob,
TFolder * fold,
const char * subfolder = nullptr,
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.

◆ AddParameter() [1/2]

Bool_t TGo4AnalysisObjectManager::AddParameter ( TGo4Parameter * par,
const char * subfolder = nullptr )

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

References AddObjectToFolder(), fxParameterDir, and GO4TRACE.

◆ AddParameter() [2/2]

Bool_t TGo4AnalysisObjectManager::AddParameter ( TGo4Parameter * par,
const char * subfolder = nullptr )

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.

◆ AddPicture() [1/2]

Bool_t TGo4AnalysisObjectManager::AddPicture ( TGo4Picture * pic,
const char * subfolder = nullptr )

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

References AddObjectToFolder(), fxPictureDir, and GO4TRACE.

◆ AddPicture() [2/2]

Bool_t TGo4AnalysisObjectManager::AddPicture ( TGo4Picture * pic,
const char * subfolder = nullptr )

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.

◆ AddTree() [1/2]

Bool_t TGo4AnalysisObjectManager::AddTree ( TTree * tree,
const char * subfolder = nullptr )

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

References AddObjectToFolder(), fxTreeDir, and GO4TRACE.

◆ AddTree() [2/2]

Bool_t TGo4AnalysisObjectManager::AddTree ( TTree * tree,
const char * subfolder = nullptr )

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.

◆ AddTreeHistogram() [1/2]

Bool_t TGo4AnalysisObjectManager::AddTreeHistogram ( const char * hisname,
const char * treename,
const char * varexp,
const char * cutexp )

Add Histogram into the dynamic list which 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 1339 of file TGo4AnalysisObjectManager.cxx.

References AddDynamicEntry(), GO4TRACE, TGo4Analysis::Instance(), and TGo4Analysis::Message().

◆ AddTreeHistogram() [2/2]

Bool_t TGo4AnalysisObjectManager::AddTreeHistogram ( const char * hisname,
const char * treename,
const char * varexp,
const char * cutexp )

Add Histogram into the dynamic list which 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.

◆ AppendToDir() [1/2]

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

Referenced by SaveFolder().

◆ AppendToDir() [2/2]

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.

◆ CleanupDynamicLists() [1/2]

void TGo4AnalysisObjectManager::CleanupDynamicLists ( TObject * oldobject)
private

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

Definition at line 1827 of file TGo4AnalysisObjectManager.cxx.

References TGo4DynamicList::CleanupPointerInEntries(), fxDirMutex, fxDynListDir, GO4TRACE, and TGo4LockGuard.

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

◆ CleanupDynamicLists() [2/2]

void TGo4AnalysisObjectManager::CleanupDynamicLists ( TObject * oldobject)
private

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

◆ ClearFolder() [1/2]

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

References ClearFolder(), ClearObject(), fxDirMutex, GO4TRACE, and TGo4LockGuard.

Referenced by ClearFolder(), and ClearObjects().

◆ ClearFolder() [2/2]

Bool_t TGo4AnalysisObjectManager::ClearFolder ( TFolder * fold)
private

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

zero the histograms. Objects are not deleted!

◆ ClearObject() [1/2]

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

References ClearObject(), GO4TRACE, TGo4Status::kGo4NoReset, TGo4DynamicEntry::Reset(), and TGo4Picture::Reset().

Referenced by ClearFolder(), ClearObject(), and ClearObjects().

◆ ClearObject() [2/2]

Bool_t TGo4AnalysisObjectManager::ClearObject ( TObject * ob)
private

Clear (reset) the specified object.

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

◆ ClearObjects() [1/2]

Bool_t TGo4AnalysisObjectManager::ClearObjects ( const char * 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 244 of file TGo4AnalysisObjectManager.cxx.

References ClearFolder(), ClearObject(), fxDirMutex, fxGo4Dir, GO4TRACE, and TGo4LockGuard.

◆ ClearObjects() [2/2]

Bool_t TGo4AnalysisObjectManager::ClearObjects ( const char * 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.

◆ CloseAnalysis() [1/2]

void TGo4AnalysisObjectManager::CloseAnalysis ( )

Cleanups required when analysis is closed.

Definition at line 1064 of file TGo4AnalysisObjectManager.cxx.

References fiDynListCount, GO4TRACE, TGo4Analysis::Instance(), TGo4Analysis::Message(), and ResetCurrentDynList().

◆ CloseAnalysis() [2/2]

void TGo4AnalysisObjectManager::CloseAnalysis ( )

Cleanups required when analysis is closed.

◆ CreateBranchFolder() [1/2]

TFolder * TGo4AnalysisObjectManager::CreateBranchFolder ( TObjArray * branchlist,
const char * name,
const char * 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 597 of file TGo4AnalysisObjectManager.cxx.

References CreateBranchFolder(), CreateCompositeBranchFolder(), fxTempFolder, GetEventStructure(), and GO4TRACE.

Referenced by CreateBranchFolder(), CreateCompositeBranchFolder(), and CreateTreeStructure().

◆ CreateBranchFolder() [2/2]

TFolder * TGo4AnalysisObjectManager::CreateBranchFolder ( TObjArray * branchlist,
const char * name,
const char * 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.

◆ CreateCompositeBranchFolder() [1/2]

TFolder * TGo4AnalysisObjectManager::CreateCompositeBranchFolder ( TObjArray * branchlist,
TGo4CompositeEvent * compevent,
Int_t startindex,
Int_t * skip,
const char * name,
const char * 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 287 of file TGo4AnalysisObjectManager.cxx.

References CreateBranchFolder(), CreateCompositeBranchFolder(), fxTempFolder, TGo4CompositeEvent::getListOfComposites(), TGo4CompositeEvent::getNElements(), and GO4TRACE.

Referenced by CreateBranchFolder(), and CreateCompositeBranchFolder().

◆ CreateCompositeBranchFolder() [2/2]

TFolder * TGo4AnalysisObjectManager::CreateCompositeBranchFolder ( TObjArray * branchlist,
TGo4CompositeEvent * compevent,
Int_t startindex,
Int_t * skip,
const char * name,
const char * 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.

◆ CreatedInMake() [1/2]

Bool_t TGo4AnalysisObjectManager::CreatedInMake ( ) const
inline

Definition at line 638 of file TGo4AnalysisObjectManager.h.

References fbCreatedinMake.

◆ CreatedInMake() [2/2]

Bool_t TGo4AnalysisObjectManager::CreatedInMake ( ) const
inline

Definition at line 638 of file TGo4AnalysisObjectManager.h.

References fbCreatedinMake.

◆ CreateMembersFolder() [1/2]

TFolder * TGo4AnalysisObjectManager::CreateMembersFolder ( TObject * obj,
const char * membrfoldername,
TClass * cl )

Create a folder with members of this class.

Definition at line 426 of file TGo4AnalysisObjectManager.cxx.

References CreateMembersFolder(), and fxTempFolder.

Referenced by CreateMembersFolder(), and CreateNamesFolder().

◆ CreateMembersFolder() [2/2]

TFolder * TGo4AnalysisObjectManager::CreateMembersFolder ( TObject * obj,
const char * membrfoldername,
TClass * cl )

Create a folder with members of this class.

◆ CreateNamesFolder() [1/2]

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

References CreateMembersFolder(), CreateNamesFolder(), CreateObjectStatus(), CreateTreeStructure(), fxTempFolder, and GO4TRACE.

Referenced by CreateNamesFolder(), and CreateNamesList().

◆ CreateNamesFolder() [2/2]

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.

◆ CreateNamesList() [1/2]

TGo4AnalysisObjectNames * TGo4AnalysisObjectManager::CreateNamesList ( )

◆ CreateNamesList() [2/2]

TGo4AnalysisObjectNames * TGo4AnalysisObjectManager::CreateNamesList ( )

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

◆ CreateObjectList() [1/4]

TList * TGo4AnalysisObjectManager::CreateObjectList ( const char * expr,
const char * folder = nullptr )
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 1874 of file TGo4AnalysisObjectManager.cxx.

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

Referenced by CreateObjectList(), CreateObjectList(), and NextMatchingObject().

◆ CreateObjectList() [2/4]

TList * TGo4AnalysisObjectManager::CreateObjectList ( const char * expr,
const char * folder = nullptr )
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.

◆ CreateObjectList() [3/4]

TList * TGo4AnalysisObjectManager::CreateObjectList ( const char * expr,
TFolder * fold )
private

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

Definition at line 1886 of file TGo4AnalysisObjectManager.cxx.

References CreateObjectList(), and IsMatching().

◆ CreateObjectList() [4/4]

TList * TGo4AnalysisObjectManager::CreateObjectList ( const char * expr,
TFolder * fold )
private

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

◆ CreateObjectStatus() [1/4]

TGo4ObjectStatus * TGo4AnalysisObjectManager::CreateObjectStatus ( const char * name,
const char * folder = nullptr )

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

References CreateObjectStatus(), and GetObject().

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

◆ CreateObjectStatus() [2/4]

TGo4ObjectStatus * TGo4AnalysisObjectManager::CreateObjectStatus ( const char * name,
const char * folder = nullptr )

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.

◆ CreateObjectStatus() [3/4]

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

◆ CreateObjectStatus() [4/4]

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)

◆ CreateTreeStructure() [1/4]

TGo4TreeStructure * TGo4AnalysisObjectManager::CreateTreeStructure ( const char * treename)

Create a tree structure for a certain tree by name.

Definition at line 416 of file TGo4AnalysisObjectManager.cxx.

References CreateTreeStructure(), fxTreeDir, and GO4TRACE.

◆ CreateTreeStructure() [2/4]

TGo4TreeStructure * TGo4AnalysisObjectManager::CreateTreeStructure ( const char * treename)

Create a tree structure for a certain tree by name.

◆ CreateTreeStructure() [3/4]

TGo4TreeStructure * TGo4AnalysisObjectManager::CreateTreeStructure ( TTree * thetree)

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

Definition at line 399 of file TGo4AnalysisObjectManager.cxx.

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

Referenced by CreateNamesFolder(), and CreateTreeStructure().

◆ CreateTreeStructure() [4/4]

TGo4TreeStructure * TGo4AnalysisObjectManager::CreateTreeStructure ( TTree * thetree)

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

◆ DeleteFolder() [1/2]

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

References DeleteFolder(), DeleteObject(), fxDirMutex, GO4TRACE, and TGo4LockGuard.

Referenced by DeleteFolder(), and DeleteObjects().

◆ DeleteFolder() [2/2]

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.

◆ DeleteObject() [1/2]

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

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

Referenced by DeleteFolder(), and DeleteObjects().

◆ DeleteObject() [2/2]

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.

◆ DeleteObjects() [1/2]

Bool_t TGo4AnalysisObjectManager::DeleteObjects ( const char * name)

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

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

◆ DeleteObjects() [2/2]

Bool_t TGo4AnalysisObjectManager::DeleteObjects ( const char * name)

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.

◆ FindObjectInFolder() [1/2]

TObject * TGo4AnalysisObjectManager::FindObjectInFolder ( TFolder * folder,
const char * fullname ) const
private

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

Definition at line 1934 of file TGo4AnalysisObjectManager.cxx.

References fxDirMutex, GO4TRACE, and TGo4LockGuard.

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

◆ FindObjectInFolder() [2/2]

TObject * TGo4AnalysisObjectManager::FindObjectInFolder ( TFolder * folder,
const char * fullname ) const
private

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

◆ FindObjectPathName() [1/2]

Bool_t TGo4AnalysisObjectManager::FindObjectPathName ( TObject * obj,
TString & pathname,
TFolder * fold = nullptr )

Return full path name to object, relative to specified folder.

Definition at line 1965 of file TGo4AnalysisObjectManager.cxx.

References FindObjectPathName(), and fxGo4Dir.

Referenced by FindObjectPathName().

◆ FindObjectPathName() [2/2]

Bool_t TGo4AnalysisObjectManager::FindObjectPathName ( TObject * obj,
TString & pathname,
TFolder * fold = nullptr )

Return full path name to object, relative to specified folder.

◆ FindSubFolder() [1/2]

TFolder * TGo4AnalysisObjectManager::FindSubFolder ( TFolder * parent,
const char * subfolder,
Bool_t create = kTRUE )

Get pointer to subfolder of parent specified by name.

If create is true, create it

Definition at line 1362 of file TGo4AnalysisObjectManager.cxx.

References FindSubFolder(), fxDirMutex, GO4TRACE, IsSortedOrder(), and TGo4LockGuard.

Referenced by AddObjectToFolder(), CreateObjectList(), FindSubFolder(), GetAsTObject(), LoadFolder(), and LoadFolder().

◆ FindSubFolder() [2/2]

TFolder * TGo4AnalysisObjectManager::FindSubFolder ( TFolder * parent,
const char * subfolder,
Bool_t create = kTRUE )

Get pointer to subfolder of parent specified by name.

If create is true, create it

◆ GetAnalysisCondition() [1/2]

TGo4Condition * TGo4AnalysisObjectManager::GetAnalysisCondition ( const char * name,
const char * cond_cl = nullptr )

Retrieves an analysis condition from list by name.

Returns 0 if no such condition.

Definition at line 761 of file TGo4AnalysisObjectManager.cxx.

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

◆ GetAnalysisCondition() [2/2]

TGo4Condition * TGo4AnalysisObjectManager::GetAnalysisCondition ( const char * name,
const char * cond_cl = nullptr )

Retrieves an analysis condition from list by name.

Returns 0 if no such condition.

◆ GetANALYSISFOLDER() [1/2]

const char * TGo4AnalysisObjectManager::GetANALYSISFOLDER ( )
static

Definition at line 87 of file TGo4AnalysisObjectManager.cxx.

References fgcANALYSISFOLDER.

Referenced by TGo4MbsHist::ScanGo4Folder(), and TGo4Sniffer::ScanRoot().

◆ GetANALYSISFOLDER() [2/2]

const char * TGo4AnalysisObjectManager::GetANALYSISFOLDER ( )
static

◆ GetAsTObject() [1/2]

TObject * TGo4AnalysisObjectManager::GetAsTObject ( const char * name,
const char * folder = nullptr )

Searches for object by name in all go4 folders.

Returns pointer to TObject 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.

Definition at line 210 of file TGo4AnalysisObjectManager.cxx.

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

Referenced by TGo4ComGetEnvelope::ExeCom(), and GetObject().

◆ GetAsTObject() [2/2]

TObject * TGo4AnalysisObjectManager::GetAsTObject ( const char * name,
const char * folder = nullptr )

Searches for object by name in all go4 folders.

Returns pointer to TObject 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.

◆ GetCanvas() [1/2]

TCanvas * TGo4AnalysisObjectManager::GetCanvas ( const char * name)

Retrieves a TCanvas by name from the Canvases folder.

Returns 0 if no such object.

Definition at line 1241 of file TGo4AnalysisObjectManager.cxx.

References FindObjectInFolder(), fxCanvasDir, and GO4TRACE.

◆ GetCanvas() [2/2]

TCanvas * TGo4AnalysisObjectManager::GetCanvas ( const char * name)

Retrieves a TCanvas by name from the Canvases folder.

Returns 0 if no such object.

◆ GetCANVFOLDER() [1/2]

const char * TGo4AnalysisObjectManager::GetCANVFOLDER ( )
static

Definition at line 86 of file TGo4AnalysisObjectManager.cxx.

References fgcCANVFOLDER.

Referenced by TGo4MbsHist::ScanGo4Folder(), and TGo4Sniffer::ScanRoot().

◆ GetCANVFOLDER() [2/2]

const char * TGo4AnalysisObjectManager::GetCANVFOLDER ( )
static

◆ GetCONDFOLDER() [1/2]

const char * TGo4AnalysisObjectManager::GetCONDFOLDER ( )
static

Definition at line 82 of file TGo4AnalysisObjectManager.cxx.

References fgcCONDFOLDER.

Referenced by TGo4MbsHist::ScanGo4Folder(), and TGo4Sniffer::ScanRoot().

◆ GetCONDFOLDER() [2/2]

const char * TGo4AnalysisObjectManager::GetCONDFOLDER ( )
static

◆ GetDYNFOLDER() [1/2]

const char * TGo4AnalysisObjectManager::GetDYNFOLDER ( )
static

Definition at line 81 of file TGo4AnalysisObjectManager.cxx.

References fgcDYNFOLDER.

Referenced by TGo4MbsHist::ScanGo4Folder().

◆ GetDYNFOLDER() [2/2]

const char * TGo4AnalysisObjectManager::GetDYNFOLDER ( )
static

◆ GetDynListInterval() [1/2]

Int_t TGo4AnalysisObjectManager::GetDynListInterval ( ) const
inline

Definition at line 549 of file TGo4AnalysisObjectManager.h.

References fiDynListInterval.

Referenced by ProcessDynamicList().

◆ GetDynListInterval() [2/2]

Int_t TGo4AnalysisObjectManager::GetDynListInterval ( ) const
inline

Definition at line 549 of file TGo4AnalysisObjectManager.h.

References fiDynListInterval.

◆ GetEVENTFOLDER() [1/2]

const char * TGo4AnalysisObjectManager::GetEVENTFOLDER ( )
static

Definition at line 88 of file TGo4AnalysisObjectManager.cxx.

References fgcEVENTFOLDER.

Referenced by TGo4Sniffer::ScanRoot().

◆ GetEVENTFOLDER() [2/2]

const char * TGo4AnalysisObjectManager::GetEVENTFOLDER ( )
static

◆ GetEventStructure() [1/2]

TGo4EventElement * TGo4AnalysisObjectManager::GetEventStructure ( const char * name) const

Search reference to event structure in folder.

Definition at line 1011 of file TGo4AnalysisObjectManager.cxx.

References FindObjectInFolder(), fxEventDir, TGo4EventElement::GetChild(), and GO4TRACE.

Referenced by CreateBranchFolder().

◆ GetEventStructure() [2/2]

TGo4EventElement * TGo4AnalysisObjectManager::GetEventStructure ( const char * name) const

Search reference to event structure in folder.

◆ GetHISTFOLDER() [1/2]

const char * TGo4AnalysisObjectManager::GetHISTFOLDER ( )
static

Definition at line 80 of file TGo4AnalysisObjectManager.cxx.

References fgcHISTFOLDER.

Referenced by TGo4Sniffer::ScanRoot().

◆ GetHISTFOLDER() [2/2]

const char * TGo4AnalysisObjectManager::GetHISTFOLDER ( )
static

◆ GetHistogram() [1/2]

TH1 * TGo4AnalysisObjectManager::GetHistogram ( const char * name)

Search histogram in histogram list (directory).

Definition at line 686 of file TGo4AnalysisObjectManager.cxx.

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

◆ GetHistogram() [2/2]

TH1 * TGo4AnalysisObjectManager::GetHistogram ( const char * name)

Search histogram in histogram list (directory).

◆ GetObject() [1/2]

TNamed * TGo4AnalysisObjectManager::GetObject ( const char * name,
const char * folder = nullptr )

Searches for object by name in all go4 folders.

Returns pointer to TNamed 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.

Definition at line 238 of file TGo4AnalysisObjectManager.cxx.

References GetAsTObject().

Referenced by CreateObjectStatus().

◆ GetObject() [2/2]

TNamed * TGo4AnalysisObjectManager::GetObject ( const char * name,
const char * folder = nullptr )

Searches for object by name in all go4 folders.

Returns pointer to TNamed 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.

◆ GetObjectFolder() [1/2]

TFolder * TGo4AnalysisObjectManager::GetObjectFolder ( )

Access to top folder of all objects.

Definition at line 931 of file TGo4AnalysisObjectManager.cxx.

References fxGo4Dir.

Referenced by TGo4Sniffer::CmdCloseFiles(), TGo4Sniffer::CmdOpenFile(), and TGo4Sniffer::ScanRoot().

◆ GetObjectFolder() [2/2]

TFolder * TGo4AnalysisObjectManager::GetObjectFolder ( )

Access to top folder of all objects.

◆ GetPARAFOLDER() [1/2]

const char * TGo4AnalysisObjectManager::GetPARAFOLDER ( )
static

Definition at line 83 of file TGo4AnalysisObjectManager.cxx.

References fgcPARAFOLDER.

Referenced by TGo4MbsHist::ScanGo4Folder(), and TGo4Sniffer::ScanRoot().

◆ GetPARAFOLDER() [2/2]

const char * TGo4AnalysisObjectManager::GetPARAFOLDER ( )
static

◆ GetParameter() [1/2]

TGo4Parameter * TGo4AnalysisObjectManager::GetParameter ( const char * name,
const char * parameter_class = nullptr )

Retrieves a parameter object by name from the object folder.

Optionally expected class of parameter object could be specified. Returns 0 if no such parameter found (or class not match).

Definition at line 1159 of file TGo4AnalysisObjectManager.cxx.

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

◆ GetParameter() [2/2]

TGo4Parameter * TGo4AnalysisObjectManager::GetParameter ( const char * name,
const char * parameter_class = nullptr )

Retrieves a parameter object by name from the object folder.

Optionally expected class of parameter object could be specified. Returns 0 if no such parameter found (or class not match).

◆ GetPICTFOLDER() [1/2]

const char * TGo4AnalysisObjectManager::GetPICTFOLDER ( )
static

Definition at line 85 of file TGo4AnalysisObjectManager.cxx.

References fgcPICTFOLDER.

Referenced by TGo4MbsHist::ScanGo4Folder(), and TGo4Sniffer::ScanRoot().

◆ GetPICTFOLDER() [2/2]

const char * TGo4AnalysisObjectManager::GetPICTFOLDER ( )
static

◆ GetPicture() [1/2]

TGo4Picture * TGo4AnalysisObjectManager::GetPicture ( const char * name)

Retrieves a picture object by name from the object folder.

Returns 0 if no such picture.

Definition at line 1213 of file TGo4AnalysisObjectManager.cxx.

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

◆ GetPicture() [2/2]

TGo4Picture * TGo4AnalysisObjectManager::GetPicture ( const char * name)

Retrieves a picture object by name from the object folder.

Returns 0 if no such picture.

◆ GetPROCFOLDER() [1/2]

const char * TGo4AnalysisObjectManager::GetPROCFOLDER ( )
static

Definition at line 91 of file TGo4AnalysisObjectManager.cxx.

References fgcPROCFOLDER.

◆ GetPROCFOLDER() [2/2]

const char * TGo4AnalysisObjectManager::GetPROCFOLDER ( )
static

◆ GetSRCFOLDER() [1/2]

const char * TGo4AnalysisObjectManager::GetSRCFOLDER ( )
static

Definition at line 89 of file TGo4AnalysisObjectManager.cxx.

References fgcSRCFOLDER.

◆ GetSRCFOLDER() [2/2]

const char * TGo4AnalysisObjectManager::GetSRCFOLDER ( )
static

◆ GetSTOREFOLDER() [1/2]

const char * TGo4AnalysisObjectManager::GetSTOREFOLDER ( )
static

Definition at line 90 of file TGo4AnalysisObjectManager.cxx.

References fgcSTOREFOLDER.

◆ GetSTOREFOLDER() [2/2]

const char * TGo4AnalysisObjectManager::GetSTOREFOLDER ( )
static

◆ GetTMPFOLDER() [1/2]

const char * TGo4AnalysisObjectManager::GetTMPFOLDER ( )
static

Definition at line 93 of file TGo4AnalysisObjectManager.cxx.

References fgcTMPFOLDER.

◆ GetTMPFOLDER() [2/2]

const char * TGo4AnalysisObjectManager::GetTMPFOLDER ( )
static

References fxGo4Dir.

◆ GetTOPDYNAMICLIST() [1/2]

const char * TGo4AnalysisObjectManager::GetTOPDYNAMICLIST ( )
static

Definition at line 78 of file TGo4AnalysisObjectManager.cxx.

References fgcTOPDYNAMICLIST.

◆ GetTOPDYNAMICLIST() [2/2]

const char * TGo4AnalysisObjectManager::GetTOPDYNAMICLIST ( )
static

◆ GetTOPFOLDER() [1/2]

const char * TGo4AnalysisObjectManager::GetTOPFOLDER ( )
static

◆ GetTOPFOLDER() [2/2]

const char * TGo4AnalysisObjectManager::GetTOPFOLDER ( )
static

◆ GetTree() [1/2]

TTree * TGo4AnalysisObjectManager::GetTree ( const char * name)

Search tree in tree folder.

Definition at line 694 of file TGo4AnalysisObjectManager.cxx.

References FindObjectInFolder(), fxTreeDir, and GO4TRACE.

◆ GetTree() [2/2]

TTree * TGo4AnalysisObjectManager::GetTree ( const char * name)

Search tree in tree folder.

◆ GetTREEFOLDER() [1/2]

const char * TGo4AnalysisObjectManager::GetTREEFOLDER ( )
static

Definition at line 84 of file TGo4AnalysisObjectManager.cxx.

References fgcTREEFOLDER.

Referenced by TGo4MbsHist::ScanGo4Folder(), and TGo4Sniffer::ScanRoot().

◆ GetTREEFOLDER() [2/2]

const char * TGo4AnalysisObjectManager::GetTREEFOLDER ( )
static

◆ GetUSRFOLDER() [1/2]

const char * TGo4AnalysisObjectManager::GetUSRFOLDER ( )
static

Definition at line 92 of file TGo4AnalysisObjectManager.cxx.

References fgcUSRFOLDER.

Referenced by TGo4Sniffer::ScanRoot().

◆ GetUSRFOLDER() [2/2]

const char * TGo4AnalysisObjectManager::GetUSRFOLDER ( )
static

◆ IsMatching() [1/2]

Bool_t TGo4AnalysisObjectManager::IsMatching ( const char * string,
const char * expression ) const
private

Finds out if string is matching the expression.

Definition at line 1916 of file TGo4AnalysisObjectManager.cxx.

Referenced by CreateObjectList(), and PrintFolder().

◆ IsMatching() [2/2]

Bool_t TGo4AnalysisObjectManager::IsMatching ( const char * string,
const char * expression ) const
private

Finds out if string is matching the expression.

◆ IsSortedOrder() [1/2]

Bool_t TGo4AnalysisObjectManager::IsSortedOrder ( ) const
inline

Returns true if sub-folders will be created in sorted order.

Definition at line 644 of file TGo4AnalysisObjectManager.h.

References fbSortedOrder.

Referenced by FindSubFolder().

◆ IsSortedOrder() [2/2]

Bool_t TGo4AnalysisObjectManager::IsSortedOrder ( ) const
inline

Returns true if sub-folders will be created in sorted order.

Definition at line 644 of file TGo4AnalysisObjectManager.h.

References fbSortedOrder.

◆ LoadFolder() [1/4]

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

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

◆ LoadFolder() [2/4]

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

◆ LoadFolder() [3/4]

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

References FindSubFolder(), fxDirMutex, GO4TRACE, LoadFolder(), PutToFolder(), and TGo4LockGuard.

Referenced by LoadFolder(), LoadFolder(), and LoadObjects().

◆ LoadFolder() [4/4]

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

◆ LoadObjects() [1/2]

Bool_t TGo4AnalysisObjectManager::LoadObjects ( TFile * statusfile)

Load objects from file.

File should be opened and closed by the caller.

Definition at line 1255 of file TGo4AnalysisObjectManager.cxx.

References TGo4PolyCond::CleanupSpecials(), fgcTOPFOLDER, fxGo4Dir, GO4TRACE, LoadFolder(), and ResetCurrentDynList().

◆ LoadObjects() [2/2]

Bool_t TGo4AnalysisObjectManager::LoadObjects ( TFile * statusfile)

Load objects from file.

File should be opened and closed by the caller.

◆ MakePolyCond() [1/2]

TGo4PolyCond * TGo4AnalysisObjectManager::MakePolyCond ( const char * foldername,
const char * conditionname,
Int_t size,
Float_t(*) points[2],
const char * bindhistogram = nullptr,
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 dimensional 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 did not match each other

Parameters
foldername- name of folder, where condition should be created
conditionname- 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 818 of file TGo4AnalysisObjectManager.cxx.

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

◆ MakePolyCond() [2/2]

TGo4PolyCond * TGo4AnalysisObjectManager::MakePolyCond ( const char * foldername,
const char * conditionname,
Int_t size,
Float_t(*) points[2],
const char * bindhistogram = nullptr,
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 dimensional 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 did not match each other

Parameters
foldername- name of folder, where condition should be created
conditionname- 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

◆ MakeTH1() [1/2]

TH1 * TGo4AnalysisObjectManager::MakeTH1 ( const char * histotype,
const char * foldername,
const char * histoname,
Int_t nbinsx,
Axis_t xlow,
Axis_t xup,
const char * title = nullptr,
const char * xtitle = nullptr,
const char * ytitle = nullptr )

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" corresponds 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 506 of file TGo4AnalysisObjectManager.cxx.

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

◆ MakeTH1() [2/2]

TH1 * TGo4AnalysisObjectManager::MakeTH1 ( const char * histotype,
const char * foldername,
const char * histoname,
Int_t nbinsx,
Axis_t xlow,
Axis_t xup,
const char * title = nullptr,
const char * xtitle = nullptr,
const char * ytitle = nullptr )

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" corresponds 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]

◆ MakeTH2() [1/2]

TH2 * TGo4AnalysisObjectManager::MakeTH2 ( const char * histotype,
const char * foldername,
const char * histoname,
Int_t nbinsx,
Axis_t xlow,
Axis_t xup,
Int_t nbinsy,
Axis_t ylow,
Axis_t yup,
const char * title = nullptr,
const char * xtitle = nullptr,
const char * ytitle = nullptr )

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" corresponds 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 550 of file TGo4AnalysisObjectManager.cxx.

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

◆ MakeTH2() [2/2]

TH2 * TGo4AnalysisObjectManager::MakeTH2 ( const char * histotype,
const char * foldername,
const char * histoname,
Int_t nbinsx,
Axis_t xlow,
Axis_t xup,
Int_t nbinsy,
Axis_t ylow,
Axis_t yup,
const char * title = nullptr,
const char * xtitle = nullptr,
const char * ytitle = nullptr )

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" corresponds 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]

◆ MakeWindowCond() [1/4]

TGo4WinCond * TGo4AnalysisObjectManager::MakeWindowCond ( const char * foldername,
const char * conditionname,
Double_t xlow,
Double_t xup,
const char * bindhistogram = nullptr,
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 774 of file TGo4AnalysisObjectManager.cxx.

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

◆ MakeWindowCond() [2/4]

TGo4WinCond * TGo4AnalysisObjectManager::MakeWindowCond ( const char * foldername,
const char * conditionname,
Double_t xlow,
Double_t xup,
const char * bindhistogram = nullptr,
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

◆ MakeWindowCond() [3/4]

TGo4WinCond * TGo4AnalysisObjectManager::MakeWindowCond ( const char * foldername,
const char * conditionname,
Double_t xlow,
Double_t xup,
Double_t ylow,
Double_t yup,
const char * bindhistogram = nullptr,
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
foldername- name of folder, where condition should be created
conditionname- 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 795 of file TGo4AnalysisObjectManager.cxx.

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

◆ MakeWindowCond() [4/4]

TGo4WinCond * TGo4AnalysisObjectManager::MakeWindowCond ( const char * foldername,
const char * conditionname,
Double_t xlow,
Double_t xup,
Double_t ylow,
Double_t yup,
const char * bindhistogram = nullptr,
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
foldername- name of folder, where condition should be created
conditionname- 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

◆ NextMatchingObject() [1/2]

TObject * TGo4AnalysisObjectManager::NextMatchingObject ( const char * expr,
const char * 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 matching 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 1863 of file TGo4AnalysisObjectManager.cxx.

References CreateObjectList(), fxMatchIterator, and fxMatchList.

◆ NextMatchingObject() [2/2]

TObject * TGo4AnalysisObjectManager::NextMatchingObject ( const char * expr,
const char * 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 matching 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.

◆ PrintConditions() [1/2]

void TGo4AnalysisObjectManager::PrintConditions ( const char * expression = nullptr)

Print all condition counters to the terminal.

Expression may filter only objects with names matching.

Definition at line 1839 of file TGo4AnalysisObjectManager.cxx.

References fxConditionDir, GO4TRACE, and PrintFolder().

◆ PrintConditions() [2/2]

void TGo4AnalysisObjectManager::PrintConditions ( const char * expression = nullptr)

Print all condition counters to the terminal.

Expression may filter only objects with names matching.

◆ PrintDynamicList() [1/2]

void TGo4AnalysisObjectManager::PrintDynamicList ( )

Print entries of current dynamic list.

Definition at line 1291 of file TGo4AnalysisObjectManager.cxx.

References fxDynListDir, and TGo4DynamicList::PrintEntries().

◆ PrintDynamicList() [2/2]

void TGo4AnalysisObjectManager::PrintDynamicList ( )

Print entries of current dynamic list.

◆ PrintFolder() [1/2]

Int_t TGo4AnalysisObjectManager::PrintFolder ( TFolder * fold,
Option_t * opt,
const char * expression = nullptr )
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 1682 of file TGo4AnalysisObjectManager.cxx.

References CreateObjectStatus(), fxDirMutex, TGo4ObjectStatus::GetObjectSize(), GO4TRACE, IsMatching(), PrintFolder(), and TGo4LockGuard.

Referenced by PrintConditions(), PrintFolder(), PrintHistograms(), and PrintParameters().

◆ PrintFolder() [2/2]

Int_t TGo4AnalysisObjectManager::PrintFolder ( TFolder * fold,
Option_t * opt,
const char * expression = nullptr )
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).

◆ PrintHistograms() [1/2]

void TGo4AnalysisObjectManager::PrintHistograms ( const char * expression = nullptr)

Printout of all histogram statistic counters on the terminal.

Expression may filter only objects with names matching.

Definition at line 1847 of file TGo4AnalysisObjectManager.cxx.

References fxHistogramDir, GO4TRACE, and PrintFolder().

◆ PrintHistograms() [2/2]

void TGo4AnalysisObjectManager::PrintHistograms ( const char * expression = nullptr)

Printout of all histogram statistic counters on the terminal.

Expression may filter only objects with names matching.

◆ PrintParameters() [1/2]

void TGo4AnalysisObjectManager::PrintParameters ( const char * expression = nullptr)

Print all parameters to the terminal.

Expression may filter only objects with names matching.

Definition at line 1855 of file TGo4AnalysisObjectManager.cxx.

References fxParameterDir, GO4TRACE, and PrintFolder().

◆ PrintParameters() [2/2]

void TGo4AnalysisObjectManager::PrintParameters ( const char * expression = nullptr)

Print all parameters to the terminal.

Expression may filter only objects with names matching.

◆ ProcessDynamicList() [1/2]

void TGo4AnalysisObjectManager::ProcessDynamicList ( )

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

Definition at line 1281 of file TGo4AnalysisObjectManager.cxx.

References fiDynListCount, fiDynListInterval, fxDynListDir, GetDynListInterval(), TGo4DynamicList::ProcessEntries(), and ResetBackStores().

◆ ProcessDynamicList() [2/2]

void TGo4AnalysisObjectManager::ProcessDynamicList ( )

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

◆ ProtectFolder() [1/2]

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

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

Referenced by ProtectFolder(), and ProtectObjects().

◆ ProtectFolder() [2/2]

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.

◆ ProtectObject() [1/2]

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

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

Referenced by ProtectFolder(), and ProtectObjects().

◆ ProtectObject() [2/2]

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.

◆ ProtectObjects() [1/2]

Bool_t TGo4AnalysisObjectManager::ProtectObjects ( const char * 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 273 of file TGo4AnalysisObjectManager.cxx.

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

◆ ProtectObjects() [2/2]

Bool_t TGo4AnalysisObjectManager::ProtectObjects ( const char * 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.

◆ PutToFolder() [1/2]

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

References AddDynamicEntry(), AddObjectToFolder(), fbSuppressLoadHistograms, TGo4Analysis::Instance(), TGo4Analysis::Message(), SetAnalysisCondition(), SetParameter(), and SetPicture().

Referenced by LoadFolder(), and LoadFolder().

◆ PutToFolder() [2/2]

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.

◆ RecursiveRemove() [1/2]

void TGo4AnalysisObjectManager::RecursiveRemove ( TObject * obj)
override

Method used in case when object is cleaned up by the ROOT.

Definition at line 188 of file TGo4AnalysisObjectManager.cxx.

References fxCanvasDir.

◆ RecursiveRemove() [2/2]

void TGo4AnalysisObjectManager::RecursiveRemove ( TObject * obj)
override

◆ RemoveAnalysisCondition() [1/2]

Bool_t TGo4AnalysisObjectManager::RemoveAnalysisCondition ( const char * name)

Removes analysis condition from list by name.

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

Definition at line 856 of file TGo4AnalysisObjectManager.cxx.

References fxConditionDir, GO4TRACE, and RemoveObjectFromFolder().

◆ RemoveAnalysisCondition() [2/2]

Bool_t TGo4AnalysisObjectManager::RemoveAnalysisCondition ( const char * name)

Removes analysis condition from list by name.

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

◆ RemoveCanvas() [1/2]

Bool_t TGo4AnalysisObjectManager::RemoveCanvas ( const char * name)

Removes TCanvas by name.

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

Definition at line 1249 of file TGo4AnalysisObjectManager.cxx.

References fxCanvasDir, GO4TRACE, and RemoveObjectFromFolder().

◆ RemoveCanvas() [2/2]

Bool_t TGo4AnalysisObjectManager::RemoveCanvas ( const char * name)

Removes TCanvas by name.

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

◆ RemoveDynamicEntry() [1/2]

Bool_t TGo4AnalysisObjectManager::RemoveDynamicEntry ( const char * entryname)

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

References fxDynListDir, and RemoveObjectFromFolder().

◆ RemoveDynamicEntry() [2/2]

Bool_t TGo4AnalysisObjectManager::RemoveDynamicEntry ( const char * entryname)

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.

◆ RemoveEventProcessor() [1/2]

Bool_t TGo4AnalysisObjectManager::RemoveEventProcessor ( TGo4EventProcessor * pro)

Remove reference to event processor from go4 folder structure.

Definition at line 979 of file TGo4AnalysisObjectManager.cxx.

References fxDirMutex, fxProcessorDir, GO4TRACE, and TGo4LockGuard.

◆ RemoveEventProcessor() [2/2]

Bool_t TGo4AnalysisObjectManager::RemoveEventProcessor ( TGo4EventProcessor * pro)

Remove reference to event processor from go4 folder structure.

◆ RemoveEventSource() [1/2]

Bool_t TGo4AnalysisObjectManager::RemoveEventSource ( TGo4EventSource * source)

Remove reference to event source from go4 folder structure.

Definition at line 962 of file TGo4AnalysisObjectManager.cxx.

References fxDirMutex, fxSourceDir, GO4TRACE, and TGo4LockGuard.

◆ RemoveEventSource() [2/2]

Bool_t TGo4AnalysisObjectManager::RemoveEventSource ( TGo4EventSource * source)

Remove reference to event source from go4 folder structure.

◆ RemoveEventStore() [1/2]

Bool_t TGo4AnalysisObjectManager::RemoveEventStore ( TGo4EventStore * store)

Remove reference to event store from go4 folder structure.

Definition at line 942 of file TGo4AnalysisObjectManager.cxx.

References fxDirMutex, fxStoreDir, GO4TRACE, and TGo4LockGuard.

◆ RemoveEventStore() [2/2]

Bool_t TGo4AnalysisObjectManager::RemoveEventStore ( TGo4EventStore * store)

Remove reference to event store from go4 folder structure.

◆ RemoveEventStructure() [1/2]

Bool_t TGo4AnalysisObjectManager::RemoveEventStructure ( TGo4EventElement * ev)

Remove reference to event structure from go4 folder structure.

Definition at line 997 of file TGo4AnalysisObjectManager.cxx.

References CleanupDynamicLists(), fxDirMutex, fxEventDir, GO4TRACE, and TGo4LockGuard.

◆ RemoveEventStructure() [2/2]

Bool_t TGo4AnalysisObjectManager::RemoveEventStructure ( TGo4EventElement * ev)

Remove reference to event structure from go4 folder structure.

◆ RemoveFromDir() [1/2]

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

References RemoveFromDir().

Referenced by RemoveFromDir(), and SaveObjects().

◆ RemoveFromDir() [2/2]

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.

◆ RemoveHistogram() [1/2]

Bool_t TGo4AnalysisObjectManager::RemoveHistogram ( const char * 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 afterwards. Dynamic list entry for that histogram object is also removed.

Definition at line 700 of file TGo4AnalysisObjectManager.cxx.

References fxHistogramDir, GO4TRACE, and RemoveObjectFromFolder().

◆ RemoveHistogram() [2/2]

Bool_t TGo4AnalysisObjectManager::RemoveHistogram ( const char * 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 afterwards. Dynamic list entry for that histogram object is also removed.

◆ RemoveObject() [1/2]

Bool_t TGo4AnalysisObjectManager::RemoveObject ( const char * 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 afterwards.

Definition at line 204 of file TGo4AnalysisObjectManager.cxx.

References fxUserDir, and RemoveObjectFromFolder().

◆ RemoveObject() [2/2]

Bool_t TGo4AnalysisObjectManager::RemoveObject ( const char * 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 afterwards.

◆ RemoveObjectFromFolder() [1/2]

Bool_t TGo4AnalysisObjectManager::RemoveObjectFromFolder ( const char * 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 1479 of file TGo4AnalysisObjectManager.cxx.

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

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

◆ RemoveObjectFromFolder() [2/2]

Bool_t TGo4AnalysisObjectManager::RemoveObjectFromFolder ( const char * 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.

◆ RemoveParameter() [1/2]

Bool_t TGo4AnalysisObjectManager::RemoveParameter ( const char * name)

Removes parameter by name.

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

Definition at line 1169 of file TGo4AnalysisObjectManager.cxx.

References fxParameterDir, GO4TRACE, and RemoveObjectFromFolder().

◆ RemoveParameter() [2/2]

Bool_t TGo4AnalysisObjectManager::RemoveParameter ( const char * name)

Removes parameter by name.

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

◆ RemovePicture() [1/2]

Bool_t TGo4AnalysisObjectManager::RemovePicture ( const char * name)

Removes picture by name.

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

Definition at line 1221 of file TGo4AnalysisObjectManager.cxx.

References fxPictureDir, GO4TRACE, and RemoveObjectFromFolder().

◆ RemovePicture() [2/2]

Bool_t TGo4AnalysisObjectManager::RemovePicture ( const char * name)

Removes picture by name.

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

◆ RemoveTree() [1/2]

Bool_t TGo4AnalysisObjectManager::RemoveTree ( TTree * tree,
const char * stepname = nullptr )

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

References fxDirMutex, fxTreeDir, GO4TRACE, and TGo4LockGuard.

◆ RemoveTree() [2/2]

Bool_t TGo4AnalysisObjectManager::RemoveTree ( TTree * tree,
const char * stepname = nullptr )

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.

◆ ResetBackStores() [1/2]

Bool_t TGo4AnalysisObjectManager::ResetBackStores ( Bool_t clearflag = kFALSE)

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

Definition at line 1052 of file TGo4AnalysisObjectManager.cxx.

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

Referenced by ProcessDynamicList().

◆ ResetBackStores() [2/2]

Bool_t TGo4AnalysisObjectManager::ResetBackStores ( Bool_t clearflag = kFALSE)

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

◆ ResetCurrentDynList() [1/2]

void TGo4AnalysisObjectManager::ResetCurrentDynList ( )

Reset the current dynamic list.

Definition at line 1276 of file TGo4AnalysisObjectManager.cxx.

References fxDynListDir, and TGo4DynamicList::ResetEntries().

Referenced by CloseAnalysis(), and LoadObjects().

◆ ResetCurrentDynList() [2/2]

void TGo4AnalysisObjectManager::ResetCurrentDynList ( )

Reset the current dynamic list.

◆ SaveFolder() [1/2]

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

References AppendToDir(), fxDirMutex, TGo4Analysis::Instance(), TGo4Analysis::Message(), SaveFolder(), and TGo4LockGuard.

Referenced by SaveFolder(), and SaveObjects().

◆ SaveFolder() [2/2]

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

◆ SaveObjects() [1/2]

void TGo4AnalysisObjectManager::SaveObjects ( TFile * file)

Save folder structure to given file.

Definition at line 1072 of file TGo4AnalysisObjectManager.cxx.

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

◆ SaveObjects() [2/2]

void TGo4AnalysisObjectManager::SaveObjects ( TFile * file)

Save folder structure to given file.

◆ SetAnalysisCondition() [1/2]

Bool_t TGo4AnalysisObjectManager::SetAnalysisCondition ( const char * name,
TGo4Condition * con,
Bool_t counter = kTRUE,
TFolder * parent = nullptr )

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

References AddObjectToFolder(), TGo4PolyCond::CleanupSpecials(), fxConditionDir, fxDirMutex, fxUserDir, GO4TRACE, TGo4LockGuard, and TGo4Condition::UpdateFrom().

Referenced by PutToFolder().

◆ SetAnalysisCondition() [2/2]

Bool_t TGo4AnalysisObjectManager::SetAnalysisCondition ( const char * name,
TGo4Condition * con,
Bool_t counter = kTRUE,
TFolder * parent = nullptr )

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.

◆ SetDynListInterval() [1/2]

void TGo4AnalysisObjectManager::SetDynListInterval ( Int_t val)
inline

Definition at line 547 of file TGo4AnalysisObjectManager.h.

References fiDynListInterval.

◆ SetDynListInterval() [2/2]

void TGo4AnalysisObjectManager::SetDynListInterval ( Int_t val)
inline

Definition at line 547 of file TGo4AnalysisObjectManager.h.

References fiDynListInterval.

◆ SetParameter() [1/2]

Bool_t TGo4AnalysisObjectManager::SetParameter ( const char * name,
TGo4Parameter * par,
TFolder * parent = nullptr )

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

References AddObjectToFolder(), fxParameterDir, GO4TRACE, TGo4Log::Info(), and TGo4Parameter::UpdateFrom().

Referenced by PutToFolder().

◆ SetParameter() [2/2]

Bool_t TGo4AnalysisObjectManager::SetParameter ( const char * name,
TGo4Parameter * par,
TFolder * parent = nullptr )

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.

◆ SetParameterStatus() [1/2]

Bool_t TGo4AnalysisObjectManager::SetParameterStatus ( const char * name,
TGo4ParameterStatus * par,
TFolder * parent = nullptr )

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

References AddObjectToFolder(), TGo4ParameterStatus::CreateParameter(), fxParameterDir, GO4TRACE, and TGo4ParameterStatus::UpdateParameterValues().

◆ SetParameterStatus() [2/2]

Bool_t TGo4AnalysisObjectManager::SetParameterStatus ( const char * name,
TGo4ParameterStatus * par,
TFolder * parent = nullptr )

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.

◆ SetPicture() [1/2]

Bool_t TGo4AnalysisObjectManager::SetPicture ( const char * name,
TGo4Picture * pic,
TFolder * parent = nullptr )

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

References AddObjectToFolder(), fxPictureDir, GO4TRACE, and TGo4Picture::UpdateFrom().

Referenced by PutToFolder().

◆ SetPicture() [2/2]

Bool_t TGo4AnalysisObjectManager::SetPicture ( const char * name,
TGo4Picture * pic,
TFolder * parent = nullptr )

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.

◆ SetSortedOrder() [1/2]

void TGo4AnalysisObjectManager::SetSortedOrder ( Bool_t on = kTRUE)
inline

Configure sorting order for newly created sub-folders.

Definition at line 641 of file TGo4AnalysisObjectManager.h.

References fbSortedOrder.

◆ SetSortedOrder() [2/2]

void TGo4AnalysisObjectManager::SetSortedOrder ( Bool_t on = kTRUE)
inline

Configure sorting order for newly created sub-folders.

Definition at line 641 of file TGo4AnalysisObjectManager.h.

References fbSortedOrder.

◆ TestObject() [1/2]

TObject * TGo4AnalysisObjectManager::TestObject ( TFolder * folder,
const char *& pathname,
const char * 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 1943 of file TGo4AnalysisObjectManager.cxx.

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

Referenced by MakePolyCond(), MakeTH1(), MakeTH2(), MakeWindowCond(), and MakeWindowCond().

◆ TestObject() [2/2]

TObject * TGo4AnalysisObjectManager::TestObject ( TFolder * folder,
const char *& pathname,
const char * 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

Field Documentation

◆ fbCreatedinMake

Bool_t TGo4AnalysisObjectManager::fbCreatedinMake {kFALSE}
private

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

Definition at line 823 of file TGo4AnalysisObjectManager.h.

Referenced by CreatedInMake(), and TestObject().

◆ fbSortedOrder

Bool_t TGo4AnalysisObjectManager::fbSortedOrder {kFALSE}
private

Is sub-folder created is sorted order.

Definition at line 836 of file TGo4AnalysisObjectManager.h.

Referenced by IsSortedOrder(), and SetSortedOrder().

◆ fbSuppressLoadHistograms

Bool_t TGo4AnalysisObjectManager::fbSuppressLoadHistograms {kFALSE}
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 831 of file TGo4AnalysisObjectManager.h.

Referenced by LoadFolder(), and PutToFolder().

◆ fgcANALYSISFOLDER

const char * TGo4AnalysisObjectManager::fgcANALYSISFOLDER = "EventObjects"
static

top analysis objects reference folder name

Definition at line 677 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), GetANALYSISFOLDER(), and RecursiveRemove().

◆ fgcCANVFOLDER

const char * TGo4AnalysisObjectManager::fgcCANVFOLDER = "Canvases"
static

TCanvas folder name.

Definition at line 674 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), GetCANVFOLDER(), and RecursiveRemove().

◆ fgcCONDFOLDER

const char * TGo4AnalysisObjectManager::fgcCONDFOLDER = "Conditions"
static

Analysis conditions folder name.

Definition at line 662 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), GetCONDFOLDER(), and RecursiveRemove().

◆ fgcDYNFOLDER

const char * TGo4AnalysisObjectManager::fgcDYNFOLDER = "DynamicLists"
static

Dynamic lists folder name.

Definition at line 659 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), GetDYNFOLDER(), and RecursiveRemove().

◆ fgcEVENTFOLDER

const char * TGo4AnalysisObjectManager::fgcEVENTFOLDER = "Events"
static

Event references folder name.

Definition at line 680 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), GetEVENTFOLDER(), and RecursiveRemove().

◆ fgcHISTFOLDER

const char * TGo4AnalysisObjectManager::fgcHISTFOLDER = "Histograms"
static

Histograms folder name.

Definition at line 656 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), GetHISTFOLDER(), and RecursiveRemove().

◆ fgcPARAFOLDER

const char * TGo4AnalysisObjectManager::fgcPARAFOLDER = "Parameters"
static

Analysis user parameters folder name.

Definition at line 665 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), GetPARAFOLDER(), and RecursiveRemove().

◆ fgcPICTFOLDER

const char * TGo4AnalysisObjectManager::fgcPICTFOLDER = "Pictures"
static

Picture objects folder name.

Definition at line 671 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), GetPICTFOLDER(), LoadFolder(), and RecursiveRemove().

◆ fgcPROCFOLDER

const char * TGo4AnalysisObjectManager::fgcPROCFOLDER = "EventProcessors"
static

Event processor reference folder name.

Definition at line 689 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), GetPROCFOLDER(), and RecursiveRemove().

◆ fgcSRCFOLDER

const char * TGo4AnalysisObjectManager::fgcSRCFOLDER = "EventSources"
static

Event source reference folder name.

Definition at line 683 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), GetSRCFOLDER(), and RecursiveRemove().

◆ fgcSTOREFOLDER

const char * TGo4AnalysisObjectManager::fgcSTOREFOLDER = "EventStores"
static

Event store reference folder name.

Definition at line 686 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), GetSTOREFOLDER(), and RecursiveRemove().

◆ fgcTMPFOLDER

const char * TGo4AnalysisObjectManager::fgcTMPFOLDER = "Go4-tmp"
static

Temporary dummy folder name.

Definition at line 695 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), GetTMPFOLDER(), and RecursiveRemove().

◆ fgcTOPDYNAMICLIST

const char * TGo4AnalysisObjectManager::fgcTOPDYNAMICLIST = "Go4DynamicList"
static

Default name of the default (toplevel) dynamic list.

Definition at line 650 of file TGo4AnalysisObjectManager.h.

Referenced by GetTOPDYNAMICLIST(), and RecursiveRemove().

◆ fgcTOPFOLDER

const char * TGo4AnalysisObjectManager::fgcTOPFOLDER = "Go4"
static

◆ fgcTREEFOLDER

const char * TGo4AnalysisObjectManager::fgcTREEFOLDER = "Trees"
static

Tree reference folder name.

Definition at line 668 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), GetTREEFOLDER(), and RecursiveRemove().

◆ fgcUSRFOLDER

const char * TGo4AnalysisObjectManager::fgcUSRFOLDER = "UserObjects"
static

User objects folder name.

Definition at line 692 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), GetUSRFOLDER(), and RecursiveRemove().

◆ fiDynListCount

Int_t TGo4AnalysisObjectManager::fiDynListCount {0}
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 812 of file TGo4AnalysisObjectManager.h.

Referenced by CloseAnalysis(), and ProcessDynamicList().

◆ fiDynListInterval

Int_t TGo4AnalysisObjectManager::fiDynListInterval {0}
private

Interval for dynamic list processing.

Definition at line 817 of file TGo4AnalysisObjectManager.h.

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

◆ fxAnalysisDir

TFolder * TGo4AnalysisObjectManager::fxAnalysisDir {nullptr}
private

Top Directory for all references to event classes.

Definition at line 787 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), and SaveObjects().

◆ fxCanvasDir

TFolder * TGo4AnalysisObjectManager::fxCanvasDir {nullptr}
private

Directory containing TCanvases.

Definition at line 762 of file TGo4AnalysisObjectManager.h.

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

◆ fxConditionDir

TFolder * TGo4AnalysisObjectManager::fxConditionDir {nullptr}
private

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

Definition at line 731 of file TGo4AnalysisObjectManager.h.

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

◆ fxDirMutex

◆ fxDynListDir

TFolder * TGo4AnalysisObjectManager::fxDynListDir {nullptr}
private

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

Definition at line 742 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), AddDynamicEntry(), CleanupDynamicLists(), PrintDynamicList(), ProcessDynamicList(), RemoveDynamicEntry(), and ResetCurrentDynList().

◆ fxEventDir

TFolder * TGo4AnalysisObjectManager::fxEventDir {nullptr}
private

Directory containing references to event structures.

Definition at line 782 of file TGo4AnalysisObjectManager.h.

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

◆ fxGo4Dir

TFolder * TGo4AnalysisObjectManager::fxGo4Dir {nullptr}
private

◆ fxHistogramDir

TFolder * TGo4AnalysisObjectManager::fxHistogramDir {nullptr}
private

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

Definition at line 725 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), AddHistogram(), GetHistogram(), MakeTH1(), MakeTH2(), PrintHistograms(), and RemoveHistogram().

◆ fxMatchIterator

TIterator * TGo4AnalysisObjectManager::fxMatchIterator {nullptr}
private

Iterator for list of matching objects.

Definition at line 805 of file TGo4AnalysisObjectManager.h.

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

◆ fxMatchList

TList * TGo4AnalysisObjectManager::fxMatchList {nullptr}
private

List of matching objects for name expression.

Definition at line 802 of file TGo4AnalysisObjectManager.h.

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

◆ fxParameterDir

TFolder * TGo4AnalysisObjectManager::fxParameterDir {nullptr}
private

◆ fxPictureDir

TFolder * TGo4AnalysisObjectManager::fxPictureDir {nullptr}
private

Directory containing the pictures.

Definition at line 757 of file TGo4AnalysisObjectManager.h.

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

◆ fxProcessorDir

TFolder * TGo4AnalysisObjectManager::fxProcessorDir {nullptr}
private

Directory containing references to event processors.

Definition at line 777 of file TGo4AnalysisObjectManager.h.

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

◆ fxSourceDir

TFolder * TGo4AnalysisObjectManager::fxSourceDir {nullptr}
private

Directory containing references to event sources.

Definition at line 772 of file TGo4AnalysisObjectManager.h.

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

◆ fxStoreDir

TFolder * TGo4AnalysisObjectManager::fxStoreDir {nullptr}
private

Directory containing references to event stores.

Definition at line 767 of file TGo4AnalysisObjectManager.h.

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

◆ fxTempFolder

TFolder * TGo4AnalysisObjectManager::fxTempFolder {nullptr}
private

◆ fxTreeDir

TFolder * TGo4AnalysisObjectManager::fxTreeDir {nullptr}
private

Directory containing references to trees.

Definition at line 752 of file TGo4AnalysisObjectManager.h.

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

◆ fxUserDir

TFolder * TGo4AnalysisObjectManager::fxUserDir {nullptr}
private

The documentation for this class was generated from the following files: