Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("SKIM")
00004
00005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
00006 process.load("DPGAnalysis/Skims/DetStatus_cfi")
00007
00008
00009
00010
00011
00012
00013
00014
00015 process.dcsstatus.DetectorType = cms.vstring('TOB','BPIX','TECp','TECm')
00016 process.dcsstatus.ApplyFilter = cms.bool(True)
00017 process.dcsstatus.DebugOn = cms.untracked.bool(True)
00018 process.dcsstatus.AndOr = cms.bool(True)
00019
00020
00021
00022
00023 process.configurationMetadata = cms.untracked.PSet(
00024 version = cms.untracked.string('$Revision: 1.3 $'),
00025 name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/skim_detstatus_cfg.py,v $'),
00026 annotation = cms.untracked.string('DCSStatus skim')
00027 )
00028
00029 process.maxEvents = cms.untracked.PSet(
00030 input = cms.untracked.int32(10)
00031 )
00032
00033 process.out = cms.OutputModule("PoolOutputModule",
00034 fileName = cms.untracked.string('mytest_dcsstatus.root'),
00035 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
00036 dataset = cms.untracked.PSet(
00037 dataTier = cms.untracked.string('RECO'),
00038 filterName = cms.untracked.string('DCSStatus')),
00039 SelectEvents = cms.untracked.PSet(
00040 SelectEvents = cms.vstring('p')
00041 )
00042 )
00043
00044 process.p = cms.Path(process.dcsstatus)
00045 process.e = cms.EndPath(process.out)
00046
00047 myfilelist = cms.untracked.vstring()
00048
00049
00050
00051
00052
00053
00054
00055
00056 myfilelist.extend( [
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066 ] )
00067
00068
00069 process.source = cms.Source('PoolSource',
00070
00071
00072 fileNames = myfilelist )
00073
00074