GSI Object Oriented Online Offline (Go4) GO4-6.4.0
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 (const char *name)
 
virtual ~TGo4AnalysisObjectManager ()
 
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 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 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 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 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 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 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 ClearObjects (const char *name)
 Clear (reset) the specified objects.
 
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 * 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
 
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.
 
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 (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 (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 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.
 
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.
 
TCanvas * GetCanvas (const char *name)
 Retrieves a TCanvas by name from the Canvases folder.
 
Int_t GetDynListInterval () const
 
TGo4EventElementGetEventStructure (const char *name) const
 Search reference to event structure in folder.
 
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.
 
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.
 
TGo4PictureGetPicture (const char *name)
 Retrieves a picture object by name from the object 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 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.
 
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.
 
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.
 
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 PrintDynamicList ()
 Print entries of current dynamic list.
 
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 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.
 
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 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 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 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 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 RemoveParameter (const char *name)
 Removes parameter 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 ResetBackStores (Bool_t clearflag=kFALSE)
 Reset all registered backstore instances.Called by dynamic list processing.
 
void ResetCurrentDynList ()
 Reset the current dynamic list.
 
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.
 
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 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.
 
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 * GetCANVFOLDER ()
 
static const char * GetCONDFOLDER ()
 
static const char * GetDYNFOLDER ()
 
static const char * GetEVENTFOLDER ()
 
static const char * GetHISTFOLDER ()
 
static const char * GetPARAFOLDER ()
 
static const char * GetPICTFOLDER ()
 
static const char * GetPROCFOLDER ()
 
static const char * GetSRCFOLDER ()
 
static const char * GetSTOREFOLDER ()
 
static const char * GetTMPFOLDER ()
 
static const char * GetTOPDYNAMICLIST ()
 
static const char * GetTOPFOLDER ()
 
static const char * GetTREEFOLDER ()
 
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.
 
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.
 
Bool_t ClearFolder (TFolder *fold)
 Clear (reset) all objects in folder fold, e.g.
 
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, 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 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.
 
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 (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.
 
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 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.
 
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.
 
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/2]

◆ TGo4AnalysisObjectManager() [2/2]

◆ ~TGo4AnalysisObjectManager()

Member Function Documentation

◆ AddAnalysisCondition()

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

References AddObjectToFolder(), fxConditionDir, and GO4TRACE.

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

◆ AddCanvas()

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

References AddObjectToFolder(), fxCanvasDir, and GO4TRACE.

◆ AddDynamicEntry()

Bool_t TGo4AnalysisObjectManager::AddDynamicEntry ( TGo4DynamicEntry * entry)

Adds entry to object manager.

Definition at line 1056 of file TGo4AnalysisObjectManager.cxx.

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

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

◆ AddDynamicHistogram()

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

References AddDynamicEntry().

◆ AddEventProcessor()

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

References AddObjectToFolder(), fxProcessorDir, and GO4TRACE.

◆ AddEventSource()

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

References AddObjectToFolder(), fxSourceDir, and GO4TRACE.

◆ AddEventStore()

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

References AddObjectToFolder(), fxStoreDir, and GO4TRACE.

◆ AddEventStructure()

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

References AddObjectToFolder(), fxEventDir, and GO4TRACE.

◆ AddHistogram()

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

References AddObjectToFolder(), fxHistogramDir, and GO4TRACE.

Referenced by MakeTH1(), and MakeTH2().

◆ AddObject()

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

References AddObjectToFolder(), fxUserDir, and GO4TRACE.

◆ AddObjectToFolder()

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 1420 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().

◆ AddParameter()

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

References AddObjectToFolder(), fxParameterDir, and GO4TRACE.

◆ AddPicture()

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

References AddObjectToFolder(), fxPictureDir, and GO4TRACE.

◆ AddTree()

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

References AddObjectToFolder(), fxTreeDir, and GO4TRACE.

◆ AddTreeHistogram()

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

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

◆ AppendToDir()

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

Referenced by SaveFolder().

◆ CleanupDynamicLists()

void TGo4AnalysisObjectManager::CleanupDynamicLists ( TObject * oldobject)
private

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

Definition at line 1838 of file TGo4AnalysisObjectManager.cxx.

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

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

◆ ClearFolder()

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

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

Referenced by ClearFolder(), and ClearObjects().

◆ ClearObject()

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

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

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

◆ ClearObjects()

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

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

◆ CloseAnalysis()

void TGo4AnalysisObjectManager::CloseAnalysis ( )

Cleanups required when analysis is closed.

Definition at line 1074 of file TGo4AnalysisObjectManager.cxx.

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

◆ CreateBranchFolder()

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

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

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

◆ CreateCompositeBranchFolder()

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

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

Referenced by CreateBranchFolder(), and CreateCompositeBranchFolder().

◆ CreatedInMake()

Bool_t TGo4AnalysisObjectManager::CreatedInMake ( ) const
inline

Definition at line 638 of file TGo4AnalysisObjectManager.h.

References fbCreatedinMake.

◆ CreateMembersFolder()

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

Create a folder with members of this class.

Definition at line 436 of file TGo4AnalysisObjectManager.cxx.

References CreateMembersFolder(), and fxTempFolder.

Referenced by CreateMembersFolder(), and CreateNamesFolder().

◆ CreateNamesFolder()

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

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

Referenced by CreateNamesFolder(), and CreateNamesList().

◆ CreateNamesList()

TGo4AnalysisObjectNames * TGo4AnalysisObjectManager::CreateNamesList ( )

◆ CreateObjectList() [1/2]

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

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

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

◆ CreateObjectList() [2/2]

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

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

Definition at line 1897 of file TGo4AnalysisObjectManager.cxx.

References CreateObjectList(), and IsMatching().

◆ CreateObjectStatus() [1/2]

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

References CreateObjectStatus(), and GetObject().

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

◆ CreateObjectStatus() [2/2]

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

◆ CreateTreeStructure() [1/2]

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

Create a tree structure for a certain tree by name.

Definition at line 426 of file TGo4AnalysisObjectManager.cxx.

References CreateTreeStructure(), fxTreeDir, and GO4TRACE.

◆ CreateTreeStructure() [2/2]

TGo4TreeStructure * TGo4AnalysisObjectManager::CreateTreeStructure ( TTree * thetree)

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

Definition at line 409 of file TGo4AnalysisObjectManager.cxx.

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

Referenced by CreateNamesFolder(), and CreateTreeStructure().

◆ DeleteFolder()

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

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

Referenced by DeleteFolder(), and DeleteObjects().

◆ DeleteObject()

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

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

Referenced by DeleteFolder(), and DeleteObjects().

◆ DeleteObjects()

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

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

◆ FindObjectInFolder()

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

References fxDirMutex, GO4TRACE, and TGo4LockGuard.

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

◆ FindObjectPathName()

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

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

Definition at line 1975 of file TGo4AnalysisObjectManager.cxx.

References FindObjectPathName(), and fxGo4Dir.

Referenced by FindObjectPathName().

◆ FindSubFolder()

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

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

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

◆ GetAnalysisCondition()

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

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

◆ GetANALYSISFOLDER()

const char * TGo4AnalysisObjectManager::GetANALYSISFOLDER ( )
static

Definition at line 87 of file TGo4AnalysisObjectManager.cxx.

References fgcANALYSISFOLDER.

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

◆ GetAsTObject()

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

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

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

◆ GetCanvas()

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

Retrieves a TCanvas by name from the Canvases folder.

Returns 0 if no such object.

Definition at line 1251 of file TGo4AnalysisObjectManager.cxx.

References FindObjectInFolder(), fxCanvasDir, and GO4TRACE.

◆ GetCANVFOLDER()

const char * TGo4AnalysisObjectManager::GetCANVFOLDER ( )
static

Definition at line 86 of file TGo4AnalysisObjectManager.cxx.

References fgcCANVFOLDER.

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

◆ GetCONDFOLDER()

const char * TGo4AnalysisObjectManager::GetCONDFOLDER ( )
static

Definition at line 82 of file TGo4AnalysisObjectManager.cxx.

References fgcCONDFOLDER.

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

◆ GetDYNFOLDER()

const char * TGo4AnalysisObjectManager::GetDYNFOLDER ( )
static

Definition at line 81 of file TGo4AnalysisObjectManager.cxx.

References fgcDYNFOLDER.

Referenced by TGo4MbsHist::ScanGo4Folder().

◆ GetDynListInterval()

Int_t TGo4AnalysisObjectManager::GetDynListInterval ( ) const
inline

Definition at line 549 of file TGo4AnalysisObjectManager.h.

References fiDynListInterval.

Referenced by ProcessDynamicList().

◆ GetEVENTFOLDER()

const char * TGo4AnalysisObjectManager::GetEVENTFOLDER ( )
static

Definition at line 88 of file TGo4AnalysisObjectManager.cxx.

References fgcEVENTFOLDER.

Referenced by TGo4Sniffer::ScanRoot().

◆ GetEventStructure()

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

Search reference to event structure in folder.

Definition at line 1021 of file TGo4AnalysisObjectManager.cxx.

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

Referenced by CreateBranchFolder().

◆ GetHISTFOLDER()

const char * TGo4AnalysisObjectManager::GetHISTFOLDER ( )
static

Definition at line 80 of file TGo4AnalysisObjectManager.cxx.

References fgcHISTFOLDER.

Referenced by TGo4Sniffer::ScanRoot().

◆ GetHistogram()

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

Search histogram in histogram list (directory).

Definition at line 696 of file TGo4AnalysisObjectManager.cxx.

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

◆ GetObject()

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

References GetAsTObject().

Referenced by CreateObjectStatus().

◆ GetObjectFolder()

TFolder * TGo4AnalysisObjectManager::GetObjectFolder ( )

Access to top folder of all objects.

Definition at line 941 of file TGo4AnalysisObjectManager.cxx.

References fxGo4Dir.

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

◆ GetPARAFOLDER()

const char * TGo4AnalysisObjectManager::GetPARAFOLDER ( )
static

Definition at line 83 of file TGo4AnalysisObjectManager.cxx.

References fgcPARAFOLDER.

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

◆ GetParameter()

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

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

◆ GetPICTFOLDER()

const char * TGo4AnalysisObjectManager::GetPICTFOLDER ( )
static

Definition at line 85 of file TGo4AnalysisObjectManager.cxx.

References fgcPICTFOLDER.

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

◆ GetPicture()

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

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

◆ GetPROCFOLDER()

const char * TGo4AnalysisObjectManager::GetPROCFOLDER ( )
static

Definition at line 91 of file TGo4AnalysisObjectManager.cxx.

References fgcPROCFOLDER.

◆ GetSRCFOLDER()

const char * TGo4AnalysisObjectManager::GetSRCFOLDER ( )
static

Definition at line 89 of file TGo4AnalysisObjectManager.cxx.

References fgcSRCFOLDER.

◆ GetSTOREFOLDER()

const char * TGo4AnalysisObjectManager::GetSTOREFOLDER ( )
static

Definition at line 90 of file TGo4AnalysisObjectManager.cxx.

References fgcSTOREFOLDER.

◆ GetTMPFOLDER()

const char * TGo4AnalysisObjectManager::GetTMPFOLDER ( )
static

Definition at line 93 of file TGo4AnalysisObjectManager.cxx.

References fgcTMPFOLDER.

◆ GetTOPDYNAMICLIST()

const char * TGo4AnalysisObjectManager::GetTOPDYNAMICLIST ( )
static

Definition at line 78 of file TGo4AnalysisObjectManager.cxx.

References fgcTOPDYNAMICLIST.

◆ GetTOPFOLDER()

const char * TGo4AnalysisObjectManager::GetTOPFOLDER ( )
static

◆ GetTree()

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

Search tree in tree folder.

Definition at line 704 of file TGo4AnalysisObjectManager.cxx.

References FindObjectInFolder(), fxTreeDir, and GO4TRACE.

◆ GetTREEFOLDER()

const char * TGo4AnalysisObjectManager::GetTREEFOLDER ( )
static

Definition at line 84 of file TGo4AnalysisObjectManager.cxx.

References fgcTREEFOLDER.

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

◆ GetUSRFOLDER()

const char * TGo4AnalysisObjectManager::GetUSRFOLDER ( )
static

Definition at line 92 of file TGo4AnalysisObjectManager.cxx.

References fgcUSRFOLDER.

Referenced by TGo4Sniffer::ScanRoot().

◆ IsMatching()

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

Finds out if string is matching the expression.

Definition at line 1927 of file TGo4AnalysisObjectManager.cxx.

Referenced by CreateObjectList(), and PrintFolder().

◆ IsSortedOrder()

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().

◆ LoadFolder() [1/2]

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

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

◆ LoadFolder() [2/2]

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

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

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

◆ LoadObjects()

Bool_t TGo4AnalysisObjectManager::LoadObjects ( TFile * statusfile)

Load objects from file.

File should be opened and closed by the caller.

Definition at line 1265 of file TGo4AnalysisObjectManager.cxx.

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

◆ MakePolyCond()

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

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

◆ MakeTH1()

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

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

◆ MakeTH2()

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

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

◆ MakeWindowCond() [1/2]

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

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

◆ MakeWindowCond() [2/2]

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

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

◆ NextMatchingObject()

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

References CreateObjectList(), fxMatchIterator, and fxMatchList.

◆ PrintConditions()

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

References fxConditionDir, GO4TRACE, and PrintFolder().

◆ PrintDynamicList()

void TGo4AnalysisObjectManager::PrintDynamicList ( )

Print entries of current dynamic list.

Definition at line 1301 of file TGo4AnalysisObjectManager.cxx.

References fxDynListDir, and TGo4DynamicList::PrintEntries().

◆ PrintFolder()

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

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

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

◆ PrintHistograms()

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

References fxHistogramDir, GO4TRACE, and PrintFolder().

◆ PrintParameters()

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

Print all parameters to the terminal.

Expression may filter only objects with names matching.

Definition at line 1866 of file TGo4AnalysisObjectManager.cxx.

References fxParameterDir, GO4TRACE, and PrintFolder().

◆ ProcessDynamicList()

void TGo4AnalysisObjectManager::ProcessDynamicList ( )

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

Definition at line 1291 of file TGo4AnalysisObjectManager.cxx.

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

◆ ProtectFolder()

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

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

Referenced by ProtectFolder(), and ProtectObjects().

◆ ProtectObject()

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

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

Referenced by ProtectFolder(), and ProtectObjects().

◆ ProtectObjects()

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

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

◆ PutToFolder()

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

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

Referenced by LoadFolder(), and LoadFolder().

◆ RecursiveRemove()

void TGo4AnalysisObjectManager::RecursiveRemove ( TObject * obj)
override

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

Definition at line 198 of file TGo4AnalysisObjectManager.cxx.

References fxCanvasDir.

◆ RemoveAnalysisCondition()

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

References fxConditionDir, GO4TRACE, and RemoveObjectFromFolder().

◆ RemoveCanvas()

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

References fxCanvasDir, GO4TRACE, and RemoveObjectFromFolder().

◆ RemoveDynamicEntry()

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

References fxDynListDir, and RemoveObjectFromFolder().

◆ RemoveEventProcessor()

Bool_t TGo4AnalysisObjectManager::RemoveEventProcessor ( TGo4EventProcessor * pro)

Remove reference to event processor from go4 folder structure.

Definition at line 989 of file TGo4AnalysisObjectManager.cxx.

References fxDirMutex, fxProcessorDir, GO4TRACE, and TGo4LockGuard.

◆ RemoveEventSource()

Bool_t TGo4AnalysisObjectManager::RemoveEventSource ( TGo4EventSource * source)

Remove reference to event source from go4 folder structure.

Definition at line 972 of file TGo4AnalysisObjectManager.cxx.

References fxDirMutex, fxSourceDir, GO4TRACE, and TGo4LockGuard.

◆ RemoveEventStore()

Bool_t TGo4AnalysisObjectManager::RemoveEventStore ( TGo4EventStore * store)

Remove reference to event store from go4 folder structure.

Definition at line 952 of file TGo4AnalysisObjectManager.cxx.

References fxDirMutex, fxStoreDir, GO4TRACE, and TGo4LockGuard.

◆ RemoveEventStructure()

Bool_t TGo4AnalysisObjectManager::RemoveEventStructure ( TGo4EventElement * ev)

Remove reference to event structure from go4 folder structure.

Definition at line 1007 of file TGo4AnalysisObjectManager.cxx.

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

◆ RemoveFromDir()

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

References RemoveFromDir().

Referenced by RemoveFromDir(), and SaveObjects().

◆ RemoveHistogram()

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

References fxHistogramDir, GO4TRACE, and RemoveObjectFromFolder().

◆ RemoveObject()

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

References fxUserDir, and RemoveObjectFromFolder().

◆ RemoveObjectFromFolder()

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 1489 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().

◆ RemoveParameter()

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

References fxParameterDir, GO4TRACE, and RemoveObjectFromFolder().

◆ RemovePicture()

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

References fxPictureDir, GO4TRACE, and RemoveObjectFromFolder().

◆ RemoveTree()

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

References fxDirMutex, fxTreeDir, GO4TRACE, and TGo4LockGuard.

◆ ResetBackStores()

Bool_t TGo4AnalysisObjectManager::ResetBackStores ( Bool_t clearflag = kFALSE)

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

Definition at line 1062 of file TGo4AnalysisObjectManager.cxx.

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

Referenced by ProcessDynamicList().

◆ ResetCurrentDynList()

void TGo4AnalysisObjectManager::ResetCurrentDynList ( )

Reset the current dynamic list.

Definition at line 1286 of file TGo4AnalysisObjectManager.cxx.

References fxDynListDir, and TGo4DynamicList::ResetEntries().

Referenced by CloseAnalysis(), and LoadObjects().

◆ SaveFolder()

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

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

Referenced by SaveFolder(), and SaveObjects().

◆ SaveObjects()

void TGo4AnalysisObjectManager::SaveObjects ( TFile * file)

Save folder structure to given file.

Definition at line 1082 of file TGo4AnalysisObjectManager.cxx.

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

◆ SetAnalysisCondition()

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

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

Referenced by PutToFolder().

◆ SetDynListInterval()

void TGo4AnalysisObjectManager::SetDynListInterval ( Int_t val)
inline

Definition at line 547 of file TGo4AnalysisObjectManager.h.

References fiDynListInterval.

◆ SetParameter()

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

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

Referenced by PutToFolder().

◆ SetParameterStatus()

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

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

◆ SetPicture()

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

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

Referenced by PutToFolder().

◆ SetSortedOrder()

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()

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

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

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

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 824 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), CreatedInMake(), and TestObject().

◆ fbSortedOrder

Bool_t TGo4AnalysisObjectManager::fbSortedOrder {kFALSE}
private

Is sub-folder created is sorted order.

Definition at line 837 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), 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 832 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), 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(), and GetANALYSISFOLDER().

