Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:12

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # timing and memory checks
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("GeometryTest")
0008 process.load("Geometry.CMSCommonData.ecalhcalGeometryXML_cfi")
0009 
0010 # Magnetic field full setup
0011 process.load("Configuration.StandardSequences.MagneticField_40T_cff")
0012 #process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0013 
0014 # Calo geometry service model
0015 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0016 
0017 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
0018 
0019 # Calo geometry service model
0020 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0021 
0022 # FastCalorimetry
0023 process.load("FastSimulation.Calorimetry.Calorimetry_cff")
0024 
0025 process.maxEvents = cms.untracked.PSet(
0026     input = cms.untracked.int32(1)
0027 )
0028 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0029     # To restore the status of the last event, just un-comment the
0030     # following line (and comment the saveFileName line!)
0031     # untracked string restoreFileName = "RandomEngineState.log"
0032     # To reproduce events using the RandomEngineStateProducer (source
0033     # excluded), comment the sourceSeed definition, and un-comment 
0034     # the restoreStateLabel
0035     # untracked string restoreStateLabel = "randomEngineStateProducer"
0036     # This is to initialize the random engine of the source
0037     prod = cms.PSet(
0038         initialSeed = cms.untracked.uint32(123456789),
0039         engineName = cms.untracked.string('TRandom3')
0040     ),
0041     # To save the status of the last event (useful for crashes)
0042     # Just give a name to the file you want the status to be saved
0043     # otherwise just put saveFileName = ""
0044     saveFileName = cms.untracked.string('')
0045 )
0046 
0047 process.source = cms.Source("EmptySource")
0048 
0049 process.prod = cms.EDAnalyzer("testCaloGeometryTools")
0050 
0051 process.Timing = cms.Service("Timing")
0052 
0053 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0054 
0055 process.p1 = cms.Path(process.prod)
0056 
0057