dd_web_display.cxx File Reference
#include "TApplication.h"
#include "TCanvas.h"
#include "TEveBrowser.h"
#include "TEveGeoNode.h"
#include "TEveGeoShape.h"
#include "TEveGeoShapeExtract.h"
#include "TEveManager.h"
#include "TFile.h"
#include "TGeoManager.h"
#include "TGeoNode.h"
#include "TGeoVolume.h"
#include "TGraph.h"
#include "THttpServer.h"
#include "TLegend.h"
#include "TMath.h"
#include "TMessage.h"
#include "TMonitor.h"
#include "TMultiGraph.h"
#include "TServerSocket.h"
#include "TSocket.h"
#include "TSystem.h"
#include <algorithm>
#include <chrono>
#include <csignal>
#include <cstring>
#include <experimental/filesystem>
#include <functional>
#include <iostream>
#include <iterator>
#include <map>
#include <memory>
#include <stdexcept>
#include <string>
#include <thread>
#include <tuple>
#include <vector>
#include "DD4hep/DD4hepUnits.h"
#include "DD4hep/Detector.h"
#include "DD4hep/Printout.h"
#include "DDG4/Geant4Data.h"
#include "DDRec/CellIDPositionConverter.h"
#include "DDRec/Surface.h"
#include "DDRec/SurfaceManager.h"
#include "spdlog/spdlog.h"
#include "spdlog/sinks/basic_file_sink.h"
#include "clipp.h"
Include dependency graph for dd_web_display.cxx:

Go to the source code of this file.

Classes

struct  settings
 

Enumerations

enum  mode {
  mode::none, mode::help, mode::list, mode::part,
  mode::none, mode::help, mode::list, mode::part,
  mode::none, mode::help, mode::list, mode::part,
  mode::none, mode::help, mode::list, mode::part
}
 

Functions

void handle_sig (int signum)
 
void run_http_server (const settings &s)
 
template<typename T >
void print_usage (T cli, const char *argv0)
 
template<typename T >
void print_man_page (T cli, const char *argv0)
 
settings cmdline_settings (int argc, char *argv[])
 
int main (int argc, char *argv[])
 

Variables

volatile sig_atomic_t sig_caught = 0
 

Enumeration Type Documentation

◆ mode

enum mode
strong
Enumerator
none 
help 
list 
part 
none 
help 
list 
part 
none 
help 
list 
part 
none 
help 
list 
part 

Definition at line 72 of file dd_web_display.cxx.

Function Documentation

◆ cmdline_settings()

settings cmdline_settings ( int  argc,
char *  argv[] 
)

Definition at line 143 of file dd_web_display.cxx.

◆ handle_sig()

void handle_sig ( int  signum)

Definition at line 54 of file dd_web_display.cxx.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 184 of file dd_web_display.cxx.

◆ print_man_page()

template<typename T >
void print_man_page ( cli,
const char *  argv0 
)

Definition at line 108 of file dd_web_display.cxx.

◆ print_usage()

template<typename T >
void print_usage ( cli,
const char *  argv0 
)

Definition at line 99 of file dd_web_display.cxx.

◆ run_http_server()

void run_http_server ( const settings s)

Definition at line 215 of file dd_web_display.cxx.

Variable Documentation

◆ sig_caught

volatile sig_atomic_t sig_caught = 0

Definition at line 52 of file dd_web_display.cxx.