Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:00:41

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 
0009 # Magnetic field full setup
0010 process.load("Configuration.StandardSequences.MagneticField_40T_cff")
0011 #process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0012 
0013 # Calo geometry service model
0014 process.load("Configuration.StandardSequences.Geometry_cff")
0015 
0016 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0017 
0018 # FastCalorimetry
0019 process.load("FastSimulation.Calorimetry.Calorimetry_cff")
0020 
0021 process.maxEvents = cms.untracked.PSet(
0022     input = cms.untracked.int32(1)
0023 )
0024 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0025     prod = cms.PSet(
0026         initialSeed = cms.untracked.uint32(123456789),
0027         engineName = cms.untracked.string('TRandom3')
0028     ),
0029     saveFileName = cms.untracked.string('')
0030 )
0031 
0032 process.source = cms.Source("EmptySource")
0033 
0034 from FastSimulation.Calorimetry.Calorimetry_cff import *
0035 
0036 process.prod = cms.EDAnalyzer("testEcalHitMaker",
0037                               FamosCalorimetryBlock,
0038                               TestParticleFilter = cms.PSet(
0039     # Particles with |eta| > etaMax (momentum direction at primary vertex) 
0040     # are not simulated 
0041     etaMax = cms.double(5.0),
0042     # Charged particles with pT < pTMin (GeV/c) are not simulated
0043     pTMin = cms.double(0.0),
0044     # Particles with energy smaller than EMin (GeV) are not simulated
0045     EMin = cms.double(0.0),
0046     # Protons with energy in excess of this value (GeV) will kept no matter what
0047     EProton = cms.double(99999.0)
0048     )
0049 )
0050 
0051 
0052 process.Timing = cms.Service("Timing")
0053 
0054 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0055 
0056 process.p1 = cms.Path(process.prod)
0057 
0058