CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/DPGAnalysis/Skims/python/ecalSkim_fromRECO_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("SKIM")
00004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
00005 
00006 #process.load("DPGAnalysis/Skims/ecalSkim_cfi")
00007 process.skimming = cms.EDFilter("EcalSkim",
00008     #cosmic cluster energy threshold in GeV
00009     energyCutEB = cms.untracked.double(2.0),
00010     energyCutEE = cms.untracked.double(2.0),
00011     endcapClusterCollection = cms.InputTag("cosmicSuperClusters","CosmicEndcapSuperClusters"),
00012     barrelClusterCollection = cms.InputTag("cosmicSuperClusters","CosmicBarrelSuperClusters")
00013 )
00014 
00015 process.source = cms.Source("PoolSource",
00016     debugVerbosity = cms.untracked.uint32(0),
00017     debugFlag = cms.untracked.bool(False),
00018     fileNames = cms.untracked.vstring(
00019 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/D266D139-D871-DE11-A709-001D09F28F0C.root',
00020 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/CA27788D-E871-DE11-8B46-001D09F276CF.root',
00021 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/AC5633B2-D471-DE11-9B3A-001D09F252F3.root',
00022 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/9CD957E7-D071-DE11-B6AE-001D09F252F3.root',
00023 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/94BF68F7-D171-DE11-902B-000423D986A8.root',
00024 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/7838FE1E-C771-DE11-9FD5-000423D98950.root',
00025 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/56632803-DD71-DE11-BAF5-000423D9870C.root',
00026 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/42A67CB9-E971-DE11-AA86-001D09F252F3.root',
00027 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/407225D3-D071-DE11-809B-001D09F297EF.root',
00028 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/3E5E1CF0-D271-DE11-AC2B-000423D94700.root',
00029 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/2C57E916-D071-DE11-AF0E-001D09F24E39.root',
00030 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/228896A5-E571-DE11-A60B-001D09F2AF96.root'))
00031 
00032 process.configurationMetadata = cms.untracked.PSet(
00033     version = cms.untracked.string('$Revision: 1.6 $'),
00034     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/ecalSkim_fromRECO_cfg.py,v $'),
00035     annotation = cms.untracked.string('CRAFT ecalSkim_fromRECO skim')
00036 )
00037 
00038 process.maxEvents = cms.untracked.PSet(
00039     input = cms.untracked.int32(1000)
00040 )
00041 process.out = cms.OutputModule("PoolOutputModule",
00042     fileName = cms.untracked.string('/tmp/malgeri/EcalSkim.root'),
00043     outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
00044     dataset = cms.untracked.PSet(
00045               dataTier = cms.untracked.string('RECO'),
00046               filterName = cms.untracked.string('ecalSkim_fromRECO')),
00047     SelectEvents = cms.untracked.PSet(
00048         SelectEvents = cms.vstring('p')
00049     )
00050 )
00051 
00052 process.p = cms.Path(process.skimming)
00053 process.e = cms.EndPath(process.out)
00054