8 #include <onlmon/OnlMon.h>
9 #include <onlmon/OnlMonDB.h>
10 #include <onlmon/OnlMonServer.h>
12 #include <Event/msg_profile.h>
47 gRandom->SetSeed(rand());
49 const char *daqcalib = getenv(
"DAQCALIB");
52 std::cout <<
"DAQCALIB environment variable not set" << std::endl;
56 std::ifstream calib(fullfile);
60 printf(
"doing the Init\n");
61 daqhist1 =
new TH1F(
"daqmon_hist1",
"test 1d histo", 101, 0., 100.);
62 daqhist2 =
new TH2F(
"daqmon_hist2",
"test 2d histo", 101, 0., 100., 101, 0., 100.);
85 daqhist1->Fill(gRandom->Gaus(50,10));
86 daqhist2->Fill(gRandom->Gaus(50,10), gRandom->Gaus(50,10), 1.);