artdaq_demo  v3_04_00
demo::RootApplication Class Reference

Provides a wrapper for displaying ROOT canvases. More...

Inheritance diagram for demo::RootApplication:

Public Member Functions

 RootApplication (fhicl::ParameterSet const &p)
 RootApplication Constructor. More...
 
virtual ~RootApplication ()
 RootApplication Destructor.
 
void beginJob () override
 Called by art at the beginning of the job. RootApplication will create a window unless one already exists and force_new == false.
 
void analyze (art::Event const &e) override
 Called by art for each event. More...
 
void endJob () override
 Called by art at the end of the job. RootApplication will close the findow if dont_quit == false.
 

Detailed Description

Provides a wrapper for displaying ROOT canvases.

Definition at line 26 of file RootApplication_module.cc.

Constructor & Destructor Documentation

demo::RootApplication::RootApplication ( fhicl::ParameterSet const &  p)
explicit

RootApplication Constructor.

Parameters
pParameterSet for configuring RootApplication

RootApplication accepts the following Paramters: "force_new" (Default: true): Always create a new window "dont_quit" (Default: false): Keep window open after art exits

Definition at line 69 of file RootApplication_module.cc.

Member Function Documentation

void demo::RootApplication::analyze ( art::Event const &  e)
override

Called by art for each event.

Parameters
eThe art::Event object

RootApplication checks for ROOT system events, it does not touch the art::Event

Definition at line 75 of file RootApplication_module.cc.


The documentation for this class was generated from the following file: