14 #ifndef TGO4ANALYSISOBJECTMANAGER_H
15 #define TGO4ANALYSISOBJECTMANAGER_H
81 Bool_t
AddObject(TNamed * anything,
const char* subfolder=0, Bool_t replace=kTRUE);
90 TNamed *
GetObject(
const char * name,
const char* folder=0);
99 TObject*
GetAsTObject(
const char * name,
const char* folder=0);
107 Bool_t
RemoveObject(
const char * name, Bool_t del=kTRUE);
141 Bool_t istopbranch=kFALSE);
152 Int_t startindex, Int_t* skip,
153 const char* name,
const char* title);
172 Bool_t
AddHistogram(TH1 * his,
const char* subfolder=0, Bool_t replace=kTRUE);
204 TH1*
MakeTH1(
const char* histotype,
205 const char* foldername,
206 const char* histoname,
210 const char* title = 0,
211 const char* xtitle = 0,
212 const char* ytitle = 0);
234 TH2*
MakeTH2(
const char* histotype,
235 const char* foldername,
236 const char* histoname,
243 const char* title = 0,
244 const char* xtitle = 0,
245 const char* ytitle = 0);
253 Bool_t
AddTree(TTree* tree,
const char* subfolder=0);
258 TTree *
GetTree(
const char * name);
266 Bool_t
RemoveTree(TTree * tree,
const char* stepname=0);
283 Bool_t counter=kTRUE, TFolder* parent=0);
312 const char* conditionname,
315 const char* bindhistogram = 0,
316 Bool_t invert = kFALSE);
335 const char* conditionname,
340 const char* bindhistogram = 0,
341 Bool_t invert = kFALSE);
367 const char* conditionname,
369 Float_t (*points)[2],
370 const char* bindhistogram = 0,
371 Bool_t invert = kFALSE);
442 Bool_t
AddCanvas(TCanvas * can,
const char* subfolder=0);
577 const char* hevx,
const char* hmemx,
578 const char* hevy=0,
const char* hmemy=0,
579 const char* hevz=0,
const char* hmemz=0,
580 const char* condition=0,
581 const char* cevx=0,
const char* cmemx=0,
582 const char* cevy=0,
const char* cmemy=0);
593 Bool_t
AddTreeHistogram(
const char* hisname,
const char* treename,
const char* varexp,
const char* cutexp);
648 TFolder*
FindSubFolder(TFolder* parent,
const char* subfolder, Bool_t create=kTRUE);
838 const char* subfolder=0,
839 Bool_t replace=kTRUE,
840 Bool_t uniquename=kFALSE,
841 Bool_t resetbits=kTRUE);
856 Bool_t
LoadFolder(TFolder* source, TFolder* destination, Bool_t replace=kFALSE);
863 Bool_t
LoadFolder(TDirectory* source, TFolder* destination, Bool_t replace=kFALSE);
870 Bool_t
PutToFolder(TObject* ob, TFolder* destination, Bool_t replace=kFALSE);
899 Int_t
PrintFolder(TFolder* fold, Option_t* opt,
const char* expression=0);
963 Bool_t
IsMatching(
const char*
string,
const char* expression);
977 const char* &pathname,
978 const char* objectname,
983 #endif //TGO4ANALYSISOBJECTMANAGER_H
Bool_t SetParameter(const char *name, TGo4Parameter *par, TFolder *parent=0)
TGo4PolyCond * MakePolyCond(const char *foldername, const char *conditionname, Int_t size, Float_t(*points)[2], const char *bindhistogram=0, Bool_t invert=kFALSE)
Bool_t CreatedInMake() const
Bool_t DeleteObject(TObject *ob)
Bool_t SetAnalysisCondition(const char *name, TGo4Condition *con, Bool_t counter=kTRUE, TFolder *parent=0)
TFolder * CreateCompositeBranchFolder(TObjArray *branchlist, TGo4CompositeEvent *compevent, Int_t startindex, Int_t *skip, const char *name, const char *title)
static const char * fgcSTOREFOLDER
Bool_t ProtectObject(TObject *ob, const Option_t *flags)
Bool_t RemoveObjectFromFolder(const char *fullname, TFolder *fold, Bool_t isDel)
Bool_t RemoveEventProcessor(TGo4EventProcessor *pro)
Bool_t RemoveEventStructure(TGo4EventElement *ev)
Bool_t AddObject(TNamed *anything, const char *subfolder=0, Bool_t replace=kTRUE)
void ResetCurrentDynList()
Bool_t AddDynamicEntry(TGo4DynamicEntry *entry)
TFolder * CreateBranchFolder(TObjArray *branchlist, const char *name, const char *title, Bool_t istopbranch=kFALSE)
Bool_t IsMatching(const char *string, const char *expression)
Bool_t SaveFolder(TFolder *source)
Bool_t RemovePicture(const char *name)
void RemoveFromDir(TFolder *fold, TDirectory *dir)
Bool_t ClearObjects(const char *name)
static const char * fgcSRCFOLDER
~TGo4AnalysisObjectManager()
Bool_t DeleteObjects(const char *name)
Bool_t RemoveObject(const char *name, Bool_t del=kTRUE)
TGo4Picture * GetPicture(const char *name)
Bool_t AddCanvas(TCanvas *can, const char *subfolder=0)
Bool_t ClearFolder(TFolder *fold)
Bool_t AddPicture(TGo4Picture *pic, const char *subfolder=0)
Bool_t RemoveDynamicEntry(const char *entryname)
TH1 * GetHistogram(const char *name)
static const char * fgcPARAFOLDER
Bool_t FindObjectPathName(TObject *obj, TString &pathname, TFolder *fold=0)
TList * CreateObjectList(const char *expr, const char *folder=0)
void PrintConditions(const char *expression=0)
static const char * fgcCONDFOLDER
Bool_t ProtectFolder(TFolder *fold, const Option_t *flags)
TGo4EventElement * GetEventStructure(const char *name)
Bool_t AddHistogram(TH1 *his, const char *subfolder=0, Bool_t replace=kTRUE)
Bool_t RemoveEventStore(TGo4EventStore *store)
static const char * fgcTREEFOLDER
Bool_t AddEventProcessor(TGo4EventProcessor *pro)
Bool_t AddEventSource(TGo4EventSource *source)
TObject * FindObjectInFolder(TFolder *folder, const char *fullname)
Bool_t AddAnalysisCondition(TGo4Condition *con, const char *subfolder=0)
TObject * TestObject(TFolder *folder, const char *&pathname, const char *objectname, const TClass *cl)
static const char * fgcPROCFOLDER
Bool_t PutToFolder(TObject *ob, TFolder *destination, Bool_t replace=kFALSE)
void PrintHistograms(const char *expression=0)
TH1 * MakeTH1(const char *histotype, const char *foldername, const char *histoname, Int_t nbinsx, Axis_t xlow, Axis_t xup, const char *title=0, const char *xtitle=0, const char *ytitle=0)
TFolder * CreateNamesFolder(TFolder *objectfolder)
static const char * fgcUSRFOLDER
Bool_t RemoveEventSource(TGo4EventSource *source)
TObject * GetAsTObject(const char *name, const char *folder=0)
Bool_t ClearObject(TObject *ob)
void AppendToDir(TObject *ob, TDirectory *dir)
Bool_t RemoveCanvas(const char *name)
Bool_t AddEventStore(TGo4EventStore *store)
Bool_t AddParameter(TGo4Parameter *par, const char *subfolder=0)
TFolder * FindSubFolder(TFolder *parent, const char *subfolder, Bool_t create=kTRUE)
Bool_t RemoveTree(TTree *tree, const char *stepname=0)
Bool_t ResetBackStores(Bool_t clearflag=kFALSE)
Bool_t AddTree(TTree *tree, const char *subfolder=0)
static const char * fgcTOPDYNAMICLIST
TGo4Parameter * GetParameter(const char *name, const char *parameter_class=0)
TGo4AnalysisObjectNames * CreateNamesList()
TObject * NextMatchingObject(const char *expr, const char *folder, Bool_t reset)
TGo4Condition * GetAnalysisCondition(const char *name, const char *cond_cl=0)
Int_t GetDynListInterval() const
static const char * fgcEVENTFOLDER
static const char * fgcHISTFOLDER
Bool_t RemoveAnalysisCondition(const char *name)
void CleanupDynamicLists(TObject *oldobject)
Int_t PrintFolder(TFolder *fold, Option_t *opt, const char *expression=0)
TFolder * GetObjectFolder()
Bool_t RemoveHistogram(const char *name, Bool_t del=kTRUE)
void PrintParameters(const char *expression=0)
TFolder * CreateMembersFolder(TObject *obj, const char *membrfoldername, TClass *cl)
TGo4ObjectStatus * CreateObjectStatus(const char *name, const char *folder=0)
void ProcessDynamicList()
static const char * fgcTMPFOLDER
Bool_t ProtectObjects(const char *name, const Option_t *flags)
Bool_t AddTreeHistogram(const char *hisname, const char *treename, const char *varexp, const char *cutexp)
TGo4WinCond * MakeWindowCond(const char *foldername, const char *conditionname, Double_t xlow, Double_t xup, const char *bindhistogram=0, Bool_t invert=kFALSE)
Bool_t SetPicture(const char *name, TGo4Picture *pic, TFolder *parent=0)
TNamed * GetObject(const char *name, const char *folder=0)
Bool_t RemoveParameter(const char *name)
Bool_t SetParameterStatus(const char *name, TGo4ParameterStatus *par, TFolder *parent=0)
Bool_t AddDynamicHistogram(const char *name, const char *histo, const char *hevx, const char *hmemx, const char *hevy=0, const char *hmemy=0, const char *hevz=0, const char *hmemz=0, const char *condition=0, const char *cevx=0, const char *cmemx=0, const char *cevy=0, const char *cmemy=0)
Bool_t DeleteFolder(TFolder *fold)
static const char * fgcANALYSISFOLDER
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=0, const char *xtitle=0, const char *ytitle=0)
Bool_t AddEventStructure(TGo4EventElement *ev)
Bool_t LoadObjects(TFile *statusfile)
void SaveObjects(TFile *file)
static const char * fgcCANVFOLDER
void SetDynListInterval(Int_t val)
TTree * GetTree(const char *name)
static const char * fgcDYNFOLDER
TGo4TreeStructure * CreateTreeStructure(TTree *thetree)
Bool_t LoadFolder(TFolder *source, TFolder *destination, Bool_t replace=kFALSE)
Bool_t AddObjectToFolder(TObject *ob, TFolder *fold, const char *subfolder=0, Bool_t replace=kTRUE, Bool_t uniquename=kFALSE, Bool_t resetbits=kTRUE)
TCanvas * GetCanvas(const char *name)
TGo4AnalysisObjectManager()
virtual void RecursiveRemove(TObject *obj)
static const char * fgcTOPFOLDER
Bool_t fbSuppressLoadHistograms
TIterator * fxMatchIterator
static const char * fgcPICTFOLDER