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
16
QwRint
*
gQwRint
= NULL;
17
18
// Pointer to self
19
QwRint
*
QwRint::fExists
= NULL;
20
21
22
//--------------------------------------------------------------------------
23
QwRint::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
//---------------------------------------------------------------------------
37
QwRint::~QwRint
()
38
{
39
// Reset point to self
40
if
(
fExists
==
this
)
41
fExists
= NULL;
42
}
QwRint.h
ROOT interactive interface for Qweak analysis.
gQwRint
R__EXTERN class QwRint * gQwRint
Definition
QwRint.h:13
QwRint
A ROOT command line interface.
Definition
QwRint.h:29
QwRint::QwRint
QwRint(const char *appClassName, int *argc, char **argv, void *options=0, int numOptions=0, bool noLogo=kFALSE)
Constructor.
Definition
QwRint.cc:23
QwRint::fExists
static QwRint * fExists
Check whether interface already existing.
Definition
QwRint.h:33
QwRint::~QwRint
~QwRint() override
Destructor.
Definition
QwRint.cc:37
Analysis
src
QwRint.cc
Generated on Wed Oct 22 2025 21:41:25 for JAPAn by
1.13.1