JAPAn
Just Another Parity Analyzer
Loading...
Searching...
No Matches
QwRint.cc
Go to the documentation of this file.
1/*!
2 * \file QwRint.cc
3 * \brief Implementation for interactive ROOT interface with Qweak extensions
4 */
5
6#include "QwRint.h"
7
8// Standard C and C++ headers
9#include <iostream>
10#include <cstdlib>
11
12// ROOT headers
13#include <TROOT.h>
14
15// Global pointers
17
18// Pointer to self
20
21
22//--------------------------------------------------------------------------
23QwRint::QwRint (const char* appClassName, int* argc, char** argv,
24 void* options, int numOptions, bool noLogo)
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}
35
36//---------------------------------------------------------------------------
38{
39 // Reset point to self
40 if (fExists == this)
41 fExists = NULL;
42}
ROOT interactive interface for Qweak analysis.
R__EXTERN class QwRint * gQwRint
Definition QwRint.h:13
A ROOT command line interface.
Definition QwRint.h:29
QwRint(const char *appClassName, int *argc, char **argv, void *options=0, int numOptions=0, bool noLogo=kFALSE)
Constructor.
Definition QwRint.cc:23
static QwRint * fExists
Check whether interface already existing.
Definition QwRint.h:33
~QwRint() override
Destructor.
Definition QwRint.cc:37