GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
This object is responsible for the organization of analysis objects. More...
#include <TGo4AnalysisObjectManager.h>
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. | |
TGo4AnalysisObjectNames * | CreateNamesList () |
Creates a list of names (keys) of all objects in analysis directories. | |
TGo4ObjectStatus * | CreateObjectStatus (const char *name, const char *folder=nullptr) |
Find Object of name in the folder structure and create a complete status object of it. | |
TGo4ObjectStatus * | CreateObjectStatus (TObject *ob, Bool_t fullinfo=kTRUE) |
Create status object for object ob. | |
TGo4TreeStructure * | CreateTreeStructure (const char *treename) |
Create a tree structure for a certain tree by name. | |
TGo4TreeStructure * | CreateTreeStructure (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. | |
TGo4Condition * | GetAnalysisCondition (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 |
TGo4EventElement * | GetEventStructure (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. | |
TGo4Parameter * | GetParameter (const char *name, const char *parameter_class=nullptr) |
Retrieves a parameter object by name from the object folder. | |
TGo4Picture * | GetPicture (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. | |
TGo4PolyCond * | 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. | |
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. | |
TGo4WinCond * | 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. | |
TGo4WinCond * | 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. | |
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. | |
This object is responsible for the organization of analysis objects.
Keeps Folder structures and lists. Aggregate of TGo4Analysis.
Definition at line 54 of file TGo4AnalysisObjectManager.h.
TGo4AnalysisObjectManager::TGo4AnalysisObjectManager | ( | ) |
Definition at line 148 of file TGo4AnalysisObjectManager.cxx.
References fbCreatedinMake, fbSortedOrder, fbSuppressLoadHistograms, fiDynListCount, fiDynListInterval, fxAnalysisDir, fxCanvasDir, fxConditionDir, fxDynListDir, fxEventDir, fxGo4Dir, fxHistogramDir, fxMatchIterator, fxMatchList, fxPictureDir, fxProcessorDir, fxSourceDir, fxStoreDir, fxTempFolder, fxTreeDir, and fxUserDir.
TGo4AnalysisObjectManager::TGo4AnalysisObjectManager | ( | const char * | name | ) |
Definition at line 99 of file TGo4AnalysisObjectManager.cxx.
References fbCreatedinMake, fbSortedOrder, fbSuppressLoadHistograms, fgcANALYSISFOLDER, fgcCANVFOLDER, fgcCONDFOLDER, fgcDYNFOLDER, fgcEVENTFOLDER, fgcHISTFOLDER, fgcPARAFOLDER, fgcPICTFOLDER, fgcPROCFOLDER, fgcSRCFOLDER, fgcSTOREFOLDER, fgcTMPFOLDER, fgcTOPFOLDER, fgcTREEFOLDER, fgcUSRFOLDER, fiDynListCount, fiDynListInterval, fxAnalysisDir, fxCanvasDir, fxConditionDir, fxDirMutex, fxDynListDir, fxEventDir, fxGo4Dir, fxHistogramDir, fxMatchIterator, fxMatchList, fxParameterDir, fxPictureDir, fxProcessorDir, fxSourceDir, fxStoreDir, fxTempFolder, fxTreeDir, and fxUserDir.
|
virtual |
Definition at line 164 of file TGo4AnalysisObjectManager.cxx.
References fxCanvasDir, fxConditionDir, fxDirMutex, fxDynListDir, fxEventDir, fxGo4Dir, fxHistogramDir, fxMatchIterator, fxMatchList, fxParameterDir, fxPictureDir, fxProcessorDir, fxSourceDir, fxStoreDir, fxTempFolder, fxTreeDir, and fxUserDir.
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().
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.
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().
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().
Bool_t TGo4AnalysisObjectManager::AddEventProcessor | ( | TGo4EventProcessor * | pro | ) |
Add reference to event processor object to Go4 Folder structure.
Definition at line 983 of file TGo4AnalysisObjectManager.cxx.
References AddObjectToFolder(), fxProcessorDir, and GO4TRACE.
Bool_t TGo4AnalysisObjectManager::AddEventSource | ( | TGo4EventSource * | source | ) |
Add reference to event source object to Go4 Folder structure.
Definition at line 966 of file TGo4AnalysisObjectManager.cxx.
References AddObjectToFolder(), fxSourceDir, and GO4TRACE.
Bool_t TGo4AnalysisObjectManager::AddEventStore | ( | TGo4EventStore * | store | ) |
Add reference to event store object to Go4 Folder structure.
Definition at line 946 of file TGo4AnalysisObjectManager.cxx.
References AddObjectToFolder(), fxStoreDir, and GO4TRACE.
Bool_t TGo4AnalysisObjectManager::AddEventStructure | ( | TGo4EventElement * | ev | ) |
Add reference to event structure object to Go4 Folder structure.
Definition at line 1001 of file TGo4AnalysisObjectManager.cxx.
References AddObjectToFolder(), fxEventDir, and GO4TRACE.
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.
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.
|
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().
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.
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.
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.
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().
|
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().
|
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().
|
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().
|
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().
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.
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().
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().
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().
|
inline |
Definition at line 638 of file TGo4AnalysisObjectManager.h.
References fbCreatedinMake.
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().
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().
TGo4AnalysisObjectNames * TGo4AnalysisObjectManager::CreateNamesList | ( | ) |
Creates a list of names (keys) of all objects in analysis directories.
Definition at line 891 of file TGo4AnalysisObjectManager.cxx.
References TGo4PolyCond::CleanupSpecials(), CreateNamesFolder(), fxDirMutex, fxGo4Dir, TGo4AnalysisObjectNames::fxTopFolder, TGo4Analysis::GetName(), GO4TRACE, TGo4Analysis::Instance(), and TGo4LockGuard.
|
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().
|
private |
For recursive search for objects in folder fold that match expression.
Definition at line 1897 of file TGo4AnalysisObjectManager.cxx.
References CreateObjectList(), and IsMatching().
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().
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.
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.
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().
|
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().
|
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().
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.
|
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().
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().
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().
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.
|
static |
Definition at line 87 of file TGo4AnalysisObjectManager.cxx.
References fgcANALYSISFOLDER.
Referenced by TGo4MbsHist::ScanGo4Folder(), and TGo4Sniffer::ScanRoot().
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().
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.
|
static |
Definition at line 86 of file TGo4AnalysisObjectManager.cxx.
References fgcCANVFOLDER.
Referenced by TGo4MbsHist::ScanGo4Folder(), and TGo4Sniffer::ScanRoot().
|
static |
Definition at line 82 of file TGo4AnalysisObjectManager.cxx.
References fgcCONDFOLDER.
Referenced by TGo4MbsHist::ScanGo4Folder(), and TGo4Sniffer::ScanRoot().
|
static |
Definition at line 81 of file TGo4AnalysisObjectManager.cxx.
References fgcDYNFOLDER.
Referenced by TGo4MbsHist::ScanGo4Folder().
|
inline |
Definition at line 549 of file TGo4AnalysisObjectManager.h.
References fiDynListInterval.
Referenced by ProcessDynamicList().
|
static |
Definition at line 88 of file TGo4AnalysisObjectManager.cxx.
References fgcEVENTFOLDER.
Referenced by TGo4Sniffer::ScanRoot().
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().
|
static |
Definition at line 80 of file TGo4AnalysisObjectManager.cxx.
References fgcHISTFOLDER.
Referenced by TGo4Sniffer::ScanRoot().
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.
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().
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().
|
static |
Definition at line 83 of file TGo4AnalysisObjectManager.cxx.
References fgcPARAFOLDER.
Referenced by TGo4MbsHist::ScanGo4Folder(), and TGo4Sniffer::ScanRoot().
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.
|
static |
Definition at line 85 of file TGo4AnalysisObjectManager.cxx.
References fgcPICTFOLDER.
Referenced by TGo4MbsHist::ScanGo4Folder(), and TGo4Sniffer::ScanRoot().
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.
|
static |
Definition at line 91 of file TGo4AnalysisObjectManager.cxx.
References fgcPROCFOLDER.
|
static |
Definition at line 89 of file TGo4AnalysisObjectManager.cxx.
References fgcSRCFOLDER.
|
static |
Definition at line 90 of file TGo4AnalysisObjectManager.cxx.
References fgcSTOREFOLDER.
|
static |
Definition at line 93 of file TGo4AnalysisObjectManager.cxx.
References fgcTMPFOLDER.
|
static |
Definition at line 78 of file TGo4AnalysisObjectManager.cxx.
References fgcTOPDYNAMICLIST.
|
static |
Definition at line 79 of file TGo4AnalysisObjectManager.cxx.
References fgcTOPFOLDER.
Referenced by TGo4AnalysisObjectCommand::TGo4AnalysisObjectCommand(), and TGo4AnalysisObjectCommand::TGo4AnalysisObjectCommand().
TTree * TGo4AnalysisObjectManager::GetTree | ( | const char * | name | ) |
Search tree in tree folder.
Definition at line 704 of file TGo4AnalysisObjectManager.cxx.
References FindObjectInFolder(), fxTreeDir, and GO4TRACE.
|
static |
Definition at line 84 of file TGo4AnalysisObjectManager.cxx.
References fgcTREEFOLDER.
Referenced by TGo4MbsHist::ScanGo4Folder(), and TGo4Sniffer::ScanRoot().
|
static |
Definition at line 92 of file TGo4AnalysisObjectManager.cxx.
References fgcUSRFOLDER.
Referenced by TGo4Sniffer::ScanRoot().
|
private |
Finds out if string is matching the expression.
Definition at line 1927 of file TGo4AnalysisObjectManager.cxx.
Referenced by CreateObjectList(), and PrintFolder().
|
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().
|
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.
|
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().
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().
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
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().
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().
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().
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().
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.
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().
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.
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().
void TGo4AnalysisObjectManager::PrintDynamicList | ( | ) |
Print entries of current dynamic list.
Definition at line 1301 of file TGo4AnalysisObjectManager.cxx.
References fxDynListDir, and TGo4DynamicList::PrintEntries().
|
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().
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().
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().
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().
|
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().
|
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().
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.
|
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().
|
override |
Method used in case when object is cleaned up by the ROOT.
Definition at line 198 of file TGo4AnalysisObjectManager.cxx.
References fxCanvasDir.
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().
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().
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().
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.
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.
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.
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.
|
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().
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().
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().
|
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().
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().
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().
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.
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().
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().
|
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().
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().
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().
|
inline |
Definition at line 547 of file TGo4AnalysisObjectManager.h.
References fiDynListInterval.
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().
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().
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().
|
inline |
Configure sorting order for newly created sub-folders.
Definition at line 641 of file TGo4AnalysisObjectManager.h.
References fbSortedOrder.
|
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().
|
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().
|
private |
Is sub-folder created is sorted order.
Definition at line 837 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), IsSortedOrder(), and SetSortedOrder().
|
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().
|
static |
top analysis objects reference folder name
Definition at line 677 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), and GetANALYSISFOLDER().
|
static |
TCanvas folder name.
Definition at line 674 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), and GetCANVFOLDER().
|
static |
Analysis conditions folder name.
Definition at line 662 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), and GetCONDFOLDER().
|
static |
Dynamic lists folder name.
Definition at line 659 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), and GetDYNFOLDER().
|
static |
Event references folder name.
Definition at line 680 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), and GetEVENTFOLDER().
|
static |
Histograms folder name.
Definition at line 656 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), and GetHISTFOLDER().
|
static |
Analysis user parameters folder name.
Definition at line 665 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), and GetPARAFOLDER().
|
static |
Picture objects folder name.
Definition at line 671 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), GetPICTFOLDER(), and LoadFolder().
|
static |
Event processor reference folder name.
Definition at line 689 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), and GetPROCFOLDER().
|
static |
Event source reference folder name.
Definition at line 683 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), and GetSRCFOLDER().
|
static |
Event store reference folder name.
Definition at line 686 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), and GetSTOREFOLDER().
|
static |
Temporary dummy folder name.
Definition at line 695 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), and GetTMPFOLDER().
|
static |
Default name of the default (toplevel) dynamic list.
Definition at line 650 of file TGo4AnalysisObjectManager.h.
Referenced by GetTOPDYNAMICLIST().
|
static |
Top level folder name.
Definition at line 653 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), CreateObjectList(), GetAsTObject(), GetTOPFOLDER(), and LoadObjects().
|
static |
Tree reference folder name.
Definition at line 668 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), and GetTREEFOLDER().
|
static |
User objects folder name.
Definition at line 692 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), and GetUSRFOLDER().
|
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().
|
private |
Interval for dynamic list processing.
Definition at line 818 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), GetDynListInterval(), ProcessDynamicList(), and SetDynListInterval().
|
private |
Top Directory for all references to event classes.
Definition at line 788 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), and SaveObjects().
|
private |
Directory containing TCanvases.
Definition at line 763 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), AddCanvas(), GetCanvas(), RecursiveRemove(), and RemoveCanvas().
|
private |
Directory containing all condition objects to be used by dynamic list and by user analysis.
Definition at line 732 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), AddAnalysisCondition(), GetAnalysisCondition(), MakePolyCond(), MakeWindowCond(), MakeWindowCond(), PrintConditions(), RemoveAnalysisCondition(), and SetAnalysisCondition().
|
private |
Mutex protecting the object directories.
Definition at line 798 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), AddObjectToFolder(), CleanupDynamicLists(), ClearFolder(), ClearObjects(), CreateNamesList(), CreateObjectList(), DeleteFolder(), DeleteObjects(), FindObjectInFolder(), FindSubFolder(), LoadFolder(), LoadFolder(), PrintFolder(), ProtectFolder(), ProtectObjects(), RemoveEventProcessor(), RemoveEventSource(), RemoveEventStore(), RemoveEventStructure(), RemoveObjectFromFolder(), RemoveTree(), SaveFolder(), and SetAnalysisCondition().
|
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().
|
private |
Directory containing references to event structures.
Definition at line 783 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), AddEventStructure(), GetEventStructure(), and RemoveEventStructure().
|
private |
Top level Go4 Directory (root folder)
Definition at line 719 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), ClearObjects(), CreateNamesList(), CreateObjectList(), DeleteObject(), DeleteObjects(), FindObjectPathName(), GetAsTObject(), GetObjectFolder(), LoadObjects(), ProtectObjects(), and SaveObjects().
|
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().
|
private |
Iterator for list of matching objects.
Definition at line 806 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), and NextMatchingObject().
|
private |
List of matching objects for name expression.
Definition at line 803 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), and NextMatchingObject().
|
private |
Directory containing user parameter objects.
Definition at line 737 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), AddParameter(), GetParameter(), PrintParameters(), RemoveParameter(), SetParameter(), and SetParameterStatus().
|
private |
Directory containing the pictures.
Definition at line 758 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), AddPicture(), GetPicture(), RemovePicture(), and SetPicture().
|
private |
Directory containing references to event processors.
Definition at line 778 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), AddEventProcessor(), and RemoveEventProcessor().
|
private |
Directory containing references to event sources.
Definition at line 773 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), AddEventSource(), and RemoveEventSource().
|
private |
Directory containing references to event stores.
Definition at line 768 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), AddEventStore(), RemoveEventStore(), and ResetBackStores().
|
private |
Temporary folder for nameslist objects.
Definition at line 793 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), CreateBranchFolder(), CreateCompositeBranchFolder(), CreateMembersFolder(), and CreateNamesFolder().
|
private |
Directory containing references to trees.
Definition at line 753 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), AddTree(), CreateTreeStructure(), GetTree(), RemoveTree(), and SaveObjects().
|
private |
Directory containing all user objects.
Definition at line 748 of file TGo4AnalysisObjectManager.h.
Referenced by TGo4AnalysisObjectManager(), TGo4AnalysisObjectManager(), ~TGo4AnalysisObjectManager(), AddObject(), GetAnalysisCondition(), GetHistogram(), GetParameter(), GetPicture(), RemoveObject(), and SetAnalysisCondition().