1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"SKIM")
5 process.load(
"FWCore.MessageLogger.MessageLogger_cfi")
6 process.load(
"DPGAnalysis/Skims/DetStatus_cfi")
15 process.dcsstatus.DetectorType = cms.vstring(
'TOB',
'BPIX',
'TECp',
'TECm')
16 process.dcsstatus.ApplyFilter = cms.bool(
True)
17 process.dcsstatus.DebugOn = cms.untracked.bool(
True)
18 process.dcsstatus.AndOr = cms.bool(
True)
23 process.configurationMetadata = cms.untracked.PSet(
24 version = cms.untracked.string(
'$Revision: 1.2 $'),
25 name = cms.untracked.string(
'$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/skim_detstatus_cfg.py,v $'),
26 annotation = cms.untracked.string(
'DCSStatus skim')
29 process.maxEvents = cms.untracked.PSet(
30 input = cms.untracked.int32(10)
33 process.out = cms.OutputModule(
"PoolOutputModule",
34 fileName = cms.untracked.string(
'mytest_dcsstatus.root'),
35 outputCommands = cms.untracked.vstring(
'keep *',
'drop *_MEtoEDMConverter_*_*'),
36 dataset = cms.untracked.PSet(
37 dataTier = cms.untracked.string(
'RECO'),
38 filterName = cms.untracked.string(
'DCSStatus')),
39 SelectEvents = cms.untracked.PSet(
40 SelectEvents = cms.vstring(
'p')
44 process.p = cms.Path(process.dcsstatus)
45 process.e = cms.EndPath(process.out)
47 myfilelist = cms.untracked.vstring()
69 process.source = cms.Source(
'PoolSource',
72 fileNames = myfilelist )