1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"SKIM")
5 process.configurationMetadata = cms.untracked.PSet(
6 version = cms.untracked.string(
'$Revision: 1.1 $'),
7 name = cms.untracked.string(
'$Source: /cvs/CMSSW/CMSSW/DPGAnalysis/Skims/python/logErrorSkim_cfg.py,v $'),
8 annotation = cms.untracked.string(
'LogError 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 =
'GR10_P_V8::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')
56 process.load(
"FWCore.Modules.logErrorFilter_cfi")
59 process.gtEvmDigis = gtEvmDigis.clone()
60 process.stableBeam = cms.EDFilter(
"HLTBeamModeFilter",
61 L1GtEvmReadoutRecordTag = cms.InputTag(
"gtEvmDigis"),
62 AllowedBeamMode = cms.vuint32(11),
63 saveTags = cms.bool(
False)
66 process.logerrorpath=cms.Path(process.gtEvmDigis+process.stableBeam+process.logErrorFilter)
68 process.outlogerr = cms.OutputModule(
"PoolOutputModule",
69 outputCommands = process.FEVTEventContent.outputCommands,
70 fileName = cms.untracked.string(
'/tmp/azzi/logerror_filter.root'),
71 dataset = cms.untracked.PSet(
72 dataTier = cms.untracked.string(
'RAW-RECO'),
73 filterName = cms.untracked.string(
'Skim_logerror')),
75 SelectEvents = cms.untracked.PSet(
76 SelectEvents = cms.vstring(
"logerrorpath")
79 process.options = cms.untracked.PSet(
80 wantSummary = cms.untracked.bool(
True)
83 process.outpath = cms.EndPath(process.outlogerr)