JAPAn
Just Another Parity Analyzer
Loading...
Searching...
No Matches
QwRint.h
Go to the documentation of this file.
1/*!
2 * \file QwRint.h
3 * \brief ROOT interactive interface for Qweak analysis
4 */
5
6#pragma once
7
8// ROOT headers
9#include <TRint.h>
10#include <TThread.h>
11
12// Global pointers recognised by CINT
13R__EXTERN class QwRint* gQwRint;
14
15
16/**
17 * \class QwRint
18 * \ingroup QwThreadSafe
19 * \brief A ROOT command line interface
20 *
21 * The QwRint class implements a ROOT command line interface. It inherits
22 * from the ROOT interactive C++ interpreter TRint. All functionality available
23 * in ROOT is available in this interface. In particular, all histograms that
24 * are defined in memory or in a ROOT file are accessible under the path
25 * "/root/ROOT memory", while they are being filled. All Qweak specific class
26 * structures are available in an interactive mode.
27 *
28 */
29class QwRint : public TRint {
30
31 protected:
32
33 static QwRint* fExists; ///< Check whether interface already existing
34
35 public:
36 /// \brief Constructor
37 QwRint (const char* appClassName, int* argc, char** argv,
38 void* options = 0, int numOptions = 0, bool noLogo = kFALSE);
39
40 /// \brief Destructor
41 ~QwRint() override;
42
43}; // class QwRint
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