1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"SKIM")
5 process.source = cms.Source(
"PoolSource",
6 fileNames = cms.untracked.vstring(
7 '/store/data/Commissioning08/Cosmics/RECO/CRAFT_ALL_V9_225-v2/0000/FE32B1E4-C7FA-DD11-A2FD-001A92971ADC.root'),
8 secondaryFileNames = cms.untracked.vstring(
9 '/store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/708C5612-CFA5-DD11-AD52-0019DB29C5FC.root',
10 '/store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/38419E41-D1A5-DD11-8B68-001617C3B6E2.root',
11 '/store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/2CDF3B0F-CFA5-DD11-AE18-000423D99A8E.root')
14 process.configurationMetadata = cms.untracked.PSet(
15 version = cms.untracked.string(
'$Revision: 1.13 $'),
16 name = cms.untracked.string(
'$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/SuperPointing_cfg.py,v $'),
17 annotation = cms.untracked.string(
'CRAFT SuperPointing skim')
20 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
21 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(
True))
23 process.load(
"Configuration.StandardSequences.MagneticField_cff")
25 process.load(
"Configuration.StandardSequences.Geometry_cff")
27 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
28 process.GlobalTag.globaltag =
'CRAFT_ALL_V4::All' 29 process.prefer(
"GlobalTag")
31 process.load(
"Configuration.StandardSequences.ReconstructionCosmics_cff")
34 process.cosmicMuonsBarrelOnlyFilter = cms.EDFilter(
"HLTMuonPointingFilter",
35 SALabel = cms.InputTag(
"cosmicMuonsBarrelOnly"),
36 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
37 radius = cms.double(10.0),
38 maxZ = cms.double(50.0)
41 process.cosmicMuonsFilter = cms.EDFilter(
"HLTMuonPointingFilter",
42 SALabel = cms.InputTag(
"cosmicMuons"),
43 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
44 radius = cms.double(10.0),
45 maxZ = cms.double(50.0)
48 process.cosmicMuons1LegFilter = cms.EDFilter(
"HLTMuonPointingFilter",
49 SALabel = cms.InputTag(
"cosmicMuons1Leg"),
50 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
51 radius = cms.double(10.0),
52 maxZ = cms.double(50.0)
55 process.globalCosmicMuonsBarrelOnlyFilter = cms.EDFilter(
"HLTMuonPointingFilter",
56 SALabel = cms.InputTag(
"globalCosmicMuonsBarrelOnly"),
57 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
58 radius = cms.double(10.0),
59 maxZ = cms.double(50.0)
62 process.cosmictrackfinderP5Filter = cms.EDFilter(
"HLTMuonPointingFilter",
63 SALabel = cms.InputTag(
"cosmictrackfinderP5"),
64 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
65 radius = cms.double(10.0),
66 maxZ = cms.double(50.0)
69 process.globalCosmicMuonsFilter = cms.EDFilter(
"HLTMuonPointingFilter",
70 SALabel = cms.InputTag(
"globalCosmicMuons"),
71 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
72 radius = cms.double(10.0),
73 maxZ = cms.double(50.0)
76 process.rsWithMaterialTracksP5Filter = cms.EDFilter(
"HLTMuonPointingFilter",
77 SALabel = cms.InputTag(
"rsWithMaterialTracksP5"),
78 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
79 radius = cms.double(10.0),
80 maxZ = cms.double(50.0)
83 process.globalCosmicMuons1LegFilter = cms.EDFilter(
"HLTMuonPointingFilter",
84 SALabel = cms.InputTag(
"globalCosmicMuons1Leg"),
85 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
86 radius = cms.double(10.0),
87 maxZ = cms.double(50.0)
90 process.ctfWithMaterialTracksP5Filter = cms.EDFilter(
"HLTMuonPointingFilter",
91 SALabel = cms.InputTag(
"ctfWithMaterialTracksP5"),
92 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
93 radius = cms.double(10.0),
94 maxZ = cms.double(50.0)
98 process.cosmicMuonsBarrelOnlyPath = cms.Path(process.cosmicMuonsBarrelOnlyFilter)
99 process.cosmicMuonsPath = cms.Path(process.cosmicMuonsFilter)
100 process.cosmicMuons1LegPath = cms.Path(process.cosmicMuons1LegFilter)
101 process.globalCosmicMuonsBarrelOnlyPath = cms.Path(process.globalCosmicMuonsBarrelOnlyFilter)
102 process.cosmictrackfinderP5Path = cms.Path(process.cosmictrackfinderP5Filter)
103 process.globalCosmicMuonsPath = cms.Path(process.globalCosmicMuonsFilter)
104 process.rsWithMaterialTracksP5Path = cms.Path(process.rsWithMaterialTracksP5Filter)
105 process.globalCosmicMuons1LegPath = cms.Path(process.globalCosmicMuons1LegFilter)
106 process.ctfWithMaterialTracksP5Path = cms.Path(process.ctfWithMaterialTracksP5Filter)
110 process.out = cms.OutputModule(
"PoolOutputModule",
111 outputCommands = cms.untracked.vstring(
'keep *',
'drop *_MEtoEDMConverter_*_*'),
112 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
'cosmicMuonsBarrelOnlyPath',
114 'cosmicMuons1LegPath',
115 'globalCosmicMuonsBarrelOnlyPath',
116 'cosmictrackfinderP5Path',
117 'globalCosmicMuonsPath',
118 'rsWithMaterialTracksP5Path',
119 'globalCosmicMuons1LegPath',
120 'ctfWithMaterialTracksP5Path')),
121 dataset = cms.untracked.PSet(
122 dataTier = cms.untracked.string(
'RAW-RECO'),
123 filterName = cms.untracked.string(
'SuperPointing')),
124 fileName = cms.untracked.string(
'superPointing.root')
127 process.this_is_the_end = cms.EndPath(process.out)