Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-12-24 02:22:27

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run3_DDD_cff import Run3_DDD
0004 process = cms.Process('PROD',Run3_DDD)
0005 
0006 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0007 process.load("Configuration.Geometry.GeometryExtended2021Reco_cff")
0008 process.load("Configuration.StandardSequences.MagneticField_cff")
0009 process.load("SimG4Core.Application.g4SimHits_cfi")
0010 
0011 process.load("IOMC.RandomEngine.IOMC_cff")
0012 process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876
0013 
0014 process.load('FWCore.MessageService.MessageLogger_cfi')
0015 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(10000)
0016 if hasattr(process,'MessageLogger'):
0017     process.MessageLogger.MaterialBudget=dict()
0018 
0019 process.source = cms.Source("PoolSource",
0020     noEventSort = cms.untracked.bool(True),
0021     duplicateCheckMode = cms.untracked.string("noDuplicateCheck"),
0022     fileNames = cms.untracked.vstring('file:single_neutrino_random.root')
0023 )
0024 
0025 process.maxEvents = cms.untracked.PSet(
0026     input = cms.untracked.int32(-1)
0027 )
0028 
0029 process.TFileService = cms.Service("TFileService",
0030     fileName = cms.string('matbdgHCAL_run3.root')
0031 )
0032 
0033 process.p1 = cms.Path(process.g4SimHits)
0034 process.g4SimHits.UseMagneticField = False
0035 process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics'
0036 process.g4SimHits.StackingAction.TrackNeutrino = True
0037 process.g4SimHits.Physics.DummyEMPhysics = True
0038 process.g4SimHits.Physics.CutsPerRegion = False
0039 process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
0040     MaterialBudgetHcal = cms.PSet(
0041         FillHisto    = cms.untracked.bool(True),
0042         PrintSummary = cms.untracked.bool(True),
0043         DoHCAL       = cms.untracked.bool(True),
0044         NBinPhi      = cms.untracked.int32(180),
0045         NBinEta      = cms.untracked.int32(260),
0046         MaxEta       = cms.untracked.double(5.2),
0047         EtaLow       = cms.untracked.double(-5.2),
0048         EtaHigh      = cms.untracked.double(5.2),
0049         EtaMinP      = cms.untracked.double(5.2),
0050         EtaMaxP      = cms.untracked.double(0.0),
0051 #       EtaMinP      = cms.untracked.double(1.39),
0052 #       EtaMaxP      = cms.untracked.double(1.42),
0053 #       EtaMinP      = cms.untracked.double(2.90),
0054 #       EtaMaxP      = cms.untracked.double(3.00),
0055         EtaLowMin    = cms.untracked.double(0.783),
0056         EtaLowMax    = cms.untracked.double(0.870),
0057         EtaMidMin    = cms.untracked.double(2.650),
0058         EtaMidMax    = cms.untracked.double(2.868),
0059         EtaHighMin   = cms.untracked.double(2.868),
0060         EtaHighMax   = cms.untracked.double(3.000),
0061         RMax         = cms.untracked.double(5.0),
0062         ZMax         = cms.untracked.double(14.0),
0063         Fromdd4hep   = cms.untracked.bool(False)
0064     ),
0065     type = cms.string('MaterialBudgetHcal')
0066 ))
0067 
0068