◆ fgcCANVFOLDER

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

TCanvas folder name.

Definition at line 674 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), and GetCANVFOLDER().

◆ fgcCONDFOLDER

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

Analysis conditions folder name.

Definition at line 662 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), and GetCONDFOLDER().

◆ fgcDYNFOLDER

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

Dynamic lists folder name.

Definition at line 659 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), and GetDYNFOLDER().

◆ fgcEVENTFOLDER

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

Event references folder name.

Definition at line 680 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), and GetEVENTFOLDER().

◆ fgcHISTFOLDER

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

Histograms folder name.

Definition at line 656 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), and GetHISTFOLDER().

◆ fgcPARAFOLDER

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

Analysis user parameters folder name.

Definition at line 665 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), and GetPARAFOLDER().

◆ fgcPICTFOLDER

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

Picture objects folder name.

Definition at line 671 of file TGo4AnalysisObjectManager.h.

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

◆ fgcPROCFOLDER

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

Event processor reference folder name.

Definition at line 689 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), and GetPROCFOLDER().

◆ fgcSRCFOLDER

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

Event source reference folder name.

Definition at line 683 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), and GetSRCFOLDER().

◆ fgcSTOREFOLDER

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

Event store reference folder name.

Definition at line 686 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), and GetSTOREFOLDER().

