Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:29:56

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run3_DDD_cff import Run3_DDD
0004 process = cms.Process('Dump',Run3_DDD)
0005 #from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep
0006 #process = cms.Process('Dump',Run3_dd4hep)
0007 
0008 # import of standard configurations
0009 process.load('FWCore.MessageService.MessageLogger_cfi')
0010 process.load('Configuration.Geometry.GeometryExtended2021_cff') 
0011 process.load('Configuration.Geometry.GeometryExtended2021Reco_cff') 
0012 #process.load('Configuration.Geometry.GeometryDD4hepExtended2021_cff') 
0013 #process.load('Configuration.Geometry.GeometryDD4hepExtended2021Reco_cff') 
0014 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0015 process.load("Configuration.StandardSequences.MagneticField_cff")
0016 process.load("Configuration.EventContent.EventContent_cff")
0017 process.load('FWCore.MessageService.MessageLogger_cfi')
0018 process.load("SimG4CMS.Calo.EcalSimHitStudy_cfi")
0019 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0020 from Configuration.AlCa.GlobalTag import GlobalTag 
0021 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2022_realistic', '')
0022 
0023 process.source = cms.Source("PoolSource",
0024                             fileNames = cms.untracked.vstring('file:singleElectron_ddd.root')
0025 )
0026 
0027 process.maxEvents = cms.untracked.PSet(
0028     input = cms.untracked.int32(-1)
0029 )
0030 
0031 process.TFileService = cms.Service("TFileService",
0032                                    fileName = cms.string('ecalHitddd.root'),
0033                                    closeFileFast = cms.untracked.bool(True)
0034                                    )
0035 
0036 process.p = cms.Path(process.EcalSimHitStudy)