HARPO
5.1.1
Main Page
Related Pages
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
analysis
hmonitorgui.cxx
Go to the documentation of this file.
1
#include <TApplication.h>
2
#include <TGClient.h>
3
#include <TROOT.h>
4
#include <TStyle.h>
5
#include "
HarpoMonitorGui.h
"
6
7
8
int
main
(
int
argc,
char
**argv)
9
{
10
// Long_t processed = -1; // Processed events counter , negative on error
11
12
13
14
// HarpoRunHeader *hdr;
15
//HarpoEvent *hevent;
16
// gDebug = 1;
17
// HarpoConfig::gHReaderType = hRootReader;
18
// HarpoConfig *cfg = new HarpoConfig(argc,argv);
19
// cfg->Init();
20
21
// cfg->print();
22
23
// HarpoReader *rdr = new HarpoReader( cfg );
24
25
// if ( rdr->Init(hNoCMPTime) ) {
26
// hdr = rdr->GetRunHeader();
27
// hdr->print();
28
// }
29
// else
30
// {
31
// printf ("Int ERROR exiting ...\n");
32
// return 1;
33
// }
34
35
TApplication *theApp =
new
TApplication(
"App"
, &argc, argv);
36
gROOT->SetStyle(
"Plain"
);
37
gStyle->SetPalette(1);
38
HarpoMonitorGui
mainWin(gClient->GetRoot(),10,10,kMainFrame | kHorizontalFrame);
39
40
theApp->Run();
41
42
//delete rdr;
43
//delete cfg;
44
45
return
0;
46
}
HarpoMonitorGui.h
HarpoMonitorGui
Definition:
HarpoMonitorGui.h:44
main
int main(int argc, char **argv)
Definition:
hmonitorgui.cxx:8
Generated by
1.8.6