1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"SKIM")
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')
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')
15 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
16 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(
True))
18 process.load(
"Configuration.StandardSequences.MagneticField_cff")
19 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
21 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
22 process.GlobalTag.globaltag =
'auto:run3_data_prompt' 23 process.prefer(
"GlobalTag")
25 process.load(
"Configuration.StandardSequences.ReconstructionCosmics_cff")
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)
37 process.cosmictrackfinderP5TkCntFilter = cms.EDFilter(
"TrackCountFilter",
38 src = cms.InputTag(
'cosmictrackfinderP5'),
39 minNumber = cms.uint32(1)
42 process.ctfWithMaterialTracksP5TkCntFilter = cms.EDFilter(
"TrackCountFilter",
43 src = cms.InputTag(
'ctfWithMaterialTracksP5'),
44 minNumber = cms.uint32(1)
47 process.rsWithMaterialTracksP5TkCntFilter = cms.EDFilter(
"TrackCountFilter",
48 src = cms.InputTag(
'rsWithMaterialTracksP5'),
49 minNumber = cms.uint32(1)
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)
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')
72 process.multiCosmicMuonFilter = cms.EDFilter(
"TrackCountFilter",
73 src = cms.InputTag(
'cosmicMuonsBarrelOnly'),
74 minNumber = cms.uint32(5)
77 process.multiLHCMuonFilter = cms.EDFilter(
"TrackCountFilter",
78 src = cms.InputTag(
'lhcStandAloneMuonsBarrelOnly'),
79 minNumber = cms.uint32(5)
82 process.multiCosmicMuonPath = cms.Path(process.multiCosmicMuonFilter)
83 process.multiLHCMuonPath = cms.Path(process.multiLHCMuonFilter)
85 process.out2 = cms.OutputModule(
"PoolOutputModule",
86 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
'multiCosmicMuonPath',
88 dataset = cms.untracked.PSet(
89 dataTier = cms.untracked.string(
'RECO'),
90 filterName = cms.untracked.string(
'multiCosmicMuon')),
91 fileName = cms.untracked.string(
'multiMuon.root')
98 process.doubleMuonFilter = cms.EDFilter(
"TrackCountFilter",
99 src = cms.InputTag(
'cosmicMuonsBarrelOnly'),
100 minNumber = cms.uint32(2)
103 process.doubleMuonPath = cms.Path(process.doubleMuonFilter)
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')
117 process.this_is_the_end = cms.EndPath(process.out1+process.out2+process.out3)