Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("SKIM")
00004
00005 process.configurationMetadata = cms.untracked.PSet(
00006 version = cms.untracked.string('$Revision: 1.1 $'),
00007 name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/logErrorSkim_cfg.py,v $'),
00008 annotation = cms.untracked.string('LogError skim')
00009 )
00010
00011
00012
00013
00014
00015
00016 process.source = cms.Source("PoolSource",
00017 fileNames = cms.untracked.vstring(
00018
00019 '/store/data/Run2010A/MinimumBias/RECO/v1/000/136/066/18F6DB82-5566-DF11-B289-0030487CAF0E.root'),
00020 secondaryFileNames = cms.untracked.vstring(
00021 '/store/data/Run2010A/MinimumBias/RAW/v1/000/136/066/38D48BED-3C66-DF11-88A5-001D09F27003.root')
00022 )
00023
00024 process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*")
00025
00026 process.maxEvents = cms.untracked.PSet(
00027 input = cms.untracked.int32(1000)
00028 )
00029
00030
00031
00032
00033
00034 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
00035 process.load('Configuration/StandardSequences/GeometryIdeal_cff')
00036
00037
00038 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00039 process.GlobalTag.globaltag = 'GR10_P_V8::All'
00040
00041 process.load("Configuration/StandardSequences/RawToDigi_Data_cff")
00042 process.load("Configuration/StandardSequences/Reconstruction_cff")
00043 process.load('Configuration/EventContent/EventContent_cff')
00044
00045
00046 process.FEVTEventContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
00047 process.FEVTEventContent.outputCommands.append("drop *_*_*_SKIM")
00048
00049
00050
00051 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskAlgoTrigConfig_cff')
00052 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
00053 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
00054
00055
00056 process.load("FWCore.Modules.logErrorFilter_cfi")
00057 from Configuration.StandardSequences.RawToDigi_Data_cff import gtEvmDigis
00058
00059 process.gtEvmDigis = gtEvmDigis.clone()
00060 process.stableBeam = cms.EDFilter("HLTBeamModeFilter",
00061 L1GtEvmReadoutRecordTag = cms.InputTag("gtEvmDigis"),
00062 AllowedBeamMode = cms.vuint32(11)
00063 )
00064
00065 process.logerrorpath=cms.Path(process.gtEvmDigis+process.stableBeam+process.logErrorFilter)
00066
00067 process.outlogerr = cms.OutputModule("PoolOutputModule",
00068 outputCommands = process.FEVTEventContent.outputCommands,
00069 fileName = cms.untracked.string('/tmp/azzi/logerror_filter.root'),
00070 dataset = cms.untracked.PSet(
00071 dataTier = cms.untracked.string('RAW-RECO'),
00072 filterName = cms.untracked.string('Skim_logerror')),
00073
00074 SelectEvents = cms.untracked.PSet(
00075 SelectEvents = cms.vstring("logerrorpath")
00076 ))
00077
00078 process.options = cms.untracked.PSet(
00079 wantSummary = cms.untracked.bool(True)
00080 )
00081
00082 process.outpath = cms.EndPath(process.outlogerr)