CMS 3D CMS Logo

EcalTangentSkim_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("NonTkPointSkim")
4 
5 process.load("FWCore.MessageService.MessageLogger_cfi")
6 
7 process.MessageLogger = cms.Service(
8  "MessageLogger",
9  destinations = cms.untracked.vstring('output.txt')
10 )
11 
12 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
13 
14 process.source = cms.Source("PoolSource",
15  fileNames = cms.untracked.vstring(
16  'file:scratch/867948E3-6CC4-DD11-9DB5-0019B9E7CD78.root'
17  )
18 )
19 
20 process.filter = cms.EDFilter('EcalTangentFilter',
21  MuLabel = cms.string("muonsBarrelOnly"),
22  MuD0Min = cms.double(129),
23  MuD0Max = cms.double(152),
24  Verbose = cms.bool(False)
25 )
26 
27 process.p1 = cms.Path(process.filter)
28 
29 process.out = cms.OutputModule("PoolOutputModule",
30  SelectEvents = cms.untracked.PSet(
31  SelectEvents = cms.vstring('p1')
32  ),
33  fileName = cms.untracked.string('EcalTangentSkim.root')
34 )
35 
36 process.o = cms.EndPath(process.out)