midasServer.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void StartMidasServer (int port)
void VerboseMidasServer (bool verbose)

Variables

TFolder * gManaHistosFolder

Function Documentation

void StartMidasServer ( int  port  ) 

Definition at line 290 of file midasServer.cxx.

References gManaHistosFolder, root_socket_server(), and StartLockRootTimer().

Referenced by main().

00291 {
00292   /* create the folder for analyzer histograms */
00293   gManaHistosFolder = gROOT->GetRootFolder()->AddFolder("histos", "MIDAS Analyzer Histograms");
00294   gROOT->GetListOfBrowsables()->Add(gManaHistosFolder, "histos");
00295 
00296   StartLockRootTimer();
00297   
00298   static int pport = port;
00299 
00300   TThread *thread = new TThread("server_loop", root_socket_server, (void*)&pport);
00301   thread->Run();
00302 
00303 #if 0
00304   LPDWORD lpThreadId = 0;
00305   CloseHandle(CreateThread(NULL, 1024, &root_socket_server, &pport, 0, lpThreadId));
00306 #endif
00307 }

Here is the call graph for this function:

Here is the caller graph for this function:

void VerboseMidasServer ( bool  verbose  ) 

Definition at line 37 of file midasServer.cxx.

References gVerbose.

00038 {
00039   fprintf(stderr, "VerboseMidasServer: change verbose level from %d to %d\n", gVerbose, verbose);
00040   gVerbose = verbose;
00041 }


Variable Documentation


Generated on 12 Feb 2016 for ROOT Analyzer by  doxygen 1.6.1