CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/DPGAnalysis/Skims/python/EcalTangentSkim_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("NonTkPointSkim")
00004 
00005 process.load("FWCore.MessageService.MessageLogger_cfi")
00006 
00007 process.MessageLogger = cms.Service(
00008         "MessageLogger",
00009         destinations = cms.untracked.vstring('output.txt')
00010 )
00011 
00012 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
00013 
00014 process.source = cms.Source("PoolSource",
00015         fileNames = cms.untracked.vstring(
00016                 'file:scratch/867948E3-6CC4-DD11-9DB5-0019B9E7CD78.root'
00017         )
00018 )
00019 
00020 process.filter = cms.EDFilter('EcalTangentFilter',
00021         MuLabel = cms.string("muonsBarrelOnly"),
00022    MuD0Min = cms.double(129),
00023         MuD0Max = cms.double(152),
00024         Verbose = cms.bool(False)
00025 )
00026 
00027 process.p1 = cms.Path(process.filter)
00028 
00029 process.out = cms.OutputModule("PoolOutputModule",
00030         SelectEvents = cms.untracked.PSet(
00031                 SelectEvents = cms.vstring('p1')
00032         ),
00033         fileName = cms.untracked.string('EcalTangentSkim.root')
00034 )
00035 
00036 process.o = cms.EndPath(process.out)