CFEL - ASG Software Suite
2.5.0
CASS
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
lucassview
lucassview/main.cpp
Go to the documentation of this file.
1
//Copyright (C) 2011 Lutz Foucar
2
3
/**
4
* @file lucassview/main.cpp file the main function of lucassview
5
*
6
* @author Lutz Foucar
7
*/
8
#include <TRint.h>
9
#include <TROOT.h>
10
#include <iostream>
11
#include <string>
12
#include <memory>
13
14
#include "
histo_updater.h
"
15
16
17
/** main function
18
*
19
* create an instance of the ROOT interpreter and the Histogramupdater. Assign
20
* the global variable the the HistogramUpdater instance. Then run the startup
21
* script before letting the ROOT eventloop take over.
22
*
23
* @author Lutz Foucar
24
*/
25
int
main
(
int
argc,
char
*argv[])
26
{
27
using namespace
std
;
28
TRint theApp(
"App"
, &argc, argv);
29
auto_ptr<HistogramUpdater> histUp(
new
HistogramUpdater
(
"daq-amo-mon02"
,12321));
30
gCASSClient
= histUp.get();
31
gROOT->ProcessLine(
".x lucassStartup.C"
);
32
theApp.Run();
33
return
0;
34
}
gCASSClient
R__EXTERN HistogramUpdater * gCASSClient
global acces variable for updater
Definition:
histo_updater.h:104
std
STL namespace.
main
int main(int argc, char *argv[])
main function
Definition:
lucassview/main.cpp:25
histo_updater.h
file contains the classes that update histograms
HistogramUpdater
Definition:
histo_updater.h:17
Impressum
privacy
-- Generated on Thu Nov 29 2018 21:31:26 for CFEL - ASG Software Suite by
1.8.10