JANA2
C++ framework for multi-threaded data processing
|
Public Member Functions | |
void | Init () override |
void | next_plugin (std::string plugin_name) |
void | add (std::string event_source_name) |
void | add (JEventSourceGenerator *source_generator) |
void | add (JFactoryGenerator *factory_generator) |
void | add (JEventSource *event_source) |
void | add (JEventProcessor *processor) |
void | add (JEventUnfolder *unfolder) |
void | configure_components () |
void | preinitialize_components () |
void | resolve_event_sources () |
void | initialize_components () |
JEventSourceGenerator * | resolve_user_event_source_generator () const |
JEventSourceGenerator * | resolve_event_source (std::string source_name) const |
const JComponentSummary & | get_component_summary () |
std::vector< JEventSourceGenerator * > & | get_evt_src_gens () |
std::vector< JEventSource * > & | get_evt_srces () |
std::vector< JEventProcessor * > & | get_evt_procs () |
std::vector< JFactoryGenerator * > & | get_fac_gens () |
std::vector< JEventUnfolder * > & | get_unfolders () |
void | configure_event (JEvent &event) |
Public Member Functions inherited from JService | |
virtual | ~JService ()=default |
acquire_services is a callback which allows the user to configure a JService which relies on other JServices. More... | |
void | DoInit (JServiceLocator *) |
virtual void | acquire_services (JServiceLocator *) |
Public Member Functions inherited from jana::components::JComponent | |
void | SetLevel (JEventLevel level) |
void | SetCallbackStyle (CallbackStyle style) |
void | SetPrefix (std::string prefix) |
void | SetTypeName (std::string type_name) |
For convenience, we provide a NAME_OF_THIS macro so that the user doesn't have to store the type name as a string, because that could get out of sync if automatic refactoring tools are used. | |
JApplication * | GetApplication () const |
JLogger & | GetLogger () |
std::string | GetPrefix () const |
JEventLevel | GetLevel () const |
std::string | GetLoggerName () const |
std::string | GetPluginName () const |
void | SetLoggerName (std::string logger_name) |
void | SetPluginName (std::string plugin_name) |
std::string | GetTypeName () const |
virtual void | Summarize (JComponentSummary &) const |
CallbackStyle | GetCallbackStyle () const |
Status | GetStatus () const |
void | SetApplication (JApplication *app) |
void | SetLogger (JLogger logger) |
template<typename F > | |
void | CallWithJExceptionWrapper (std::string func_name, F func) |
void | RegisterParameter (ParameterBase *parameter) |
void | RegisterService (ServiceBase *service) |
void | ConfigureAllParameters (std::map< std::string, std::string > fields) |
Additional Inherited Members | |
Public Types inherited from jana::components::JComponent | |
enum class | Status { Uninitialized , Initialized , Opened , Closed , Finalized } |
enum class | CallbackStyle { LegacyMode , ExpertMode , DeclarativeMode } |
Protected Attributes inherited from jana::components::JComponent | |
std::vector< ParameterBase * > | m_parameters |
std::vector< ServiceBase * > | m_services |
JEventLevel | m_level = JEventLevel::PhysicsEvent |
CallbackStyle | m_callback_style = CallbackStyle::LegacyMode |
std::string | m_prefix |
std::string | m_plugin_name |
std::string | m_logger_name |
std::string | m_type_name |
Status | m_status = Status::Uninitialized |
std::mutex | m_mutex |
JApplication * | m_app = nullptr |
JLogger | m_logger |