Package org.jlab.clas.reco
Class EngineProcessor
java.lang.Object
org.jlab.clas.reco.EngineProcessor
- Author:
- gavalian, kenjo, baltzell
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdd reconstruction engine to the chainvoidAdding engine to the map the order of the services matters, since they will be executed in order added.voidAdding engine to the map the order of the services matters, since they will be executed in order added.voidaddEngine(String name, ReconstructionEngine engine) add a reconstruction engine to the chainvoidinit()Initialize all the engines in the chain.voidinitAll()voidvoidstatic voidvoidprocessEvent(DataEvent event) process a single event through the chain.voidprocessFile(String file, String output) voidprocessFile(String file, String output, int nskip, int nevents) process entire file through engine chain.voidshow()display services registered with the processor.
- 
Field Details- 
ENGINE_CLASS_BG- See Also:
 
- 
ENGINE_CLASS_PP- See Also:
 
 
- 
- 
Constructor Details- 
EngineProcessorpublic EngineProcessor()
 
- 
- 
Method Details- 
initDefaultpublic void initDefault()
- 
initAllpublic void initAll()
- 
initCaloDebugpublic void initCaloDebug()
- 
addEngineadd a reconstruction engine to the chain- Parameters:
- name- name of the engine in the chain
- engine- engine class
 
- 
addEngineAdding engine to the map the order of the services matters, since they will be executed in order added.- Parameters:
- name- name for the service
- clazz- class name including the package name
- jsonConf- string in json format with engine configuration
 
- 
addEngineAdding engine to the map the order of the services matters, since they will be executed in order added.- Parameters:
- name- name for the service
- clazz- class name including the package name
 
- 
addEngineAdd reconstruction engine to the chain- Parameters:
- clazz- Engine class.
 
- 
initpublic void init()Initialize all the engines in the chain.
- 
processEventprocess a single event through the chain.- Parameters:
- event-
 
- 
processFile
- 
processFileprocess entire file through engine chain.- Parameters:
- file- input file name to process
- output- output filename
- nskip- number of events to skip
- nevents- number of events to process
 
- 
showpublic void show()display services registered with the processor.
- 
main
 
-