CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DPGAnalysis/Skims/python/ECALActivity_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("RESKIM")
00004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
00005 
00006 # activate the following lines to get some output
00007 #process.MessageLogger.destinations = cms.untracked.vstring("cout")
00008 #process.MessageLogger.cout = cms.untracked.PSet(threshold = cms.untracked.string("INFO"))
00009 process.options = cms.untracked.PSet(
00010  wantSummary = cms.untracked.bool(True)
00011 )
00012 
00013 
00014 process.skimming = cms.EDFilter("ECALActivity",
00015     ebrechitcollection =   cms.InputTag("ecalRecHit","EcalRecHitsEB"),
00016     eerechitcollection =   cms.InputTag("ecalRecHit","EcalRecHitsEE"),
00017     EBnum = cms.untracked.int32(7),
00018     EBthresh = cms.untracked.double(0.3),
00019     EEnum = cms.untracked.int32(5), 
00020     EEthresh = cms.untracked.double(0.5),
00021     ETOTnum = cms.untracked.int32(3),
00022     ETOTthresh = cms.untracked.double(0.8),
00023     applyfilter = cms.untracked.bool(True)                            
00024 )                    
00025 
00026 process.source = cms.Source("PoolSource",
00027     debugVerbosity = cms.untracked.uint32(0),
00028     debugFlag = cms.untracked.bool(False),
00029     fileNames = cms.untracked.vstring(
00030 'file:/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/bit40or41skim.root'
00031 #'/store/data/Commissioning08/BeamHalo/RECO/StuffAlmostToP5_v1/000/061/642/10A0FE34-A67D-DD11-AD05-000423D94E1C.root'#
00032 #
00033 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FED0EFCD-AB87-DE11-9B72-000423D99658.root',
00034 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FC629BD2-CF87-DE11-9077-001D09F25438.root',
00035 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FC38EE75-BD87-DE11-822A-001D09F253C0.root',
00036 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FC1CB101-A487-DE11-9F10-000423D99660.root'
00037 #
00038 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/D266D139-D871-DE11-A709-001D09F28F0C.root',
00039 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/CA27788D-E871-DE11-8B46-001D09F276CF.root',
00040 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/AC5633B2-D471-DE11-9B3A-001D09F252F3.root',
00041 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/9CD957E7-D071-DE11-B6AE-001D09F252F3.root',
00042 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/94BF68F7-D171-DE11-902B-000423D986A8.root',
00043 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/7838FE1E-C771-DE11-9FD5-000423D98950.root',
00044 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/56632803-DD71-DE11-BAF5-000423D9870C.root',
00045 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/42A67CB9-E971-DE11-AA86-001D09F252F3.root',
00046 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/407225D3-D071-DE11-809B-001D09F297EF.root',
00047 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/3E5E1CF0-D271-DE11-AC2B-000423D94700.root',
00048 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/2C57E916-D071-DE11-AF0E-001D09F24E39.root',
00049 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/228896A5-E571-DE11-A60B-001D09F2AF96.root'
00050 ))
00051 
00052 process.configurationMetadata = cms.untracked.PSet(
00053     version = cms.untracked.string('$Revision: 1.1 $'),
00054     name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/DPGAnalysis/Skims/python/ECALActivity_cfg.py,v $'),
00055     annotation = cms.untracked.string('ECALActivity skim')
00056 )
00057 
00058 process.maxEvents = cms.untracked.PSet(
00059     input = cms.untracked.int32(-1)
00060 )
00061 process.out = cms.OutputModule("PoolOutputModule",
00062     fileName = cms.untracked.string('ECALActivity.root'),
00063     outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
00064     dataset = cms.untracked.PSet(
00065               dataTier = cms.untracked.string('RECO'),
00066               filterName = cms.untracked.string('ECALActivity')),
00067     SelectEvents = cms.untracked.PSet(
00068         SelectEvents = cms.vstring('p')
00069     )
00070 )
00071 
00072 process.p = cms.Path(process.skimming)
00073 process.e = cms.EndPath(process.out)
00074