QwGeant4
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
QweakSimRint.cc
Go to the documentation of this file.
1
#include "
QweakSimRint.hh
"
2
3
// Standard C and C++ headers
4
#include <iostream>
5
#include <cstdlib>
6
7
// ROOT headers
8
#include <TROOT.h>
9
10
// Global pointers
11
QweakSimRint
*
gQweakSimRint
= NULL;
12
13
// Pointer to self
14
QweakSimRint
*
QweakSimRint::fExists
= NULL;
15
16
17
//--------------------------------------------------------------------------
18
QweakSimRint::QweakSimRint
(
const
char
* appClassName,
int
* argc,
char
** argv,
19
void
* options,
int
numOptions,
bool
noLogo)
20
: TRint (appClassName, argc, argv, options, numOptions, noLogo)
21
{
22
gQweakSimRint =
this
;
23
24
// Qw-Root command prompt
25
SetPrompt(
"Qw-Root [%d] "
);
26
27
// Pointer to self
28
fExists
=
this
;
29
}
30
31
//---------------------------------------------------------------------------
32
QweakSimRint::~QweakSimRint
()
33
{
34
// Reset point to self
35
if
(
fExists
==
this
)
36
fExists
= NULL;
37
}
gQweakSimRint
R__EXTERN class QweakSimRint * gQweakSimRint
Definition:
QweakSimRint.hh:9
QweakSimRint.hh
QweakSimRint::fExists
static QweakSimRint * fExists
Check whether interface already existing.
Definition:
QweakSimRint.hh:29
QweakSimRint::QweakSimRint
QweakSimRint(const char *appClassName, int *argc, char **argv, void *options=0, int numOptions=0, bool noLogo=kFALSE)
Constructor.
Definition:
QweakSimRint.cc:18
QweakSimRint
A ROOT command line interface.
Definition:
QweakSimRint.hh:25
QweakSimRint::~QweakSimRint
virtual ~QweakSimRint()
Destructor.
Definition:
QweakSimRint.cc:32
src
QweakSimRint.cc
Generated on Sun May 19 2019 02:14:33 for QwGeant4 by
1.8.5