$treeview $search $mathjax $extrastylesheet
artdaq_demo  v3_04_01
$projectbrief
$projectbrief
$searchbox

demo::RootApplication Class Reference

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

List of all members.

Public Member Functions

 RootApplication (fhicl::ParameterSet const &p)
 RootApplication Constructor.
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.
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:
p ParameterSet 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:
e The 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:

Generated on 28 Mar 2019 for artdaq_demo by  doxygen 1.6.1