3 process = cms.Process(
"SKIM")
5 process.source = cms.Source(
"PoolSource",
6 fileNames = cms.untracked.vstring(
7 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/D266D139-D871-DE11-A709-001D09F28F0C.root',
8 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/CA27788D-E871-DE11-8B46-001D09F276CF.root',
9 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/AC5633B2-D471-DE11-9B3A-001D09F252F3.root',
10 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/9CD957E7-D071-DE11-B6AE-001D09F252F3.root',
11 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/94BF68F7-D171-DE11-902B-000423D986A8.root',
12 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/7838FE1E-C771-DE11-9FD5-000423D98950.root',
13 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/56632803-DD71-DE11-BAF5-000423D9870C.root',
14 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/42A67CB9-E971-DE11-AA86-001D09F252F3.root',
15 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/407225D3-D071-DE11-809B-001D09F297EF.root',
16 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/3E5E1CF0-D271-DE11-AC2B-000423D94700.root',
17 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/2C57E916-D071-DE11-AF0E-001D09F24E39.root',
18 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/228896A5-E571-DE11-A60B-001D09F2AF96.root')
22 process.configurationMetadata = cms.untracked.PSet(
23 version = cms.untracked.string(
'$Revision: 1.3 $'),
24 name = cms.untracked.string(
'$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/PtMinSelector_cfg.py,v $'),
25 annotation = cms.untracked.string(
'CRAFT Muon Pt 50 skim')
28 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1000))
29 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(
True))
32 process.load(
'Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
33 process.load(
'Configuration/StandardSequences/GeometryIdeal_cff')
35 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
36 process.GlobalTag.globaltag =
'GR09_31X_V3P::All'
38 process.load(
"Configuration.StandardSequences.ReconstructionCosmics_cff")
42 process.cosmictrackfinderP5PtFilter = cms.EDFilter(
"PtMinTrackSelector",
43 src = cms.InputTag(
"cosmictrackfinderP5"),
44 ptMin= cms.double(50.0),
45 filter = cms.bool(
True)
48 process.globalCosmicMuonsPtFilter = cms.EDFilter(
"PtMinTrackSelector",
49 src = cms.InputTag(
"globalCosmicMuons"),
50 ptMin= cms.double(50.0),
51 filter = cms.bool(
True)
55 process.globalCosmicMuons1LegPtFilter = cms.EDFilter(
"PtMinTrackSelector",
56 src = cms.InputTag(
"globalCosmicMuons1Leg"),
57 ptMin= cms.double(50.0),
58 filter = cms.bool(
True)
61 process.ctfWithMaterialTracksP5PtFilter = cms.EDFilter(
"PtMinTrackSelector",
62 src = cms.InputTag(
"ctfWithMaterialTracksP5"),
63 ptMin= cms.double(50.0),
64 filter = cms.bool(
True)
66 process.cosmicMuons1LegPtFilter = cms.EDFilter(
"PtMinTrackSelector",
67 src = cms.InputTag(
"cosmicMuons1Leg"),
68 ptMin= cms.double(50.0),
69 filter = cms.bool(
True)
73 process.cosmictrackfinderP5Path = cms.Path(process.cosmictrackfinderP5PtFilter)
74 process.globalCosmicMuonsPath = cms.Path(process.globalCosmicMuonsPtFilter)
75 process.globalCosmicMuons1LegPath = cms.Path(process.globalCosmicMuons1LegPtFilter)
76 process.ctfWithMaterialTracksP5Path = cms.Path(process.ctfWithMaterialTracksP5PtFilter)
77 process.cosmicMuons1LegPath = cms.Path(process.cosmicMuons1LegPtFilter)
81 process.out = cms.OutputModule(
"PoolOutputModule",
82 outputCommands = cms.untracked.vstring(
'keep *',
83 'drop *_cosmictrackfinderP5PtFilter_*_*',
84 'drop *_globalCosmicMuonsPtFilter_*_*',
85 'drop *_globalCosmicMuons1LegPtFilter_*_*',
86 'drop *_ctfWithMaterialTracksP5PtFilter_*_*',
87 'drop *_cosmicMuons1LegPtFilter_*_*',
88 'drop *_MEtoEDMConverter_*_*'
90 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
'cosmictrackfinderP5Path',
91 'globalCosmicMuonsPath',
92 'globalCosmicMuons1LegPath',
93 'ctfWithMaterialTracksP5Path',
94 'cosmicMuons1LegPath')),
95 dataset = cms.untracked.PSet(
96 dataTier = cms.untracked.string(
'RECO'),
97 filterName = cms.untracked.string(
'MuonPt50')),
98 fileName = cms.untracked.string(
'/tmp/malgeri/PtMinSelector.root')
101 process.this_is_the_end = cms.EndPath(process.out)