3 process = cms.Process(
"SKIM")
5 process.configurationMetadata = cms.untracked.PSet(
6 version = cms.untracked.string(
'$Revision: 1.6 $'),
7 name = cms.untracked.string(
'$Source: /cvs/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.InputTag(
"cosmicMuonsBarrelOnly"),
52 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
53 radius = cms.double(10.0),
54 maxZ = cms.double(50.0),
57 process.cosmicMuonsFilter = cms.EDFilter(
"HLTMuonPointingFilter",
58 SALabel = cms.InputTag(
"cosmicMuons"),
59 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
60 radius = cms.double(10.0),
61 maxZ = cms.double(50.0),
64 process.cosmicMuons1LegFilter = cms.EDFilter(
"HLTMuonPointingFilter",
65 SALabel = cms.InputTag(
"cosmicMuons1Leg"),
66 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
67 radius = cms.double(10.0),
68 maxZ = cms.double(50.0),
71 process.globalCosmicMuonsBarrelOnlyFilter = cms.EDFilter(
"HLTMuonPointingFilter",
72 SALabel = cms.InputTag(
"globalCosmicMuonsBarrelOnly"),
73 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
74 radius = cms.double(10.0),
75 maxZ = cms.double(50.0),
78 process.cosmictrackfinderP5Filter = cms.EDFilter(
"HLTMuonPointingFilter",
79 SALabel = cms.InputTag(
"cosmictrackfinderP5"),
80 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
81 radius = cms.double(10.0),
82 maxZ = cms.double(50.0),
85 process.globalCosmicMuonsFilter = cms.EDFilter(
"HLTMuonPointingFilter",
86 SALabel = cms.InputTag(
"globalCosmicMuons"),
87 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
88 radius = cms.double(10.0),
89 maxZ = cms.double(50.0),
92 process.rsWithMaterialTracksP5Filter = cms.EDFilter(
"HLTMuonPointingFilter",
93 SALabel = cms.InputTag(
"rsWithMaterialTracksP5"),
94 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
95 radius = cms.double(10.0),
96 maxZ = cms.double(50.0),
99 process.globalCosmicMuons1LegFilter = cms.EDFilter(
"HLTMuonPointingFilter",
100 SALabel = cms.InputTag(
"globalCosmicMuons1Leg"),
101 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
102 radius = cms.double(10.0),
103 maxZ = cms.double(50.0),
106 process.ctfWithMaterialTracksP5Filter = cms.EDFilter(
"HLTMuonPointingFilter",
107 SALabel = cms.InputTag(
"ctfWithMaterialTracksP5"),
108 PropagatorName = cms.string(
"SteppingHelixPropagatorAny"),
109 radius = cms.double(10.0),
110 maxZ = cms.double(50.0),
114 process.cosmicMuonsBarrelOnlyPath = cms.Path(process.cosmicMuonsBarrelOnlyFilter)
115 process.cosmicMuonsPath = cms.Path(process.cosmicMuonsFilter)
116 process.cosmicMuons1LegPath = cms.Path(process.cosmicMuons1LegFilter)
117 process.globalCosmicMuonsBarrelOnlyPath = cms.Path(process.globalCosmicMuonsBarrelOnlyFilter)
118 process.cosmictrackfinderP5Path = cms.Path(process.cosmictrackfinderP5Filter)
119 process.globalCosmicMuonsPath = cms.Path(process.globalCosmicMuonsFilter)
120 process.rsWithMaterialTracksP5Path = cms.Path(process.rsWithMaterialTracksP5Filter)
121 process.globalCosmicMuons1LegPath = cms.Path(process.globalCosmicMuons1LegFilter)
122 process.ctfWithMaterialTracksP5Path = cms.Path(process.ctfWithMaterialTracksP5Filter)
126 process.outSP = cms.OutputModule(
"PoolOutputModule",
127 outputCommands = cms.untracked.vstring(
'keep *',
'drop *_MEtoEDMConverter_*_*'),
128 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
'cosmicMuonsBarrelOnlyPath',
130 'cosmicMuons1LegPath',
131 'globalCosmicMuonsBarrelOnlyPath',
132 'cosmictrackfinderP5Path',
133 'globalCosmicMuonsPath',
134 'rsWithMaterialTracksP5Path',
135 'globalCosmicMuons1LegPath',
136 'ctfWithMaterialTracksP5Path')),
137 dataset = cms.untracked.PSet(
138 dataTier = cms.untracked.string(
'RAW-RECO'),
139 filterName = cms.untracked.string(
'SuperPointing')),
140 fileName = cms.untracked.string(
'superPointing.root')
147 process.load(
"DPGAnalysis/Skims/CSCSkim_cfi")
151 process.cscSkim.minimumSegments = 1
152 process.cscSkim.minimumHitChambers = 1
155 process.hltBeamHalo = cms.EDFilter(
"HLTHighLevel",
156 TriggerResultsTag = cms.InputTag(
"TriggerResults",
"",
"HLT"),
157 HLTPaths = cms.vstring(
'HLT_CSCBeamHalo',
'HLT_CSCBeamHaloOverlapRing1',
'HLT_CSCBeamHaloOverlapRing',
'HLT_CSCBeamHaloRing2or3'),
158 eventSetupPathsKey = cms.string(
''),
159 andOr = cms.bool(
True),
160 throw = cms.bool(
False),
161 saveTags = cms.bool(
False)
165 process.cscHaloSkim = cms.Path(process.hltBeamHalo+process.cscSkim)
169 process.outputBeamHaloSkim = cms.OutputModule(
"PoolOutputModule",
170 outputCommands = cms.untracked.vstring(
'keep *',
'drop *_MEtoEDMConverter_*_*'),
171 fileName = cms.untracked.string(
"cscskimEvents.root"),
172 dataset = cms.untracked.PSet(
173 dataTier = cms.untracked.string(
'RAW-RECO'),
174 filterName = cms.untracked.string(
'CSCSkim_BeamHalo_Cosmics')
176 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
'cscHaloSkim'))
181 process.load(
"FWCore.Modules.logErrorFilter_cfi")
184 process.gtEvmDigis = gtEvmDigis.clone()
185 process.stableBeam = cms.EDFilter(
"HLTBeamModeFilter",
186 L1GtEvmReadoutRecordTag = cms.InputTag(
"gtEvmDigis"),
187 AllowedBeamMode = cms.vuint32(11),
188 saveTags = cms.bool(
False)
191 process.logerrorpath=cms.Path(process.gtEvmDigis+process.stableBeam+process.logErrorFilter)
193 process.outlogerr = cms.OutputModule(
"PoolOutputModule",
194 outputCommands = process.FEVTEventContent.outputCommands,
195 fileName = cms.untracked.string(
'/tmp/azzi/logerror_filter.root'),
196 dataset = cms.untracked.PSet(
197 dataTier = cms.untracked.string(
'RAW-RECO'),
198 filterName = cms.untracked.string(
'Skim_logerror')),
200 SelectEvents = cms.untracked.PSet(
201 SelectEvents = cms.vstring(
"logerrorpath")
206 process.options = cms.untracked.PSet(
207 wantSummary = cms.untracked.bool(
True)
210 process.outpath = cms.EndPath(process.outSP+process.outputBeamHaloSkim+process.outlogerr)