3 process = cms.Process(
"SKIM")
5 process.configurationMetadata = cms.untracked.PSet(
6 version = cms.untracked.string(
'$Revision: 1.4 $'),
7 name = cms.untracked.string(
'$Source: /local/reps/CMSSW/CMSSW/DPGAnalysis/Skims/python/EGMonitorPDSkim_cfg.py,v $'),
8 annotation = cms.untracked.string(
'Combined EGMonitor skim')
16 process.source = cms.Source(
"PoolSource",
17 fileNames = cms.untracked.vstring(
19 '/store/data/Run2010A/MinimumBias/RECO/v1/000/136/066/18F6DB82-5566-DF11-B289-0030487CAF0E.root'),
20 secondaryFileNames = cms.untracked.vstring(
21 '/store/data/Run2010A/MinimumBias/RAW/v1/000/136/066/38D48BED-3C66-DF11-88A5-001D09F27003.root')
24 process.source.inputCommands = cms.untracked.vstring(
"keep *",
"drop *_MEtoEDMConverter_*_*")
26 process.maxEvents = cms.untracked.PSet(
27 input = cms.untracked.int32(1000)
34 process.load(
'Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
35 process.load(
'Configuration/StandardSequences/GeometryIdeal_cff')
38 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
39 process.GlobalTag.globaltag =
'GR_R_36X_V12B::All'
41 process.load(
"Configuration/StandardSequences/RawToDigi_Data_cff")
42 process.load(
"Configuration/StandardSequences/Reconstruction_cff")
43 process.load(
'Configuration/EventContent/EventContent_cff')
46 process.FEVTEventContent.outputCommands.append(
"drop *_MEtoEDMConverter_*_*")
47 process.FEVTEventContent.outputCommands.append(
"drop *_*_*_SKIM")
51 process.load(
'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskAlgoTrigConfig_cff')
52 process.load(
'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
53 process.load(
'HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
57 process.load(
"DPGAnalysis.Skims.filterRecHits_cfi")
59 process.ecalrechitfilter = cms.Path(process.recHitEnergyFilter)
62 process.ecalrechitfilter_out = cms.OutputModule(
"PoolOutputModule",
63 fileName = cms.untracked.string(
'/tmp/azzi/ecalrechitfilter.root'),
64 outputCommands = process.FEVTEventContent.outputCommands,
65 dataset = cms.untracked.PSet(
66 dataTier = cms.untracked.string(
'RAW-RECO'),
67 filterName = cms.untracked.string(
'ECALRECHIT')),
68 SelectEvents = cms.untracked.PSet(
69 SelectEvents = cms.vstring(
'ecalrechitfilter')
76 process.load(
'DPGAnalysis/Skims/singleMuonSkim_cff')
77 process.load(
'DPGAnalysis/Skims/singleElectronSkim_cff')
78 process.load(
'DPGAnalysis/Skims/muonTagProbeFilters_cff')
79 process.load(
'DPGAnalysis/Skims/electronTagProbeFilters_cff')
80 process.load(
'DPGAnalysis/Skims/singlePhotonSkim_cff')
81 process.load(
'DPGAnalysis/Skims/jetSkim_cff')
82 process.load(
'DPGAnalysis/Skims/METSkim_cff')
83 process.load(
'DPGAnalysis/Skims/singlePfTauSkim_cff')
88 process.singleMuPt5SkimPath=cms.Path(process.singleMuPt5RecoQualitySeq)
92 process.singleElectronPt5SkimPath=cms.Path(process.singleElectronPt5RecoQualitySeq)
96 process.singlePhotonPt5SkimPath=cms.Path(process.singlePhotonPt5QualitySeq)
98 process.muonJPsiMMSkimPath=cms.Path(process.muonJPsiMMRecoQualitySeq)
100 process.jetSkimPath=cms.Path(process.jetRecoQualitySeq)
102 process.singlePfTauPt15SkimPath=cms.Path(process.singlePfTauPt15QualitySeq)
103 process.outTPGSkim = cms.OutputModule(
"PoolOutputModule",
104 outputCommands = process.FEVTHLTALLEventContent.outputCommands,
105 fileName = cms.untracked.string(
"/tmp/azzi/TPGSkim.root"),
106 dataset = cms.untracked.PSet(
107 dataTier = cms.untracked.string(
'USER'),
108 filterName = cms.untracked.string(
'TPGSkim')
110 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
114 'singleMuPt5SkimPath',
118 'singleElectronPt5SkimPath',
122 'singlePhotonPt5SkimPath',
124 'muonJPsiMMSkimPath',
128 'singlePfTauPt15SkimPath'))
135 process.load(
"FWCore.Modules.logErrorFilter_cfi")
138 process.gtEvmDigis = gtEvmDigis.clone()
139 process.stableBeam = cms.EDFilter(
"HLTBeamModeFilter",
140 L1GtEvmReadoutRecordTag = cms.InputTag(
"gtEvmDigis"),
141 AllowedBeamMode = cms.vuint32(11),
142 saveTags = cms.bool(
False)
145 process.logerrorpath=cms.Path(process.gtEvmDigis+process.stableBeam+process.logErrorFilter)
147 process.outlogerr = cms.OutputModule(
"PoolOutputModule",
148 outputCommands = process.FEVTEventContent.outputCommands,
149 fileName = cms.untracked.string(
'/tmp/azzi/logerror_filter.root'),
150 dataset = cms.untracked.PSet(
151 dataTier = cms.untracked.string(
'RAW-RECO'),
152 filterName = cms.untracked.string(
'Skim_logerror')),
154 SelectEvents = cms.untracked.PSet(
155 SelectEvents = cms.vstring(
"logerrorpath")
162 process.options = cms.untracked.PSet(
163 wantSummary = cms.untracked.bool(
True)
166 process.outpath = cms.EndPath(process.ecalrechitfilter_out+process.outTPGSkim+process.outlogerr)