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("MessageLogger",
8  cerr = cms.untracked.PSet(
9  enable = cms.untracked.bool(False)
10  ),
11  files = cms.untracked.PSet(
12  output = cms.untracked.PSet(
13  extension = cms.untracked.string('txt')
14  )
15  )
16 )
17 
18 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
19 
20 process.source = cms.Source("PoolSource",
21  fileNames = cms.untracked.vstring(
22  'file:scratch/867948E3-6CC4-DD11-9DB5-0019B9E7CD78.root'
23  )
24 )
25 
26 process.filter = cms.EDFilter('EcalTangentFilter',
27  MuLabel = cms.string("muonsBarrelOnly"),
28  MuD0Min = cms.double(129),
29  MuD0Max = cms.double(152),
30  Verbose = cms.bool(False)
31 )
32 
33 process.p1 = cms.Path(process.filter)
34 
35 process.out = cms.OutputModule("PoolOutputModule",
36  SelectEvents = cms.untracked.PSet(
37  SelectEvents = cms.vstring('p1')
38  ),
39  fileName = cms.untracked.string('EcalTangentSkim.root')
40 )
41 
42 process.o = cms.EndPath(process.out)