IF one needs to initialize JAIDA factories inside the jHepWork script, use this:
>>> 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 IHistogramFactoryJAIDA classes have to be imported before doing these operations.