Package org.jlab.clas.reco
Class ReconstructionEngine
java.lang.Object
org.jlab.clas.reco.ReconstructionEngine
- All Implemented Interfaces:
- org.jlab.clara.engine.Engine
- Direct Known Subclasses:
- AHDCEngine,- ALERTEngine,- Analysis,- ATOFEngine,- BackgroundEngine,- BANDEngine,- CNDCalibrationEngine,- CTOFEngine,- CVTEngine,- DCEngine,- EBEngine,- ECEngine,- ECRECMonitor,- FMTEngine,- FTCALEngine,- FTEBEngine,- FTHODOEngine,- FTOFEngine,- FTTRKEngine,- HTCCReconstructionService,- LTCCEngine,- MagFieldsEngine,- MLTDEngine,- MLTNEngine,- PostprocEngine,- PulseExtractorEngine,- RasterEngine,- RecoilEngine,- ReconstructionEngine.Reco,- RICHEBEngine,- RTPCEngine,- SwapEngine,- TruthMatch,- URWellEngine,- VersionEngine,- VTXEngine
- Author:
- gavalian
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionReconstructionEngine(String name, String author) ReconstructionEngine(String name, String author, String version) 
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanapplyTriggerMask(DataEvent event) booleancheckRunNumber(DataEvent event) org.jlab.clara.engine.EngineDataconfigure(org.jlab.clara.engine.EngineData ed) protected booleanvoiddestroy()voidorg.jlab.clara.engine.EngineDataexecute(org.jlab.clara.engine.EngineData input) org.jlab.clara.engine.EngineDataexecuteGroup(Set<org.jlab.clara.engine.EngineData> set) voidfilterEvent(DataEvent dataEvent) Generate a configuration section to drop in a HIPO bank, as the engineConfigMap appended with the software version.getEngineConfigString(String key, String def) final StringbooleangetFatal()Set<org.jlab.clara.engine.EngineDataType>getName()Set<org.jlab.clara.engine.EngineDataType>protected RawBankgetRawBankReader(String bankName) protected RawBankgetRawBankReader(String bankName, RawBank.OrderType... order) protected org.jlab.jnp.hipo4.data.SchemaFactoryprotected StringgetStringConfigParameter(String jsonString, String key) protected StringgetStringConfigParameter(String jsonString, String group, String key) Method helps to extract configuration parameters defined in the Clara YAML file.abstract booleaninit()static voidabstract booleanprocessDataEvent(DataEvent event) voidregisterOutputBank(String... bankName) voidrequireConstants(String... tables) voidrequireConstants(List<String> tables) voidrequireConstants(Map<String, Integer> tables) Use a map just to avoid name clash in ConstantsManager.voidreset()setDescription(String desc) voidsetFatal()voidsetTimeStamp(String timestamp) voidsetVariation(String variation) 
- 
Field Details- 
CONFIG_BANK_NAME- See Also:
 
- 
rawBankOrders
 
- 
- 
Constructor Details- 
ReconstructionEngine
- 
ReconstructionEngine
 
- 
- 
Method Details- 
getConfigMap
- 
registerOutputBank
- 
getSchemaFactoryprotected org.jlab.jnp.hipo4.data.SchemaFactory getSchemaFactory()
- 
getRawBankReader
- 
getRawBankReader
- 
processDataEvent
- 
initpublic abstract boolean init()
- 
requireConstantsUse a map just to avoid name clash in ConstantsManager.- Parameters:
- tables- map of table names to #indices
 
- 
requireConstants
- 
requireConstants
- 
getEngineConfiguration
- 
getConstantsManager
- 
getEngineConfigString
- 
getEngineConfigString
- 
configurepublic org.jlab.clara.engine.EngineData configure(org.jlab.clara.engine.EngineData ed) - Specified by:
- configurein interface- org.jlab.clara.engine.Engine
- Parameters:
- ed-
- Returns:
 
- 
getStringConfigParameter- Throws:
- Exception
 
- 
getStringConfigParameterprotected String getStringConfigParameter(String jsonString, String group, String key) throws Exception Method helps to extract configuration parameters defined in the Clara YAML file.- Parameters:
- jsonString- JSon configuration object (passed to the userInit method).
- group- config parameter group.
- key- the key of the config parameter.
- Returns:
- parameter: String value
- Throws:
- ClasEngineException- org.jlab.clara.clas engine exception
- Exception
 
- 
setVariation
- 
setTimeStamp
- 
constantManagerStatusprotected boolean constantManagerStatus()
- 
applyTriggerMask
- 
generateConfigGenerate a configuration section to drop in a HIPO bank, as the engineConfigMap appended with the software version. Here the top level is "yaml" to facilitate merging JSON banks later.- Returns:
 
- 
dropBanks
- 
checkRunNumber
- 
filterEvent
- 
executepublic org.jlab.clara.engine.EngineData execute(org.jlab.clara.engine.EngineData input) - Specified by:
- executein interface- org.jlab.clara.engine.Engine
 
- 
executeGroup- Specified by:
- executeGroupin interface- org.jlab.clara.engine.Engine
 
- 
getInputDataTypes- Specified by:
- getInputDataTypesin interface- org.jlab.clara.engine.Engine
 
- 
getOutputDataTypes- Specified by:
- getOutputDataTypesin interface- org.jlab.clara.engine.Engine
 
- 
getStates- Specified by:
- getStatesin interface- org.jlab.clara.engine.Engine
 
- 
setDescription
- 
getDescription- Specified by:
- getDescriptionin interface- org.jlab.clara.engine.Engine
 
- 
getName
- 
getVersion- Specified by:
- getVersionin interface- org.jlab.clara.engine.Engine
 
- 
getAuthor- Specified by:
- getAuthorin interface- org.jlab.clara.engine.Engine
 
- 
resetpublic void reset()- Specified by:
- resetin interface- org.jlab.clara.engine.Engine
 
- 
destroypublic void destroy()- Specified by:
- destroyin interface- org.jlab.clara.engine.Engine
 
- 
setFatalpublic void setFatal()
- 
getFatalpublic boolean getFatal()
- 
main
 
-