3 process = cms.Process(
"SKIM")
5 process.configurationMetadata = cms.untracked.PSet(
6 version = cms.untracked.string(
'$Revision: 1.7 $'),
7 name = cms.untracked.string(
'$Source: /local/reps/CMSSW/CMSSW/DPGAnalysis/Skims/python/CosmicsPDSkim_cfg.py,v $'),
8 annotation = cms.untracked.string(
'Combined Cosmics skim')
18 process.source = cms.Source(
"PoolSource",
19 fileNames = cms.untracked.vstring(
20 '/store/data/BeamCommissioning09/Cosmics/RECO/v2/000/123/596/FC5C3B0F-8AE2-DE11-A905-003048D37456.root'),
21 secondaryFileNames = cms.untracked.vstring(
22 '/store/data/BeamCommissioning09/Cosmics/RAW/v1/000/123/596/8E21B4C8-74E2-DE11-ABAA-000423D999CA.root')
25 process.source.inputCommands = cms.untracked.vstring(
"keep *",
"drop *_MEtoEDMConverter_*_*")
27 process.maxEvents = cms.untracked.PSet(
28 input = cms.untracked.int32(1000)
36 process.load(
'Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
37 process.load(
'Configuration/StandardSequences/GeometryIdeal_cff')
40 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
41 process.GlobalTag.globaltag =
'GR10_P_V8::All'
43 process.load(
"Configuration/StandardSequences/RawToDigi_Data_cff")
44 process.load(
"Configuration/StandardSequences/ReconstructionCosmics_cff")
45 process.load(
'Configuration/EventContent/EventContentCosmics_cff')
50 process.cosmicMuonsBarrelOnlyFilter = cms.EDFilter(
"HLTMuonPointingFilter",
51 SALabel = cms.string(
"cosmicMuonsBarrelOnly"),
52 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
53 radius = cms.double(10.0),
54 maxZ = cms.double(50.0),
55 saveTags = cms.bool(
False)
58 process.cosmicMuonsFilter = cms.EDFilter(
"HLTMuonPointingFilter",
59 SALabel = cms.string(
"cosmicMuons"),
60 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
61 radius = cms.double(10.0),
62 maxZ = cms.double(50.0),
63 saveTags = cms.bool(
False)
66 process.cosmicMuons1LegFilter = cms.EDFilter(
"HLTMuonPointingFilter",
67 SALabel = cms.string(
"cosmicMuons1Leg"),
68 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
69 radius = cms.double(10.0),
70 maxZ = cms.double(50.0),
71 saveTags = cms.bool(
False)
74 process.globalCosmicMuonsBarrelOnlyFilter = cms.EDFilter(
"HLTMuonPointingFilter",
75 SALabel = cms.string(
"globalCosmicMuonsBarrelOnly"),
76 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
77 radius = cms.double(10.0),
78 maxZ = cms.double(50.0),
79 saveTags = cms.bool(
False)
82 process.cosmictrackfinderP5Filter = cms.EDFilter(
"HLTMuonPointingFilter",
83 SALabel = cms.string(
"cosmictrackfinderP5"),
84 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
85 radius = cms.double(10.0),
86 maxZ = cms.double(50.0),
87 saveTags = cms.bool(
False)
90 process.globalCosmicMuonsFilter = cms.EDFilter(
"HLTMuonPointingFilter",
91 SALabel = cms.string(
"globalCosmicMuons"),
92 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
93 radius = cms.double(10.0),
94 maxZ = cms.double(50.0),
95 saveTags = cms.bool(
False)
98 process.rsWithMaterialTracksP5Filter = cms.EDFilter(
"HLTMuonPointingFilter",
99 SALabel = cms.string(
"rsWithMaterialTracksP5"),
100 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
101 radius = cms.double(10.0),
102 maxZ = cms.double(50.0),
103 saveTags = cms.bool(
False)
106 process.globalCosmicMuons1LegFilter = cms.EDFilter(
"HLTMuonPointingFilter",
107 SALabel = cms.string(
"globalCosmicMuons1Leg"),
108 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
109 radius = cms.double(10.0),
110 maxZ = cms.double(50.0),
111 saveTags = cms.bool(
False)
114 process.ctfWithMaterialTracksP5Filter = cms.EDFilter(
"HLTMuonPointingFilter",
115 SALabel = cms.string(
"ctfWithMaterialTracksP5"),
116 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
117 radius = cms.double(10.0),
118 maxZ = cms.double(50.0),
119 saveTags = cms.bool(
False)
123 process.cosmicMuonsBarrelOnlyPath = cms.Path(process.cosmicMuonsBarrelOnlyFilter)
124 process.cosmicMuonsPath = cms.Path(process.cosmicMuonsFilter)
125 process.cosmicMuons1LegPath = cms.Path(process.cosmicMuons1LegFilter)
126 process.globalCosmicMuonsBarrelOnlyPath = cms.Path(process.globalCosmicMuonsBarrelOnlyFilter)
127 process.cosmictrackfinderP5Path = cms.Path(process.cosmictrackfinderP5Filter)
128 process.globalCosmicMuonsPath = cms.Path(process.globalCosmicMuonsFilter)
129 process.rsWithMaterialTracksP5Path = cms.Path(process.rsWithMaterialTracksP5Filter)
130 process.globalCosmicMuons1LegPath = cms.Path(process.globalCosmicMuons1LegFilter)
131 process.ctfWithMaterialTracksP5Path = cms.Path(process.ctfWithMaterialTracksP5Filter)
135 process.outSP = cms.OutputModule(
"PoolOutputModule",
136 outputCommands = cms.untracked.vstring(
'keep *',
'drop *_MEtoEDMConverter_*_*'),
137 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
'cosmicMuonsBarrelOnlyPath',
139 'cosmicMuons1LegPath',
140 'globalCosmicMuonsBarrelOnlyPath',
141 'cosmictrackfinderP5Path',
142 'globalCosmicMuonsPath',
143 'rsWithMaterialTracksP5Path',
144 'globalCosmicMuons1LegPath',
145 'ctfWithMaterialTracksP5Path')),
146 dataset = cms.untracked.PSet(
147 dataTier = cms.untracked.string(
'RAW-RECO'),
148 filterName = cms.untracked.string(
'SuperPointing')),
149 fileName = cms.untracked.string(
'superPointing.root')
156 process.load(
"DPGAnalysis/Skims/CSCSkim_cfi")
160 process.cscSkim.minimumSegments = 1
161 process.cscSkim.minimumHitChambers = 1
164 process.hltBeamHalo = cms.EDFilter(
"HLTHighLevel",
165 TriggerResultsTag = cms.InputTag(
"TriggerResults",
"",
"HLT"),
166 HLTPaths = cms.vstring(
'HLT_CSCBeamHalo',
'HLT_CSCBeamHaloOverlapRing1',
'HLT_CSCBeamHaloOverlapRing',
'HLT_CSCBeamHaloRing2or3'),
167 eventSetupPathsKey = cms.string(
''),
168 andOr = cms.bool(
True),
169 throw = cms.bool(
False),
170 saveTags = cms.bool(
False)
174 process.cscHaloSkim = cms.Path(process.hltBeamHalo+process.cscSkim)
178 process.outputBeamHaloSkim = cms.OutputModule(
"PoolOutputModule",
179 outputCommands = cms.untracked.vstring(
'keep *',
'drop *_MEtoEDMConverter_*_*'),
180 fileName = cms.untracked.string(
"cscskimEvents.root"),
181 dataset = cms.untracked.PSet(
182 dataTier = cms.untracked.string(
'RAW-RECO'),
183 filterName = cms.untracked.string(
'CSCSkim_BeamHalo_Cosmics')
185 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
'cscHaloSkim'))
190 process.load(
"FWCore.Modules.logErrorFilter_cfi")
193 process.gtEvmDigis = gtEvmDigis.clone()
194 process.stableBeam = cms.EDFilter(
"HLTBeamModeFilter",
195 L1GtEvmReadoutRecordTag = cms.InputTag(
"gtEvmDigis"),
196 AllowedBeamMode = cms.vuint32(11),
197 saveTags = cms.bool(
False)
200 process.logerrorpath=cms.Path(process.gtEvmDigis+process.stableBeam+process.logErrorFilter)
202 process.outlogerr = cms.OutputModule(
"PoolOutputModule",
203 outputCommands = process.FEVTEventContent.outputCommands,
204 fileName = cms.untracked.string(
'/tmp/azzi/logerror_filter.root'),
205 dataset = cms.untracked.PSet(
206 dataTier = cms.untracked.string(
'RAW-RECO'),
207 filterName = cms.untracked.string(
'Skim_logerror')),
209 SelectEvents = cms.untracked.PSet(
210 SelectEvents = cms.vstring(
"logerrorpath")
215 process.options = cms.untracked.PSet(
216 wantSummary = cms.untracked.bool(
True)
219 process.outpath = cms.EndPath(process.outSP+process.outputBeamHaloSkim+process.outlogerr)