settings Struct Reference
Collaboration diagram for settings:

Public Types

using string = std::string
 
using part_map = std::map< string, int >
 

Public Attributes

bool help = false
 
bool success = false
 
std::string compact_file = ""
 
std::string infile = ""
 
std::string outfile = "detector_geometry"
 
std::string p_name = ""
 
int part_level = -1
 
bool level_set = false
 
int geo_level = -1
 
bool list_all = false
 
mode selected = mode::list
 
int color = 1
 
double alpha = 1
 
std::map< std::string, int > part_name_levels
 
std::map< std::string, int > part_name_colors
 
std::map< std::string, double > part_name_alphas
 
int http_port = 8090
 
string http_host = "127.0.0.1"
 
string in_out_file = ""
 
ROOT::Math::XYZVector start_position {0.0,0.0,0.0}
 
ROOT::Math::XYZVector direction {0.0,0.0,1.0}
 
double step_size = 0.5*cm
 
bool rec = false
 
bool utf16 = false
 
bool search = false
 
int search_level = 0
 
std::vector< std::string > field_comps = {"Bz"}
 
std::string format = "json"
 
std::vector< std::string > axes
 
int Nsteps = 200
 
double x0 = 0.0
 
double y0 = 0.0
 
double z0 = 0.0
 
double x1 = 0.0
 
double y1 = 0.0
 
double z1 = 0.0
 
double x2 = 0.0
 
double y2 = 0.0
 
double z2 = 1.0
 
bool by_step_size = false
 
bool with_end_point = false
 
bool verbose = false
 
string infile = ""
 
string outfile = "detector_geometry"
 
string part_name = ""
 
int global_level = 1
 
part_map part_name_levels
 

Detailed Description

Definition at line 74 of file dd_web_display.cxx.

Member Typedef Documentation

◆ part_map

using settings::part_map = std::map<string,int>

Definition at line 57 of file npdet_to_step.cxx.

◆ string

using settings::string = std::string

Definition at line 56 of file npdet_to_step.cxx.

Member Data Documentation

◆ alpha

double settings::alpha = 1

Definition at line 87 of file dd_web_display.cxx.

◆ axes

std::vector<std::string> settings::axes

Definition at line 53 of file npdet_fields.cxx.

◆ by_step_size

bool settings::by_step_size = false

Definition at line 64 of file npdet_fields.cxx.

◆ color

int settings::color = 1

Definition at line 86 of file dd_web_display.cxx.

◆ compact_file

std::string settings::compact_file = ""

Definition at line 77 of file dd_web_display.cxx.

◆ direction

ROOT::Math::XYZVector settings::direction {0.0,0.0,1.0}

Definition at line 45 of file npdet_fields.cxx.

◆ field_comps

std::vector<std::string> settings::field_comps = {"Bz"}

Definition at line 51 of file npdet_fields.cxx.

◆ format

std::string settings::format = "json"

Definition at line 52 of file npdet_fields.cxx.

◆ geo_level

int settings::geo_level = -1

Definition at line 83 of file dd_web_display.cxx.

◆ global_level

int settings::global_level = 1

Definition at line 66 of file npdet_to_step.cxx.

◆ help

bool settings::help = false

Definition at line 75 of file dd_web_display.cxx.

◆ http_host

string settings::http_host = "127.0.0.1"

Definition at line 92 of file dd_web_display.cxx.

◆ http_port

int settings::http_port = 8090

Definition at line 91 of file dd_web_display.cxx.

◆ in_out_file

string settings::in_out_file = ""

Definition at line 93 of file dd_web_display.cxx.

◆ infile [1/2]

string settings::infile = ""

Definition at line 60 of file npdet_to_step.cxx.

◆ infile [2/2]

std::string settings::infile = ""

Definition at line 78 of file dd_web_display.cxx.

◆ level_set

bool settings::level_set = false

Definition at line 82 of file dd_web_display.cxx.

◆ list_all

bool settings::list_all = false

Definition at line 84 of file dd_web_display.cxx.

◆ Nsteps

int settings::Nsteps = 200

Definition at line 54 of file npdet_fields.cxx.

◆ outfile [1/2]

string settings::outfile = "detector_geometry"

Definition at line 61 of file npdet_to_step.cxx.

◆ outfile [2/2]

std::string settings::outfile = "detector_geometry"

Definition at line 79 of file dd_web_display.cxx.

◆ p_name

std::string settings::p_name = ""

Definition at line 80 of file dd_web_display.cxx.

◆ part_level

int settings::part_level = -1

Definition at line 81 of file dd_web_display.cxx.

◆ part_name

string settings::part_name = ""

Definition at line 62 of file npdet_to_step.cxx.

◆ part_name_alphas

std::map< std::string, double > settings::part_name_alphas

Definition at line 90 of file dd_web_display.cxx.

◆ part_name_colors

std::map< std::string, int > settings::part_name_colors

Definition at line 89 of file dd_web_display.cxx.

◆ part_name_levels [1/2]

part_map settings::part_name_levels

Definition at line 68 of file npdet_to_step.cxx.

◆ part_name_levels [2/2]

std::map< std::string, int > settings::part_name_levels

Definition at line 88 of file dd_web_display.cxx.

◆ rec

bool settings::rec = false

Definition at line 47 of file npdet_fields.cxx.

◆ search

bool settings::search = false

Definition at line 49 of file npdet_fields.cxx.

◆ search_level

int settings::search_level = 0

Definition at line 50 of file npdet_fields.cxx.

◆ selected

mode settings::selected = mode::list

Definition at line 85 of file dd_web_display.cxx.

◆ start_position

ROOT::Math::XYZVector settings::start_position {0.0,0.0,0.0}

Definition at line 44 of file npdet_fields.cxx.

◆ step_size

double settings::step_size = 0.5*cm

Definition at line 46 of file npdet_fields.cxx.

◆ success

bool settings::success = false

Definition at line 76 of file dd_web_display.cxx.

◆ utf16

bool settings::utf16 = false

Definition at line 48 of file npdet_fields.cxx.

◆ verbose

bool settings::verbose = false

Definition at line 66 of file npdet_fields.cxx.

◆ with_end_point

bool settings::with_end_point = false

Definition at line 65 of file npdet_fields.cxx.

◆ x0

double settings::x0 = 0.0

Definition at line 55 of file npdet_fields.cxx.

◆ x1

double settings::x1 = 0.0

Definition at line 58 of file npdet_fields.cxx.

◆ x2

double settings::x2 = 0.0

Definition at line 61 of file npdet_fields.cxx.

◆ y0

double settings::y0 = 0.0

Definition at line 56 of file npdet_fields.cxx.

◆ y1

double settings::y1 = 0.0

Definition at line 59 of file npdet_fields.cxx.

◆ y2

double settings::y2 = 0.0

Definition at line 62 of file npdet_fields.cxx.

◆ z0

double settings::z0 = 0.0

Definition at line 57 of file npdet_fields.cxx.

◆ z1

double settings::z1 = 0.0

Definition at line 60 of file npdet_fields.cxx.

◆ z2

double settings::z2 = 1.0

Definition at line 63 of file npdet_fields.cxx.


The documentation for this struct was generated from the following files: