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