File indexing completed on 2024-04-06 12:06:47
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("SKIM")
0004
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 process.load("DPGAnalysis/Skims/DetStatus_cfi")
0007
0008
0009
0010
0011
0012
0013
0014
0015 process.dcsstatus.DetectorType = cms.vstring('TOB','BPIX','TECp','TECm')
0016 process.dcsstatus.ApplyFilter = cms.bool(True)
0017 process.dcsstatus.DebugOn = cms.untracked.bool(True)
0018 process.dcsstatus.AndOr = cms.bool(True)
0019
0020
0021
0022
0023 process.configurationMetadata = cms.untracked.PSet(
0024 version = cms.untracked.string('$Revision: 1.2 $'),
0025 name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/skim_detstatus_cfg.py,v $'),
0026 annotation = cms.untracked.string('DCSStatus skim')
0027 )
0028
0029 process.maxEvents = cms.untracked.PSet(
0030 input = cms.untracked.int32(10)
0031 )
0032
0033 process.out = cms.OutputModule("PoolOutputModule",
0034 fileName = cms.untracked.string('mytest_dcsstatus.root'),
0035 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0036 dataset = cms.untracked.PSet(
0037 dataTier = cms.untracked.string('RECO'),
0038 filterName = cms.untracked.string('DCSStatus')),
0039 SelectEvents = cms.untracked.PSet(
0040 SelectEvents = cms.vstring('p')
0041 )
0042 )
0043
0044 process.p = cms.Path(process.dcsstatus)
0045 process.e = cms.EndPath(process.out)
0046
0047 myfilelist = cms.untracked.vstring()
0048
0049
0050
0051
0052
0053
0054
0055
0056 myfilelist.extend( [
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066 ] )
0067
0068
0069 process.source = cms.Source('PoolSource',
0070
0071
0072 fileNames = myfilelist )
0073
0074