Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:26:26

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 # runs particle flow clustering.
0005 
0006 process = cms.Process("PFC")
0007 
0008 process.load("Configuration.StandardSequences.Geometry_cff")
0009 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0010 from Configuration.AlCa.autoCond import autoCond
0011 process.GlobalTag.globaltag = autoCond['startup']
0012 
0013 
0014 process.source = cms.Source("PoolSource", 
0015                             fileNames = cms.untracked.vstring("/store/relval/CMSSW_4_3_0_pre6/RelValTTbar/GEN-SIM-RECO/START43_V3-v1/0085/BC545C44-9F8B-E011-9371-0030486791AA.root") )
0016 
0017 process.maxEvents = cms.untracked.PSet(
0018     input = cms.untracked.int32(200)
0019 )
0020 
0021 process.load("RecoLocalCalo.HcalRecAlgos.hcalRecAlgoESProd_cfi")
0022 process.load("RecoLocalCalo.EcalRecAlgos.EcalSeverityLevelESProducer_cfi")
0023 
0024 process.load("RecoParticleFlow.PFClusterProducer.particleFlowCluster_cff")
0025 
0026 # process.particleFlowClusterECAL.verbose = True
0027 
0028 process.p = cms.Path(
0029     process.particleFlowCluster
0030     )
0031 
0032 
0033 
0034 process.load("Configuration.EventContent.EventContent_cff")
0035 process.reco = cms.OutputModule("PoolOutputModule",
0036     process.RECOSIMEventContent,
0037     fileName = cms.untracked.string('clustering.root')
0038 )
0039 
0040 # process.reco.outputCommands.append('keep recoPFRecHits_*_*_*')
0041 process.reco.outputCommands.append('keep recoPFClusters_*_*_*')
0042 
0043 process.outpath = cms.EndPath( process.reco )
0044 
0045 #