|
JANA2
C++ framework for multi-threaded data processing
|
Public Types | |
| enum class | Result { NextChildNextParent , NextChildKeepParent , KeepChildNextParent } |
Public Types inherited from jana::components::JComponent | |
| enum class | CallbackStyle { LegacyMode , ExpertMode } |
Public Member Functions | |
| virtual void | Preprocess (const JEvent &) const |
| virtual Result | Unfold (const JEvent &, JEvent &, int) |
| virtual Result | Unfold (uint64_t, uint64_t, int) |
| virtual void | Finish () |
| void | SetParentLevel (JEventLevel level) |
| void | SetChildLevel (JEventLevel level) |
| void | SetCallPreprocessUpstream (bool call_upstream) |
| JEventLevel | GetChildLevel () |
| void | DoPreprocess (const JEvent &parent) |
| Result | DoUnfold (const JEvent &parent, JEvent &child) |
| void | DoFinish () |
| void | Summarize (JComponentSummary &summary) const override |
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 () |
| void | Wire (JApplication *app) |
| bool | IsEnabled () const |
| void | SetEnabled (bool is_enabled) |
| 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 |
| CallbackStyle | GetCallbackStyle () const |
| void | SetApplication (JApplication *app) |
| void | SetLogger (JLogger logger) |
| template<typename F > | |
| void | CallWithJExceptionWrapper (std::string func_name, F func) |
| void | DoInit () |
| virtual void | Init () |
| void | RegisterParameter (ParameterBase *parameter) |
| void | RegisterService (ServiceBase *service) |
| const std::vector< ParameterBase * > | GetAllParameters () const |
Public Member Functions inherited from jana::components::JHasRunCallbacks | |
| void | RegisterResource (ResourceBase *resource) |
| virtual void | ChangeRun (const JEvent &) |
| virtual void | BeginRun (const std::shared_ptr< const JEvent > &) |
| virtual void | ChangeRun (const std::shared_ptr< const JEvent > &) |
| virtual void | EndRun () |
Public Member Functions inherited from jana::components::JHasInputs | |
| void | RegisterInput (InputBase *input) |
| void | RegisterInput (VariadicInputBase *input) |
| const std::vector< InputBase * > & | GetInputs () |
| const std::vector< VariadicInputBase * > & | GetVariadicInputs () |
| void | WireInputs (JEventLevel component_level, const std::vector< JEventLevel > &single_input_levels, const std::vector< std::string > &single_input_databundle_names, const std::vector< JEventLevel > &variadic_input_levels, const std::vector< std::vector< std::string > > &variadic_input_databundle_names) |
| void | WireInputsCompatibility (JEventLevel component_level, const std::vector< JEventLevel > &single_input_levels, const std::vector< std::string > &single_input_databundle_names) |
| void | SummarizeInputs (JComponentSummary::Component &summary) const |
Public Member Functions inherited from jana::components::JHasOutputs | |
| const std::vector< OutputBase * > & | GetOutputs () const |
| const std::vector< VariadicOutputBase * > & | GetVariadicOutputs () const |
| JDatabundle * | GetFirstDatabundle () const |
| void | RegisterOutput (OutputBase *output) |
| void | RegisterOutput (VariadicOutputBase *output) |
| void | SummarizeOutputs (JComponentSummary::Component &summary) const |
| void | WireOutputs (JEventLevel component_level, const std::vector< std::string > &single_output_databundle_names, const std::vector< std::vector< std::string > > &variadic_output_databundle_names, bool use_short_names) |
Additional Inherited Members | |
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 |
| std::atomic_bool | m_is_initialized {false} |
| std::atomic_bool | m_is_finalized {false} |
| std::mutex | m_mutex |
| JApplication * | m_app = nullptr |
| JLogger | m_logger |
| bool | m_is_enabled = true |
Protected Attributes inherited from jana::components::JHasRunCallbacks | |
| std::vector< ResourceBase * > | m_resources |
| int32_t | m_last_run_number = -1 |
Protected Attributes inherited from jana::components::JHasInputs | |
| std::vector< InputBase * > | m_inputs |
| std::vector< VariadicInputBase * > | m_variadic_inputs |
| std::vector< std::pair< InputBase *, VariadicInputBase * > > | m_ordered_inputs |
|
inlineoverridevirtual |
Reimplemented from jana::components::JComponent.