◆ fgcTMPFOLDER

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

Temporary dummy folder name.

Definition at line 695 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), and GetTMPFOLDER().

◆ 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().

◆ fgcTOPFOLDER

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

Top level folder name.

Definition at line 653 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), CreateObjectList(), GetAsTObject(), GetTOPFOLDER(), and LoadObjects().

◆ fgcTREEFOLDER

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

Tree reference folder name.

Definition at line 668 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), and GetTREEFOLDER().

◆ fgcUSRFOLDER

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

User objects folder name.

Definition at line 692 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), and GetUSRFOLDER().

◆ 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 813 of file TGo4AnalysisObjectManager.h.

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

◆ fiDynListInterval

Int_t TGo4AnalysisObjectManager::fiDynListInterval {0}
private

Interval for dynamic list processing.

Definition at line 818 of file TGo4AnalysisObjectManager.h.

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

◆ fxAnalysisDir

TFolder* TGo4AnalysisObjectManager::fxAnalysisDir {nullptr}
private

Top Directory for all references to event classes.

Definition at line 788 of file TGo4AnalysisObjectManager.h.

Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), and SaveObjects().

◆ fxCanvasDir

TFolder* TGo4AnalysisObjectManager::fxCanvasDir {nullptr}
private

◆ fxConditionDir

