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')
15 process.configurationMetadata = cms.untracked.PSet(
16 version = cms.untracked.string(
'$Revision: 1.10 $'),
17 name = cms.untracked.string(
'$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/TrackerPointing_cfg.py,v $'),
18 annotation = cms.untracked.string(
'CRAFT TrackerPointing skim')
21 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
22 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(
True))
24 process.load(
"Configuration.StandardSequences.MagneticField_cff")
26 process.load(
"Configuration.StandardSequences.Geometry_cff")
28 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
29 process.GlobalTag.globaltag =
'CRAFT_V4P::All' 30 process.prefer(
"GlobalTag")
32 process.load(
"Configuration.StandardSequences.ReconstructionCosmics_cff")
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.cosmicMuonsBarrelOnlyTkFilter = cms.EDFilter(
"HLTMuonPointingFilter",
53 SALabel = cms.InputTag(
"cosmicMuonsBarrelOnly"),
54 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
55 radius = cms.double(90.0),
56 maxZ = cms.double(130.0)
59 process.cosmicMuonsBarrelOnlyTkPath = cms.Path(process.cosmicMuonsBarrelOnlyTkFilter)
60 process.cosmictrackfinderP5TkCntPath = cms.Path(process.cosmictrackfinderP5TkCntFilter)
61 process.ctfWithMaterialTracksP5TkCntPath = cms.Path(process.ctfWithMaterialTracksP5TkCntFilter)
62 process.rsWithMaterialTracksP5TkCntPath = cms.Path(process.rsWithMaterialTracksP5TkCntFilter)
65 process.out = cms.OutputModule(
"PoolOutputModule",
66 outputCommands = cms.untracked.vstring(
'keep *',
'drop *_MEtoEDMConverter_*_*'),
67 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
'cosmicMuonsBarrelOnlyTkPath',
68 'cosmictrackfinderP5TkCntPath',
69 'ctfWithMaterialTracksP5TkCntPath',
70 'rsWithMaterialTracksP5TkCntPath')),
71 dataset = cms.untracked.PSet(
72 dataTier = cms.untracked.string(
'RAW-RECO'),
73 filterName = cms.untracked.string(
'TrackingPointing')),
74 fileName = cms.untracked.string(
'trackerPointing.root')
77 process.this_is_the_end = cms.EndPath(process.out)