14 How to access JAIDA factories

You may want to initialize JAIDA factories in order to do more complicated studies, like fit. Then, first create all main factories and access a necessary factory:

>>> c1 = HPlot("Canvas")
>>> c1.visible(1)
>>> c1.setAutoRange()
>>> c1.factories()    # create all main factories
>>> af = c1.analF()   # get IAnalysisFactory
>>> tf=c1.treeF()     # get ITreeFactory
>>> ff=c1.fitF()      # get IFitFactory
>>> ff=c1.funcF()     # get IFunctionFactory
>>> hf=c1.histF()     # get IHistogramFactory