1 from __future__
import print_function
2 from FWCore.ParameterSet.VarParsing
import VarParsing
7 ALLOWED_GEOMETRIES = [
'run2',
'Phase1',
'Phase2']
9 options.register(
'geometry',
11 VarParsing.multiplicity.singleton,
12 VarParsing.varType.string,
13 """ Specify which geometry scenario to use. The different geometry
14 will automatically load also the correct XML grouping
15 files for the material description. Currently supported values are %s""" %
" ".
join(ALLOWED_GEOMETRIES)
18 options.parseArguments()
20 if not options.geometry
in ALLOWED_GEOMETRIES:
21 print(
"\n**** ERROR ****\nUnknown geometry %s. Quitting.\n**** ERROR ****\n" % options.geometry)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
static std::string join(char **cmd)