File indexing completed on 2024-04-06 12:29:30
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("PROTPGD")
0004
0005 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0006
0007 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0008
0009
0010 process.load("Configuration.StandardSequences.MagneticField_cff")
0011
0012
0013 process.load("Geometry.CaloEventSetup.CaloGeometry_cfi")
0014
0015
0016 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0017
0018
0019 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0020
0021 process.load("CalibCalorimetry.Configuration.Ecal_FakeConditions_cff")
0022
0023 process.load("SimCalorimetry.EcalTrigPrimProducers.ecalTriggerPrimitiveDigis_cff")
0024
0025 process.source = cms.Source("PoolSource",
0026 fileNames = cms.untracked.vstring('file:/tmp/uberthon/tpg2/famos_input2.root')
0027 )
0028
0029 process.maxEvents = cms.untracked.PSet(
0030 input = cms.untracked.int32(100)
0031 )
0032 process.out = cms.OutputModule("PoolOutputModule",
0033 fileName = cms.untracked.string('file:TrigPrim_famos.root')
0034 )
0035
0036 process.MessageLogger = cms.Service("MessageLogger")
0037
0038 process.ProfilerService = cms.Service("ProfilerService",
0039 lastEvent = cms.untracked.int32(10),
0040 firstEvent = cms.untracked.int32(1),
0041 paths = cms.untracked.vstring('p')
0042 )
0043
0044 process.p = cms.Path(process.simEcalTriggerPrimitiveDigis)
0045 process.outpath = cms.EndPath(process.out)
0046 process.simEcalTriggerPrimitiveDigis.Famos = True
0047 process.simEcalTriggerPrimitiveDigis.Label = 'RecHits'
0048
0049