-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sunanda
committed
Aug 20, 2021
1 parent
076def7
commit ec08c83
Showing
3 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from Configuration.Eras.Era_Run3_cff import Run3 | ||
process = cms.Process('G4PrintGeometry',Run3) | ||
process.load('SimG4Core.PrintGeomInfo.cmsExtendedGeometry2021_cfi') | ||
process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cff") | ||
process.load("Geometry.EcalCommonData.ecalSimulationParameters_cff") | ||
process.load("Geometry.HcalCommonData.hcalDDDSimConstants_cff") | ||
process.load("Geometry.HcalCommonData.hcalDDDRecConstants_cfi") | ||
process.load("Geometry.MuonNumbering.muonGeometryConstants_cff") | ||
process.load("Geometry.MuonNumbering.muonOffsetESProducer_cff") | ||
process.load('FWCore.MessageService.MessageLogger_cfi') | ||
|
||
from SimG4Core.PrintGeomInfo.g4PrintGeomInfo_cfi import * | ||
|
||
process = printGeomInfo(process) | ||
|
||
if hasattr(process,'MessageLogger'): | ||
process.MessageLogger.G4cerr=dict() | ||
process.MessageLogger.G4cout=dict() | ||
|
||
process.g4SimHits.Watchers = cms.VPSet(cms.PSet( | ||
DumpSummary = cms.untracked.bool(True), | ||
DumpLVTree = cms.untracked.bool(False), | ||
DumpMaterial = cms.untracked.bool(False), | ||
DumpLVList = cms.untracked.bool(False), | ||
DumpLV = cms.untracked.bool(False), | ||
DumpSolid = cms.untracked.bool(False), | ||
DumpAttributes = cms.untracked.bool(False), | ||
DumpPV = cms.untracked.bool(False), | ||
DumpRotation = cms.untracked.bool(False), | ||
DumpReplica = cms.untracked.bool(False), | ||
DumpTouch = cms.untracked.bool(False), | ||
DumpSense = cms.untracked.bool(False), | ||
DD4Hep = cms.untracked.bool(False), | ||
Name = cms.untracked.string(''), | ||
Names = cms.untracked.vstring(''), | ||
MaterialFileName = cms.untracked.string('matfileBigDDD.txt'), | ||
SolidFileName = cms.untracked.string('solidfileBigDDD.txt'), | ||
LVFileName = cms.untracked.string('lvfileBigDDD.txt'), | ||
PVFileName = cms.untracked.string('pvfileBigDDD.txt'), | ||
TouchFileName = cms.untracked.string('touchfileBigDDD.txt'), | ||
FileDetail = cms.untracked.bool(True), | ||
type = cms.string('PrintGeomInfoAction') | ||
)) |
File renamed without changes.
47 changes: 47 additions & 0 deletions
47
Validation/Geometry/test/runMaterialBudgetVolumeBigDDDXML_cfg.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from Configuration.Eras.Era_Run3_cff import Run3 | ||
process = cms.Process('PROD',Run3) | ||
process.load('SimG4Core.PrintGeomInfo.cmsExtendedGeometry2021_cfi') | ||
process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cff") | ||
process.load("Geometry.EcalCommonData.ecalSimulationParameters_cff") | ||
process.load("Geometry.HcalCommonData.hcalDDDSimConstants_cff") | ||
process.load("Geometry.HcalCommonData.hcalDDDRecConstants_cfi") | ||
process.load("Geometry.MuonNumbering.muonGeometryConstants_cff") | ||
process.load("Geometry.MuonNumbering.muonOffsetESProducer_cff") | ||
|
||
process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") | ||
process.load("Configuration.StandardSequences.MagneticField_cff") | ||
process.load("SimG4Core.Application.g4SimHits_cfi") | ||
process.load("Validation.Geometry.materialBudgetVolume_cfi") | ||
|
||
process.load("IOMC.RandomEngine.IOMC_cff") | ||
process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876 | ||
|
||
process.load('FWCore.MessageService.MessageLogger_cfi') | ||
process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(1000) | ||
if hasattr(process,'MessageLogger'): | ||
process.MessageLogger.MaterialBudget=dict() | ||
|
||
process.source = cms.Source("PoolSource", | ||
noEventSort = cms.untracked.bool(True), | ||
duplicateCheckMode = cms.untracked.string("noDuplicateCheck"), | ||
fileNames = cms.untracked.vstring('file:single_neutrino_random.root') | ||
) | ||
|
||
process.maxEvents = cms.untracked.PSet( | ||
input = cms.untracked.int32(-1) | ||
) | ||
|
||
process.TFileService = cms.Service("TFileService", | ||
fileName = cms.string('matbdgRun3dddBigXML.root') | ||
) | ||
|
||
process.g4SimHits.UseMagneticField = False | ||
process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics' | ||
process.g4SimHits.StackingAction.TrackNeutrino = True | ||
process.g4SimHits.Physics.DummyEMPhysics = True | ||
process.g4SimHits.Physics.CutsPerRegion = False | ||
|
||
process.load("Validation.Geometry.materialBudgetVolumeAnalysis_cfi") | ||
process.p1 = cms.Path(process.g4SimHits+process.materialBudgetVolumeAnalysis) |