JAPAn
Just Another Parity Analyzer
Loading...
Searching...
No Matches
QwRint Class Reference

A ROOT command line interface. More...

#include <QwRint.h>

+ Inheritance diagram for QwRint:
+ Collaboration diagram for QwRint:

Public Member Functions

 QwRint (const char *appClassName, int *argc, char **argv, void *options=0, int numOptions=0, bool noLogo=kFALSE)
 Constructor.
 
 ~QwRint () override
 Destructor.
 

Static Protected Attributes

static QwRintfExists = NULL
 Check whether interface already existing.
 

Detailed Description

A ROOT command line interface.

The QwRint class implements a ROOT command line interface. It inherits from the ROOT interactive C++ interpreter TRint. All functionality available in ROOT is available in this interface. In particular, all histograms that are defined in memory or in a ROOT file are accessible under the path "/root/ROOT memory", while they are being filled. All Qweak specific class structures are available in an interactive mode.

Definition at line 29 of file QwRint.h.

Constructor & Destructor Documentation

◆ QwRint()

QwRint::QwRint ( const char * appClassName,
int * argc,
char ** argv,
void * options = 0,
int numOptions = 0,
bool noLogo = kFALSE )

Constructor.

Definition at line 23 of file QwRint.cc.

25: TRint (appClassName, argc, argv, options, numOptions, noLogo)
26{
27 gQwRint = this;
28
29 // Qw-Root command prompt
30 SetPrompt("Qw-Root [%d] ");
31
32 // Pointer to self
33 fExists = this;
34}
R__EXTERN class QwRint * gQwRint
Definition QwRint.h:13
static QwRint * fExists
Check whether interface already existing.
Definition QwRint.h:33

References fExists, and gQwRint.

◆ ~QwRint()

QwRint::~QwRint ( )
override

Destructor.

Definition at line 37 of file QwRint.cc.

38{
39 // Reset point to self
40 if (fExists == this)
41 fExists = NULL;
42}

References fExists.

Field Documentation

◆ fExists

QwRint * QwRint::fExists = NULL
staticprotected

Check whether interface already existing.

Definition at line 33 of file QwRint.h.

Referenced by QwRint(), and ~QwRint().


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