TFolder* TGo4AnalysisObjectManager::fxConditionDir {nullptr}
private

◆ 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 743 of file TGo4AnalysisObjectManager.h.

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

◆ fxEventDir

TFolder* TGo4AnalysisObjectManager::fxEventDir {nullptr}
private

◆ fxGo4Dir

◆ fxHistogramDir

TFolder* TGo4AnalysisObjectManager::fxHistogramDir {nullptr}
private

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

Definition at line 726 of file TGo4AnalysisObjectManager.h.

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

◆ fxMatchIterator

TIterator* TGo4AnalysisObjectManager::fxMatchIterator {nullptr}
private

Iterator for list of matching objects.

Definition at line 806 of file TGo4AnalysisObjectManager.h.

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

◆ fxMatchList

TList* TGo4AnalysisObjectManager::fxMatchList {nullptr}
private

List of matching objects for name expression.

Definition at line 803 of file TGo4AnalysisObjectManager.h.

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

◆ fxParameterDir

TFolder* TGo4AnalysisObjectManager::fxParameterDir {nullptr}
private

◆ fxPictureDir

TFolder* TGo4AnalysisObjectManager::fxPictureDir {nullptr}
private

◆ fxProcessorDir

TFolder* TGo4AnalysisObjectManager::fxProcessorDir {nullptr}
private

Directory containing references to event processors.

Definition at line 778 of file TGo4AnalysisObjectManager.h.

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

◆ fxSourceDir

TFolder* TGo4AnalysisObjectManager::fxSourceDir {nullptr}
private

Directory containing references to event sources.

Definition at line 773 of file TGo4AnalysisObjectManager.h.

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

◆ fxStoreDir

TFolder* TGo4AnalysisObjectManager::fxStoreDir {nullptr}
private

Directory containing references to event stores.

Definition at line 768 of file TGo4AnalysisObjectManager.h.

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

◆ fxTempFolder

TFolder* TGo4AnalysisObjectManager::fxTempFolder {nullptr}
private

◆ fxTreeDir

TFolder* TGo4AnalysisObjectManager::fxTreeDir {nullptr}
private

◆ fxUserDir

TFolder* TGo4AnalysisObjectManager::fxUserDir {nullptr}
private

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