CMS 3D CMS Logo

SuperPointing_ToscaMap090322_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(
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')
12  )
13 
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')
18 )
19 
20 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
21 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
22 
23 process.load("Configuration.StandardSequences.MagneticField_cff")
24 
25 process.load("Configuration.StandardSequences.GeometryDB_cff")
26 
27 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
28 process.GlobalTag.globaltag = 'auto:run3_data_prompt'
29 process.prefer("GlobalTag")
30 
31 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
32 
33 
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)
39  )
40 
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)
46  )
47 
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)
53  )
54 
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)
60  )
61 
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)
67  )
68 
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)
74  )
75 
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)
81  )
82 
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)
88  )
89 
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)
95  )
96 
97 
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)
107 
108 
109 
110 process.out = cms.OutputModule("PoolOutputModule",
111  outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
112  SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('cosmicMuonsBarrelOnlyPath',
113  'cosmicMuonsPath',
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')
125  )
126 
127 process.this_is_the_end = cms.EndPath(process.out)
128 
129 
130