Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:29: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 # magnetic field
0010 process.load("Configuration.StandardSequences.MagneticField_cff")
0011 
0012 # Calo geometry service model
0013 process.load("Geometry.CaloEventSetup.CaloGeometry_cfi")
0014 
0015 # Calo geometry service model
0016 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0017 
0018 # IdealGeometryRecord
0019 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0020 
0021 process.load("CalibCalorimetry.Configuration.Ecal_FakeConditions_cff")
0022 
0023 #include  "SimCalorimetry/EcalTrigPrimProducers/data/ecalTriggerPrimitiveDigis_with_suppressed.cff"
0024 process.load("SimCalorimetry.EcalTrigPrimProducers.ecalTriggerPrimitiveDigis_cff")
0025 
0026 process.source = cms.Source("PoolSource",
0027     fileNames = cms.untracked.vstring('file:/data/uberthon/tpg/elec_unsupp_pt10-100.root')
0028 )
0029 
0030 process.maxEvents = cms.untracked.PSet(
0031     input = cms.untracked.int32(10)
0032 )
0033 process.out = cms.OutputModule("PoolOutputModule",
0034     outputCommands = cms.untracked.vstring('drop *_*_*_*', 
0035         'keep *_simEcalTriggerPrimitiveDigis_*_*', 
0036         'keep *_ecalDigis_*_*', 
0037         'keep *_ecalRecHit_*_*', 
0038         'keep *_ecalWeightUncalibRecHit_*_*', 
0039         'keep PCaloHits_*_EcalHitsEB_*', 
0040         'keep PCaloHits_*_EcalHitsEE_*', 
0041         'keep edmHepMCProduct_*_*_*'),
0042     fileName = cms.untracked.string('TrigPrim.root')
0043 )
0044 
0045 process.Timing = cms.Service("Timing")
0046 
0047 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0048 
0049 process.MessageLogger = cms.Service("MessageLogger",
0050     cerr = cms.untracked.PSet(
0051         enable = cms.untracked.bool(False)
0052     ),
0053     cout = cms.untracked.PSet(
0054         DEBUG = cms.untracked.PSet(
0055             limit = cms.untracked.int32(0)
0056         ),
0057         EcalTPG = cms.untracked.PSet(
0058             limit = cms.untracked.int32(1000000)
0059         ),
0060         enable = cms.untracked.bool(True),
0061         threshold = cms.untracked.string('DEBUG')
0062     ),
0063     debugModules = cms.untracked.vstring('simEcalTriggerPrimitiveDigis')
0064 )
0065 
0066 process.p = cms.Path(process.simEcalTriggerPrimitiveDigis)
0067 process.outpath = cms.EndPath(process.out)
0068 
0069