diff --git a/Validation/Geometry/test/runP_BeamPipePhase1_cfg.py b/Validation/Geometry/test/runP_BeamPipePhase1_cfg.py new file mode 100644 index 0000000000000..ec34998016e48 --- /dev/null +++ b/Validation/Geometry/test/runP_BeamPipePhase1_cfg.py @@ -0,0 +1,67 @@ +import FWCore.ParameterSet.Config as cms + +process = cms.Process("PROD") + +process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") + +#Geometry +# +process.load("Configuration.Geometry.GeometryExtended2017_cff") + +#Magnetic Field +# +process.load("Configuration.StandardSequences.MagneticField_38T_PostLS1_cff") + +# Output of events, etc... +# +# Explicit note : since some histos/tree might be dumped directly, +# better NOT use PoolOutputModule ! +# Detector simulation (Geant4-based) +# +process.load("SimG4Core.Application.g4SimHits_cfi") + +process.load("IOMC.RandomEngine.IOMC_cff") +process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876 + +process.MessageLogger = cms.Service("MessageLogger", + cout = cms.untracked.PSet( + default = cms.untracked.PSet( + limit = cms.untracked.int32(0) + ), + FwkJob = cms.untracked.PSet( ## but FwkJob category - those unlimitted + limit = cms.untracked.int32(-1) + ) + ), + categories = cms.untracked.vstring('FwkJob'), + destinations = cms.untracked.vstring('cout') +) + +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring('file:single_neutrino_random.root') +) + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(-1) +) + +process.p1 = cms.Path(process.g4SimHits) +process.g4SimHits.UseMagneticField = False +process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics' +process.g4SimHits.Physics.DummyEMPhysics = True +process.g4SimHits.Physics.CutsPerRegion = False +process.g4SimHits.Watchers = cms.VPSet(cms.PSet( + type = cms.string('MaterialBudgetAction'), + MaterialBudgetAction = cms.PSet( + HistosFile = cms.string('matbdg_BeamPipe.root'), + AllStepsToTree = cms.bool(True), + HistogramList = cms.string('Tracker'), + SelectedVolumes = cms.vstring('BEAM'), + TreeFile = cms.string('None'), ## is NOT requested + + StopAfterProcess = cms.string('None'), + # string TextFile = "matbdg_BeamPipe.txt" + TextFile = cms.string('None') + ) +)) + + diff --git a/Validation/Geometry/test/runP_InnerServicesPhase1_cfg.py b/Validation/Geometry/test/runP_InnerServicesPhase1_cfg.py new file mode 100644 index 0000000000000..8ec90a6bebff6 --- /dev/null +++ b/Validation/Geometry/test/runP_InnerServicesPhase1_cfg.py @@ -0,0 +1,69 @@ +import FWCore.ParameterSet.Config as cms + +process = cms.Process("PROD") + +process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") + +#Geometry +# +process.load("Configuration.Geometry.GeometryExtended2017_cff") + + +#Magnetic Field +# +process.load("Configuration.StandardSequences.MagneticField_38T_PostLS1_cff") + +# Output of events, etc... +# +# Explicit note : since some histos/tree might be dumped directly, +# better NOT use PoolOutputModule ! +# Detector simulation (Geant4-based) +# +process.load("SimG4Core.Application.g4SimHits_cfi") + +process.load("IOMC.RandomEngine.IOMC_cff") +process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876 + +process.MessageLogger = cms.Service("MessageLogger", + cout = cms.untracked.PSet( + default = cms.untracked.PSet( + limit = cms.untracked.int32(0) + ), + FwkJob = cms.untracked.PSet( ## but FwkJob category - those unlimitted + limit = cms.untracked.int32(-1) + ) + ), + categories = cms.untracked.vstring('FwkJob'), + destinations = cms.untracked.vstring('cout') +) + +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring('file:single_neutrino_random.root') +) + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(-1) +) + +process.p1 = cms.Path(process.g4SimHits) +process.g4SimHits.UseMagneticField = False +process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics' +process.g4SimHits.Physics.DummyEMPhysics = True +process.g4SimHits.Physics.CutsPerRegion = False +process.g4SimHits.Watchers = cms.VPSet(cms.PSet( + type = cms.string('MaterialBudgetAction'), + MaterialBudgetAction = cms.PSet( + HistosFile = cms.string('matbdg_InnerServices.root'), + AllStepsToTree = cms.bool(True), + HistogramList = cms.string('Tracker'), + SelectedVolumes = cms.vstring('TIBTIDServicesF', + 'TIBTIDServicesB'), + TreeFile = cms.string('None'), ## is NOT requested + + StopAfterProcess = cms.string('None'), + # string TextFile = "matbdg_InnerServices.txt" + TextFile = cms.string('None') + ) +)) + + diff --git a/Validation/Geometry/test/runP_PixBarPhase1_cfg.py b/Validation/Geometry/test/runP_PixBarPhase1_cfg.py new file mode 100644 index 0000000000000..1078d6df18474 --- /dev/null +++ b/Validation/Geometry/test/runP_PixBarPhase1_cfg.py @@ -0,0 +1,68 @@ +import FWCore.ParameterSet.Config as cms + +process = cms.Process("PROD") + +process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") + +#Geometry +# +process.load("Configuration.Geometry.GeometryExtended2017_cff") + + +#Magnetic Field +# +process.load("Configuration.StandardSequences.MagneticField_38T_PostLS1_cff") + +# Output of events, etc... +# +# Explicit note : since some histos/tree might be dumped directly, +# better NOT use PoolOutputModule ! +# Detector simulation (Geant4-based) +# +process.load("SimG4Core.Application.g4SimHits_cfi") + +process.load("IOMC.RandomEngine.IOMC_cff") +process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876 + +process.MessageLogger = cms.Service("MessageLogger", + cout = cms.untracked.PSet( + default = cms.untracked.PSet( + limit = cms.untracked.int32(0) + ), + FwkJob = cms.untracked.PSet( ## but FwkJob category - those unlimitted + limit = cms.untracked.int32(-1) + ) + ), + categories = cms.untracked.vstring('FwkJob'), + destinations = cms.untracked.vstring('cout') +) + +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring('file:single_neutrino_random.root') +) + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(-1) +) + +process.p1 = cms.Path(process.g4SimHits) +process.g4SimHits.UseMagneticField = False +process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics' +process.g4SimHits.Physics.DummyEMPhysics = True +process.g4SimHits.Physics.CutsPerRegion = False +process.g4SimHits.Watchers = cms.VPSet(cms.PSet( + type = cms.string('MaterialBudgetAction'), + MaterialBudgetAction = cms.PSet( + HistosFile = cms.string('matbdg_PixBar.root'), + AllStepsToTree = cms.bool(True), + HistogramList = cms.string('Tracker'), + SelectedVolumes = cms.vstring('PixelBarrel'), + TreeFile = cms.string('None'), ## is NOT requested + + StopAfterProcess = cms.string('None'), + # string TextFile = "matbdg_PixBar.txt" + TextFile = cms.string('None') + ) +)) + + diff --git a/Validation/Geometry/test/runP_PixFwdMinusPhase1_cfg.py b/Validation/Geometry/test/runP_PixFwdMinusPhase1_cfg.py new file mode 100644 index 0000000000000..fe1c3fffb8a2a --- /dev/null +++ b/Validation/Geometry/test/runP_PixFwdMinusPhase1_cfg.py @@ -0,0 +1,68 @@ +import FWCore.ParameterSet.Config as cms + +process = cms.Process("PROD") + +process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") + +#Geometry +# +process.load("Configuration.Geometry.GeometryExtended2017_cff") + + +#Magnetic Field +# +process.load("Configuration.StandardSequences.MagneticField_38T_PostLS1_cff") + +# Output of events, etc... +# +# Explicit note : since some histos/tree might be dumped directly, +# better NOT use PoolOutputModule ! +# Detector simulation (Geant4-based) +# +process.load("SimG4Core.Application.g4SimHits_cfi") + +process.load("IOMC.RandomEngine.IOMC_cff") +process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876 + +process.MessageLogger = cms.Service("MessageLogger", + cout = cms.untracked.PSet( + default = cms.untracked.PSet( + limit = cms.untracked.int32(0) + ), + FwkJob = cms.untracked.PSet( ## but FwkJob category - those unlimitted + limit = cms.untracked.int32(-1) + ) + ), + categories = cms.untracked.vstring('FwkJob'), + destinations = cms.untracked.vstring('cout') +) + +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring('file:single_neutrino_random.root') +) + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(-1) +) + +process.p1 = cms.Path(process.g4SimHits) +process.g4SimHits.UseMagneticField = False +process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics' +process.g4SimHits.Physics.DummyEMPhysics = True +process.g4SimHits.Physics.CutsPerRegion = False +process.g4SimHits.Watchers = cms.VPSet(cms.PSet( + type = cms.string('MaterialBudgetAction'), + MaterialBudgetAction = cms.PSet( + HistosFile = cms.string('matbdg_PixFwdMinus.root'), + AllStepsToTree = cms.bool(True), + HistogramList = cms.string('Tracker'), + SelectedVolumes = cms.vstring('PixelForwardZMinus'), + TreeFile = cms.string('None'), ## is NOT requested + + StopAfterProcess = cms.string('None'), + # string TextFile = "matbdg_PixFwdMinus.txt" + TextFile = cms.string('None') + ) +)) + + diff --git a/Validation/Geometry/test/runP_PixFwdPlusPhase1_cfg.py b/Validation/Geometry/test/runP_PixFwdPlusPhase1_cfg.py new file mode 100644 index 0000000000000..faa7ab8cf22b2 --- /dev/null +++ b/Validation/Geometry/test/runP_PixFwdPlusPhase1_cfg.py @@ -0,0 +1,68 @@ +import FWCore.ParameterSet.Config as cms + +process = cms.Process("PROD") + +process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") + +#Geometry +# +process.load("Configuration.Geometry.GeometryExtended2017_cff") + + +#Magnetic Field +# +process.load("Configuration.StandardSequences.MagneticField_38T_PostLS1_cff") + +# Output of events, etc... +# +# Explicit note : since some histos/tree might be dumped directly, +# better NOT use PoolOutputModule ! +# Detector simulation (Geant4-based) +# +process.load("SimG4Core.Application.g4SimHits_cfi") + +process.load("IOMC.RandomEngine.IOMC_cff") +process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876 + +process.MessageLogger = cms.Service("MessageLogger", + cout = cms.untracked.PSet( + default = cms.untracked.PSet( + limit = cms.untracked.int32(0) + ), + FwkJob = cms.untracked.PSet( ## but FwkJob category - those unlimitted + limit = cms.untracked.int32(-1) + ) + ), + categories = cms.untracked.vstring('FwkJob'), + destinations = cms.untracked.vstring('cout') +) + +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring('file:single_neutrino_random.root') +) + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(-1) +) + +process.p1 = cms.Path(process.g4SimHits) +process.g4SimHits.UseMagneticField = False +process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics' +process.g4SimHits.Physics.DummyEMPhysics = True +process.g4SimHits.Physics.CutsPerRegion = False +process.g4SimHits.Watchers = cms.VPSet(cms.PSet( + type = cms.string('MaterialBudgetAction'), + MaterialBudgetAction = cms.PSet( + HistosFile = cms.string('matbdg_PixFwdPlus.root'), + AllStepsToTree = cms.bool(True), + HistogramList = cms.string('Tracker'), + SelectedVolumes = cms.vstring('PixelForwardZPlus'), + TreeFile = cms.string('None'), ## is NOT requested + + StopAfterProcess = cms.string('None'), + # string TextFile = "matbdg_PixFwdPlus.txt" + TextFile = cms.string('None') + ) +)) + + diff --git a/Validation/Geometry/test/runP_TECPhase1_cfg.py b/Validation/Geometry/test/runP_TECPhase1_cfg.py new file mode 100644 index 0000000000000..bba806f81fb4a --- /dev/null +++ b/Validation/Geometry/test/runP_TECPhase1_cfg.py @@ -0,0 +1,68 @@ +import FWCore.ParameterSet.Config as cms + +process = cms.Process("PROD") + +process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") + +#Geometry +# +process.load("Configuration.Geometry.GeometryExtended2017_cff") + + +#Magnetic Field +# +process.load("Configuration.StandardSequences.MagneticField_38T_PostLS1_cff") + +# Output of events, etc... +# +# Explicit note : since some histos/tree might be dumped directly, +# better NOT use PoolOutputModule ! +# Detector simulation (Geant4-based) +# +process.load("SimG4Core.Application.g4SimHits_cfi") + +process.load("IOMC.RandomEngine.IOMC_cff") +process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876 + +process.MessageLogger = cms.Service("MessageLogger", + cout = cms.untracked.PSet( + default = cms.untracked.PSet( + limit = cms.untracked.int32(0) + ), + FwkJob = cms.untracked.PSet( ## but FwkJob category - those unlimitted + limit = cms.untracked.int32(-1) + ) + ), + categories = cms.untracked.vstring('FwkJob'), + destinations = cms.untracked.vstring('cout') +) + +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring('file:single_neutrino_random.root') +) + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(-1) +) + +process.p1 = cms.Path(process.g4SimHits) +process.g4SimHits.UseMagneticField = False +process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics' +process.g4SimHits.Physics.DummyEMPhysics = True +process.g4SimHits.Physics.CutsPerRegion = False +process.g4SimHits.Watchers = cms.VPSet(cms.PSet( + type = cms.string('MaterialBudgetAction'), + MaterialBudgetAction = cms.PSet( + HistosFile = cms.string('matbdg_TEC.root'), + AllStepsToTree = cms.bool(True), + HistogramList = cms.string('Tracker'), + SelectedVolumes = cms.vstring('TEC'), + TreeFile = cms.string('None'), ## is NOT requested + + StopAfterProcess = cms.string('None'), + # string TextFile = "matbdg_TEC.txt" + TextFile = cms.string('None') + ) +)) + + diff --git a/Validation/Geometry/test/runP_TIBPhase1_cfg.py b/Validation/Geometry/test/runP_TIBPhase1_cfg.py new file mode 100644 index 0000000000000..88aa121c7b0b2 --- /dev/null +++ b/Validation/Geometry/test/runP_TIBPhase1_cfg.py @@ -0,0 +1,67 @@ +import FWCore.ParameterSet.Config as cms + +process = cms.Process("PROD") + +process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") + +#Geometry +# +process.load("Configuration.Geometry.GeometryExtended2017_cff") + +#Magnetic Field +# +process.load("Configuration.StandardSequences.MagneticField_38T_PostLS1_cff") + +# Output of events, etc... +# +# Explicit note : since some histos/tree might be dumped directly, +# better NOT use PoolOutputModule ! +# Detector simulation (Geant4-based) +# +process.load("SimG4Core.Application.g4SimHits_cfi") + +process.load("IOMC.RandomEngine.IOMC_cff") +process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876 + +process.MessageLogger = cms.Service("MessageLogger", + cout = cms.untracked.PSet( + default = cms.untracked.PSet( + limit = cms.untracked.int32(0) + ), + FwkJob = cms.untracked.PSet( ## but FwkJob category - those unlimitted + limit = cms.untracked.int32(-1) + ) + ), + categories = cms.untracked.vstring('FwkJob'), + destinations = cms.untracked.vstring('cout') +) + +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring('file:single_neutrino_random.root') +) + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(-1) +) + +process.p1 = cms.Path(process.g4SimHits) +process.g4SimHits.UseMagneticField = False +process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics' +process.g4SimHits.Physics.DummyEMPhysics = True +process.g4SimHits.Physics.CutsPerRegion = False +process.g4SimHits.Watchers = cms.VPSet(cms.PSet( + type = cms.string('MaterialBudgetAction'), + MaterialBudgetAction = cms.PSet( + HistosFile = cms.string('matbdg_TIB.root'), + AllStepsToTree = cms.bool(True), + HistogramList = cms.string('Tracker'), + SelectedVolumes = cms.vstring('TIB'), + TreeFile = cms.string('None'), ## is NOT requested + + StopAfterProcess = cms.string('None'), + # string TextFile = "matbdg_TIB.txt" + TextFile = cms.string('None') + ) +)) + + diff --git a/Validation/Geometry/test/runP_TIDBPhase1_cfg.py b/Validation/Geometry/test/runP_TIDBPhase1_cfg.py new file mode 100644 index 0000000000000..ab2a636fee71e --- /dev/null +++ b/Validation/Geometry/test/runP_TIDBPhase1_cfg.py @@ -0,0 +1,67 @@ +import FWCore.ParameterSet.Config as cms + +process = cms.Process("PROD") + +process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") + +#Geometry +# +process.load("Configuration.Geometry.GeometryExtended2017_cff") + +#Magnetic Field +# +process.load("Configuration.StandardSequences.MagneticField_38T_PostLS1_cff") + +# Output of events, etc... +# +# Explicit note : since some histos/tree might be dumped directly, +# better NOT use PoolOutputModule ! +# Detector simulation (Geant4-based) +# +process.load("SimG4Core.Application.g4SimHits_cfi") + +process.load("IOMC.RandomEngine.IOMC_cff") +process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876 + +process.MessageLogger = cms.Service("MessageLogger", + cout = cms.untracked.PSet( + default = cms.untracked.PSet( + limit = cms.untracked.int32(0) + ), + FwkJob = cms.untracked.PSet( ## but FwkJob category - those unlimitted + limit = cms.untracked.int32(-1) + ) + ), + categories = cms.untracked.vstring('FwkJob'), + destinations = cms.untracked.vstring('cout') +) + +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring('file:single_neutrino_random.root') +) + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(-1) +) + +process.p1 = cms.Path(process.g4SimHits) +process.g4SimHits.UseMagneticField = False +process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics' +process.g4SimHits.Physics.DummyEMPhysics = True +process.g4SimHits.Physics.CutsPerRegion = False +process.g4SimHits.Watchers = cms.VPSet(cms.PSet( + type = cms.string('MaterialBudgetAction'), + MaterialBudgetAction = cms.PSet( + HistosFile = cms.string('matbdg_TIDB.root'), + AllStepsToTree = cms.bool(True), + HistogramList = cms.string('Tracker'), + SelectedVolumes = cms.vstring('TIDB'), + TreeFile = cms.string('None'), ## is NOT requested + + StopAfterProcess = cms.string('None'), + # string TextFile = "matbdg_TIDB.txt" + TextFile = cms.string('None') + ) +)) + + diff --git a/Validation/Geometry/test/runP_TIDFPhase1_cfg.py b/Validation/Geometry/test/runP_TIDFPhase1_cfg.py new file mode 100644 index 0000000000000..9635e80bccfa3 --- /dev/null +++ b/Validation/Geometry/test/runP_TIDFPhase1_cfg.py @@ -0,0 +1,67 @@ +import FWCore.ParameterSet.Config as cms + +process = cms.Process("PROD") + +process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") + +#Geometry +# +process.load("Configuration.Geometry.GeometryExtended2017_cff") + +#Magnetic Field +# +process.load("Configuration.StandardSequences.MagneticField_38T_PostLS1_cff") + +# Output of events, etc... +# +# Explicit note : since some histos/tree might be dumped directly, +# better NOT use PoolOutputModule ! +# Detector simulation (Geant4-based) +# +process.load("SimG4Core.Application.g4SimHits_cfi") + +process.load("IOMC.RandomEngine.IOMC_cff") +process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876 + +process.MessageLogger = cms.Service("MessageLogger", + cout = cms.untracked.PSet( + default = cms.untracked.PSet( + limit = cms.untracked.int32(0) + ), + FwkJob = cms.untracked.PSet( ## but FwkJob category - those unlimitted + limit = cms.untracked.int32(-1) + ) + ), + categories = cms.untracked.vstring('FwkJob'), + destinations = cms.untracked.vstring('cout') +) + +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring('file:single_neutrino_random.root') +) + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(-1) +) + +process.p1 = cms.Path(process.g4SimHits) +process.g4SimHits.UseMagneticField = False +process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics' +process.g4SimHits.Physics.DummyEMPhysics = True +process.g4SimHits.Physics.CutsPerRegion = False +process.g4SimHits.Watchers = cms.VPSet(cms.PSet( + type = cms.string('MaterialBudgetAction'), + MaterialBudgetAction = cms.PSet( + HistosFile = cms.string('matbdg_TIDF.root'), + AllStepsToTree = cms.bool(True), + HistogramList = cms.string('Tracker'), + SelectedVolumes = cms.vstring('TIDF'), + TreeFile = cms.string('None'), ## is NOT requested + + StopAfterProcess = cms.string('None'), + # string TextFile = "matbdg_TIDF.txt" + TextFile = cms.string('None') + ) +)) + + diff --git a/Validation/Geometry/test/runP_TOBPhase1_cfg.py b/Validation/Geometry/test/runP_TOBPhase1_cfg.py new file mode 100644 index 0000000000000..c5bb5647ea4af --- /dev/null +++ b/Validation/Geometry/test/runP_TOBPhase1_cfg.py @@ -0,0 +1,67 @@ +import FWCore.ParameterSet.Config as cms + +process = cms.Process("PROD") + +process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") + +#Geometry +# +process.load("Configuration.Geometry.GeometryExtended2017_cff") + +#Magnetic Field +# +process.load("Configuration.StandardSequences.MagneticField_38T_PostLS1_cff") + +# Output of events, etc... +# +# Explicit note : since some histos/tree might be dumped directly, +# better NOT use PoolOutputModule ! +# Detector simulation (Geant4-based) +# +process.load("SimG4Core.Application.g4SimHits_cfi") + +process.load("IOMC.RandomEngine.IOMC_cff") +process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876 + +process.MessageLogger = cms.Service("MessageLogger", + cout = cms.untracked.PSet( + default = cms.untracked.PSet( + limit = cms.untracked.int32(0) + ), + FwkJob = cms.untracked.PSet( ## but FwkJob category - those unlimitted + limit = cms.untracked.int32(-1) + ) + ), + categories = cms.untracked.vstring('FwkJob'), + destinations = cms.untracked.vstring('cout') +) + +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring('file:single_neutrino_random.root') +) + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(-1) +) + +process.p1 = cms.Path(process.g4SimHits) +process.g4SimHits.UseMagneticField = False +process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics' +process.g4SimHits.Physics.DummyEMPhysics = True +process.g4SimHits.Physics.CutsPerRegion = False +process.g4SimHits.Watchers = cms.VPSet(cms.PSet( + type = cms.string('MaterialBudgetAction'), + MaterialBudgetAction = cms.PSet( + HistosFile = cms.string('matbdg_TOB.root'), + AllStepsToTree = cms.bool(True), + HistogramList = cms.string('Tracker'), + SelectedVolumes = cms.vstring('TOB'), + TreeFile = cms.string('None'), ## is NOT requested + + StopAfterProcess = cms.string('None'), + # string TextFile = "matbdg_TOB.txt" + TextFile = cms.string('None') + ) +)) + + diff --git a/Validation/Geometry/test/runP_TkStrctPhase1_cfg.py b/Validation/Geometry/test/runP_TkStrctPhase1_cfg.py new file mode 100644 index 0000000000000..4b87178e53546 --- /dev/null +++ b/Validation/Geometry/test/runP_TkStrctPhase1_cfg.py @@ -0,0 +1,68 @@ +import FWCore.ParameterSet.Config as cms + +process = cms.Process("PROD") + +process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") + +#Geometry +# +process.load("Configuration.Geometry.GeometryExtended2017_cff") + +#Magnetic Field +# +process.load("Configuration.StandardSequences.MagneticField_38T_PostLS1_cff") + +# Output of events, etc... +# +# Explicit note : since some histos/tree might be dumped directly, +# better NOT use PoolOutputModule ! +# Detector simulation (Geant4-based) +# +process.load("SimG4Core.Application.g4SimHits_cfi") + +process.load("IOMC.RandomEngine.IOMC_cff") +process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876 + +process.MessageLogger = cms.Service("MessageLogger", + cout = cms.untracked.PSet( + default = cms.untracked.PSet( + limit = cms.untracked.int32(0) + ), + FwkJob = cms.untracked.PSet( ## but FwkJob category - those unlimitted + limit = cms.untracked.int32(-1) + ) + ), + categories = cms.untracked.vstring('FwkJob'), + destinations = cms.untracked.vstring('cout') +) + +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring('file:single_neutrino_random.root') +) + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(-1) +) + +process.p1 = cms.Path(process.g4SimHits) +process.g4SimHits.UseMagneticField = False +process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics' +process.g4SimHits.Physics.DummyEMPhysics = True +process.g4SimHits.Physics.CutsPerRegion = False +process.g4SimHits.Watchers = cms.VPSet(cms.PSet( + type = cms.string('MaterialBudgetAction'), + MaterialBudgetAction = cms.PSet( + HistosFile = cms.string('matbdg_TkStrct.root'), + AllStepsToTree = cms.bool(True), + HistogramList = cms.string('Tracker'), + SelectedVolumes = cms.vstring('TrackerOuterCylinder', + 'TrackerBulkhead'), + TreeFile = cms.string('None'), ## is NOT requested + + StopAfterProcess = cms.string('None'), + # string TextFile = "matbdg_TkStrct.txt" + TextFile = cms.string('None') + ) +)) + +