Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:32:30

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROTPGD")
0004 # ecal mapping
0005 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0006 
0007 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0008 
0009 # Calo geometry service model
0010 process.load("Geometry.CaloEventSetup.CaloGeometry_cfi")
0011 
0012 # Calo geometry service model
0013 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0014 
0015 # IdealGeometryRecord
0016 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0017 
0018 process.load("CalibCalorimetry.Configuration.Ecal_FakeConditions_cff")
0019 
0020 process.load("SimCalorimetry.EcalTrigPrimProducers.ecalTriggerPrimitiveDigis_cff")
0021 
0022 
0023 process.source = cms.Source("PoolSource",
0024     fileNames = cms.untracked.vstring('file:/data/uberthon/tpg/elec_unsupp_pt10-100.root')
0025 )
0026 
0027 process.maxEvents = cms.untracked.PSet(
0028     input = cms.untracked.int32(100)
0029 )
0030 
0031 process.out = cms.OutputModule("PoolOutputModule",
0032     outputCommands = cms.untracked.vstring('drop *_*_*_*', 
0033     'keep *_simEcalTriggerPrimitiveDigis_*_*'),
0034     fileName = cms.untracked.string('file:TrigPrim_unsuppressed.root')
0035 )
0036 
0037 process.Timing = cms.Service("Timing")
0038 
0039 process.MessageLogger = cms.Service("MessageLogger")
0040 
0041 process.p = cms.Path(process.simEcalTriggerPrimitiveDigis)
0042 process.outpath = cms.EndPath(process.out)
0043 
0044