process = cms.Process("PROD") process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") # The default geometry is Extended2023D28. If a different geoemtry # is needed, the appropriate flag has to be passed at command line, # e.g.: cmsRun runP_HGCal_cfg.py geom="XYZ" # The default component to be monitored is the HGCal. If other # components need to be studied, they must be supplied, one at a time, # at the command line, e.g.: cmsRun runP_HGCal_cfg.py # label="XYZ" from Validation.Geometry.plot_hgcal_utils import _LABELS2COMPS _ALLOWED_LABELS = _LABELS2COMPS.keys() options = VarParsing('analysis') options.register( 'geom', #name 'Extended2023D28', #default value VarParsing.multiplicity.singleton, # kind of options VarParsing.varType.string, # type of option "Select the geometry to be studied" # help message ) options.register( 'label', #name 'HGCal', #default value VarParsing.multiplicity.singleton, # kind of options VarParsing.varType.string, # type of option
process = cms.Process("PROD") process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") # The default geometry is Extended2023D28. If a different geoemtry # is needed, the appropriate flag has to be passed at command line, # e.g.: cmsRun runP_HGCal_cfg.py geom="XYZ" # The default component to be monitored is the HGCal. If other # components need to be studied, they must be supplied, one at a time, # at the command line, e.g.: cmsRun runP_HGCal_cfg.py # label="XYZ" from Validation.Geometry.plot_hgcal_utils import _LABELS2COMPS _ALLOWED_LABELS = _LABELS2COMPS.keys() options = VarParsing('analysis') options.register('geom', #name 'Extended2023D28', #default value VarParsing.multiplicity.singleton, # kind of options VarParsing.varType.string, # type of option "Select the geometry to be studied" # help message ) options.register('label', #name 'HGCal', #default value VarParsing.multiplicity.singleton, # kind of options VarParsing.varType.string, # type of option "Select the label to be used to create output files. Default to HGCal. If multiple components are selected, it defaults to the join of all components, with '_' as separator." # help message )