CMS 3D CMS Logo

PointingDoubleMultiSkim_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("SKIM")
4 
5 process.source = cms.Source("PoolSource",
6  fileNames = cms.untracked.vstring('file:/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/CRUZET3/CMSSW_2_1_2/src/DPGAnalysis/Skims/python/reco_50908_210_CRZT210_V1P.root')
7  )
8 
9 process.configurationMetadata = cms.untracked.PSet(
10  version = cms.untracked.string('$Revision: 1.4 $'),
11  name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/PointingDoubleMultiSkim_cfg.py,v $'),
12  annotation = cms.untracked.string('CRUZET4 DoubleMuonPointing skim')
13 )
14 
15 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
16 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
17 
18 process.load("Configuration.StandardSequences.MagneticField_cff")
19 process.load("Configuration.StandardSequences.Geometry_cff")
20 
21 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
22 process.GlobalTag.globaltag = 'CRZT210_V1::All'
23 process.prefer("GlobalTag")
24 
25 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
26 
27 
28 
29 
30 process.cosmicMuonsBarrelOnlyTkFilter = cms.EDFilter("HLTMuonPointingFilter",
31  SALabel = cms.InputTag("cosmicMuonsBarrelOnly"),
32  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
33  radius = cms.double(90.0),
34  maxZ = cms.double(130.0)
35  )
36 
37 process.cosmictrackfinderP5TkCntFilter = cms.EDFilter("TrackCountFilter",
38  src = cms.InputTag('cosmictrackfinderP5'),
39  minNumber = cms.uint32(1)
40  )
41 
42 process.ctfWithMaterialTracksP5TkCntFilter = cms.EDFilter("TrackCountFilter",
43  src = cms.InputTag('ctfWithMaterialTracksP5'),
44  minNumber = cms.uint32(1)
45  )
46 
47 process.rsWithMaterialTracksP5TkCntFilter = cms.EDFilter("TrackCountFilter",
48  src = cms.InputTag('rsWithMaterialTracksP5'),
49  minNumber = cms.uint32(1)
50  )
51 
52 process.cosmicMuonsBarrelOnlyTkPath = cms.Path(process.cosmicMuonsBarrelOnlyTkFilter)
53 process.cosmictrackfinderP5TkCntPath = cms.Path(process.cosmictrackfinderP5TkCntFilter)
54 process.ctfWithMaterialTracksP5TkCntPath = cms.Path(process.ctfWithMaterialTracksP5TkCntFilter)
55 process.rsWithMaterialTracksP5TkCntPath = cms.Path(process.rsWithMaterialTracksP5TkCntFilter)
56 
57 process.out1 = cms.OutputModule("PoolOutputModule",
58  SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('cosmicMuonsBarrelOnlyTkPath',
59  'cosmictrackfinderP5TkCntPath',
60  'ctfWithMaterialTracksP5TkCntPath',
61  'rsWithMaterialTracksP5TkCntPath')),
62  dataset = cms.untracked.PSet(
63  dataTier = cms.untracked.string('RECO'),
64  filterName = cms.untracked.string('TrackerPointing')),
65  fileName = cms.untracked.string('trackerPointing.root')
66  )
67 
68 
69 
70 
71 
72 process.multiCosmicMuonFilter = cms.EDFilter("TrackCountFilter",
73  src = cms.InputTag('cosmicMuonsBarrelOnly'),
74  minNumber = cms.uint32(5)
75  )
76 
77 process.multiLHCMuonFilter = cms.EDFilter("TrackCountFilter",
78  src = cms.InputTag('lhcStandAloneMuonsBarrelOnly'),
79  minNumber = cms.uint32(5)
80  )
81 
82 process.multiCosmicMuonPath = cms.Path(process.multiCosmicMuonFilter)
83 process.multiLHCMuonPath = cms.Path(process.multiLHCMuonFilter)
84 
85 process.out2 = cms.OutputModule("PoolOutputModule",
86  SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('multiCosmicMuonPath',
87  'multiLHCMuonPath')),
88  dataset = cms.untracked.PSet(
89  dataTier = cms.untracked.string('RECO'),
90  filterName = cms.untracked.string('multiCosmicMuon')),
91  fileName = cms.untracked.string('multiMuon.root')
92  )
93 
94 
95 
96 
97 
98 process.doubleMuonFilter = cms.EDFilter("TrackCountFilter",
99  src = cms.InputTag('cosmicMuonsBarrelOnly'),
100  minNumber = cms.uint32(2)
101  )
102 
103 process.doubleMuonPath = cms.Path(process.doubleMuonFilter)
104 
105 process.out3 = cms.OutputModule("PoolOutputModule",
106  SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('doubleMuonPath')),
107  dataset = cms.untracked.PSet(
108  dataTier = cms.untracked.string('RECO'),
109  filterName = cms.untracked.string('doubleMuonPath')),
110  fileName = cms.untracked.string('doubleMuon.root')
111  )
112 
113 
114 
115 
116 
117 process.this_is_the_end = cms.EndPath(process.out1+process.out2+process.out3)