File indexing completed on 2024-04-06 12:29:30
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("PROdTPA")
0004 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0005
0006 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0007
0008 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0009
0010 process.source = cms.Source("PoolSource",
0011 fileNames = cms.untracked.vstring('file:/tmp/MyFirstFamosFile.root')
0012 )
0013
0014 process.maxEvents = cms.untracked.PSet(
0015 input = cms.untracked.int32(-1)
0016 )
0017 process.tpAnalyzer = cms.EDAnalyzer("EcalTrigPrimAnalyzer",
0018 RecHitsProducer = cms.string('ecalRecHit'),
0019 Producer = cms.string(''),
0020 RecHitsLabelEB = cms.string('EcalRecHitsEB'),
0021 RecHitsLabelEE = cms.string('EcalRecHitsEE'),
0022 Label = cms.string('simEcalTriggerPrimitiveDigis'),
0023 AnalyzeRecHits = cms.bool(False)
0024 )
0025
0026 process.TFileService = cms.Service("TFileService",
0027 fileName = cms.string('histos.root'),
0028 closeFileFast = cms.untracked.bool(True)
0029 )
0030
0031 process.p = cms.Path(process.tpAnalyzer)
0032
0033