hep.aida
Class IAnalysisFactory
- java.lang.Object
-
- hep.aida.IAnalysisFactory
-
- Direct Known Subclasses:
- BatchAnalysisFactory
public abstract class IAnalysisFactory extends java.lang.ObjectThe "master" factory from which other factories are obtained. Typically accessed by:IAnalysisFactory af =(IAnalysisFactory) ServiceManager.create("hep.aida.IAnalysisFactory");In C++ IAnalysisFactory* af = AIDA_createAnalysisFactory();
-
-
Constructor Summary
Constructors Constructor and Description IAnalysisFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description static IAnalysisFactorycreate()static IAnalysisFactorycreate(java.lang.String options)Create an instance of an IAnalysisFactory.IDataPointSetFactorycreateDataPointSetFactory(ITree tree)Create an IDataPointSetFactory.abstract IDataPointSetFactorycreateDataPointSetFactory(ITree tree, java.lang.String options)Create an IDataPointSetFactory.IFitFactorycreateFitFactory()Create an IFitFactory.abstract IFitFactorycreateFitFactory(java.lang.String options)Create an IFitFactory.IFunctionFactorycreateFunctionFactory(ITree tree)Create an IFunctionFactory.abstract IFunctionFactorycreateFunctionFactory(ITree tree, java.lang.String options)Create an IFunctionFactory.IGenericFactorycreateGenericFactory(java.lang.String factoryType)Create an IGenericFactory.abstract IGenericFactorycreateGenericFactory(java.lang.String factoryType, java.lang.String options)Create an IGenericFactory.IHistogramFactorycreateHistogramFactory(ITree tree)Create an IHistogramFactory.abstract IHistogramFactorycreateHistogramFactory(ITree tree, java.lang.String options)Create an IHistogramFactory.IGenericFactorycreateManagedObjectGenericFactory(java.lang.String factoryType, ITree tree)Create an IGenericFactory that can create Managed Objects.abstract IGenericFactorycreateManagedObjectGenericFactory(java.lang.String factoryType, ITree tree, java.lang.String options)Create an IGenericFactory that can create Managed Objects.IPlotterFactorycreatePlotterFactory()Create an IPlotterFactory.abstract IPlotterFactorycreatePlotterFactory(java.lang.String options)Create an IPlotterFactory.ITreeFactorycreateTreeFactory()Create an ITreeFactory.abstract ITreeFactorycreateTreeFactory(java.lang.String options)Create an ITreeFactory.ITupleFactorycreateTupleFactory(ITree tree)Create an ITupleFactory.abstract ITupleFactorycreateTupleFactory(ITree tree, java.lang.String options)Create an ITupleFactory.
-
-
-
Method Detail
-
createTreeFactory
public ITreeFactory createTreeFactory()
Create an ITreeFactory.- Returns:
- The ITreeFactory.
-
createTreeFactory
public abstract ITreeFactory createTreeFactory(java.lang.String options)
Create an ITreeFactory.- Returns:
- The ITreeFactory.
-
createHistogramFactory
public IHistogramFactory createHistogramFactory(ITree tree) throws java.lang.IllegalArgumentException
Create an IHistogramFactory.- Parameters:
tree- The ITree which created histograms will be associated to.- Returns:
- The IHistogramFactory.
- Throws:
java.lang.IllegalArgumentException- if tree is null.
-
createHistogramFactory
public abstract IHistogramFactory createHistogramFactory(ITree tree, java.lang.String options) throws java.lang.IllegalArgumentException
Create an IHistogramFactory.- Parameters:
tree- The ITree which created histograms will be associated to.- Returns:
- The IHistogramFactory.
- Throws:
java.lang.IllegalArgumentException- if tree is null.
-
createDataPointSetFactory
public IDataPointSetFactory createDataPointSetFactory(ITree tree) throws java.lang.IllegalArgumentException
Create an IDataPointSetFactory.- Parameters:
tree- The ITree which created IDataPointSet will be associated to.- Returns:
- The IDataPointSetFactory.
- Throws:
java.lang.IllegalArgumentException- if tree is null.
-
createDataPointSetFactory
public abstract IDataPointSetFactory createDataPointSetFactory(ITree tree, java.lang.String options) throws java.lang.IllegalArgumentException
Create an IDataPointSetFactory.- Parameters:
tree- The ITree which created IDataPointSet will be associated to.- Returns:
- The IDataPointSetFactory.
- Throws:
java.lang.IllegalArgumentException- if tree is null.
-
createTupleFactory
public ITupleFactory createTupleFactory(ITree tree) throws java.lang.IllegalArgumentException
Create an ITupleFactory.- Parameters:
tree- The ITree which created tuples will be associated to.- Returns:
- The ITupleFactory.
- Throws:
java.lang.IllegalArgumentException- if tree is null.
-
createTupleFactory
public abstract ITupleFactory createTupleFactory(ITree tree, java.lang.String options) throws java.lang.IllegalArgumentException
Create an ITupleFactory.- Parameters:
tree- The ITree which created tuples will be associated to.- Returns:
- The ITupleFactory.
- Throws:
java.lang.IllegalArgumentException- if tree is null.
-
createFunctionFactory
public IFunctionFactory createFunctionFactory(ITree tree) throws java.lang.IllegalArgumentException
Create an IFunctionFactory.- Parameters:
tree- The ITree which created functions will be associated to.- Returns:
- The IFunctionFactory.
- Throws:
java.lang.IllegalArgumentException- if tree is null.
-
createFunctionFactory
public abstract IFunctionFactory createFunctionFactory(ITree tree, java.lang.String options) throws java.lang.IllegalArgumentException
Create an IFunctionFactory.- Parameters:
tree- The ITree which created functions will be associated to.- Returns:
- The IFunctionFactory.
- Throws:
java.lang.IllegalArgumentException- if tree is null.
-
createPlotterFactory
public IPlotterFactory createPlotterFactory()
Create an IPlotterFactory. Due to the fact that the plotter factory may activate a GUI tookit, the process arguments (passed to the main function) could be passed to the plotter factory. Most of the GUI toolkit ask for them (Motif, gtk, Qt, FLTK).
-
createPlotterFactory
public abstract IPlotterFactory createPlotterFactory(java.lang.String options)
Create an IPlotterFactory. Due to the fact that the plotter factory may activate a GUI tookit, the process arguments (passed to the main function) could be passed to the plotter factory. Most of the GUI toolkit ask for them (Motif, gtk, Qt, FLTK).- Parameters:
imp- The AIDA implementation to use. The default uses the current implementation one.
-
createFitFactory
public IFitFactory createFitFactory()
Create an IFitFactory.- Returns:
- The IFitFactory.
-
createFitFactory
public abstract IFitFactory createFitFactory(java.lang.String options)
Create an IFitFactory.- Returns:
- The IFitFactory.
-
createGenericFactory
public IGenericFactory createGenericFactory(java.lang.String factoryType)
Create an IGenericFactory. Generic factories can be used by AIDA implementations to add implementation specific functionality.- Parameters:
factoryType- The type of factory to create- Returns:
- The IGenericFactory.
-
createGenericFactory
public abstract IGenericFactory createGenericFactory(java.lang.String factoryType, java.lang.String options)
Create an IGenericFactory. Generic factories can be used by AIDA implementations to add implementation specific functionality.- Parameters:
factoryType- The type of factory to create- Returns:
- The IGenericFactory.
-
createManagedObjectGenericFactory
public IGenericFactory createManagedObjectGenericFactory(java.lang.String factoryType, ITree tree)
Create an IGenericFactory that can create Managed Objects. Generic factories can be used by AIDA implementations to add implementation specific functionality.- Parameters:
factoryType- The type of factory to createtree- The tree on which the managed objects are added.- Returns:
- The IGenericFactory.
-
createManagedObjectGenericFactory
public abstract IGenericFactory createManagedObjectGenericFactory(java.lang.String factoryType, ITree tree, java.lang.String options)
Create an IGenericFactory that can create Managed Objects. Generic factories can be used by AIDA implementations to add implementation specific functionality.- Parameters:
factoryType- The type of factory to createtree- The tree on which the managed objects are added.- Returns:
- The IGenericFactory.
-
create
public static IAnalysisFactory create()
-
create
public static IAnalysisFactory create(java.lang.String options)
Create an instance of an IAnalysisFactory. This method will attempt to locate and load an IAnalysisFactory at runtime. If one cannot be found an error message will be printed, and a RuntimeException thrown. The method first checks the System property hep.aida.IAnalysisFactory. If this is not found it uses the services API to find an IAnalysisFactory service in a jar file on the CLASSPATH.- Returns:
- The IAnalysisFactory
- Throws:
java.lang.RuntimeException- If a concrete IAnalysisFactory implementation cannot be located
-
-
DMelt 3.0 © DataMelt by jWork.ORG