CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DPGAnalysis/Skims/python/skim_detstatus_cfg.py

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 # DCS partitions
00010 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
00011 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
00012 # "BPIX","FPIX","ESp","ESm"
00013 
00014 #adapt skimming
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 #myfilelist.extend( ['file:evenmorefile1.root','file:evenmorefile2.root'] )
00050 #process.source = cms.Source("PoolSource",
00051 #    debugVerbosity = cms.untracked.uint32(0),
00052 #    debugFlag = cms.untracked.bool(False),
00053 #    fileNames = myfilelist
00054 #))
00055 
00056 myfilelist.extend( [
00057 # data
00058 #'/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/124/022/FC89901D-FFE6-DE11-AA38-001D09F25401.root',
00059 #'/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/124/022/EED31843-06E7-DE11-B658-000423D6B5C4.root',
00060 #'/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/124/022/56725260-03E7-DE11-8291-001D09F28EA3.root'
00061 #MC
00062 #'/store/mc/Summer09/MinBias/GEN-SIM-RECO/V16D_900GeV-v1/0000/026DF601-7916-DF11-8223-003048D46012.root',
00063 #'/store/mc/Summer09/MinBias/GEN-SIM-RECO/V16D_900GeV-v1/0000/026DF601-7916-DF11-8223-003048D46012.root'
00064 #RelVal
00065 #'/store/relval/CMSSW_3_4_0_pre2/RelValMinBias/GEN-SIM-RECO/STARTUP3XY_V9-v1/0003/FE73FBC4-C0BD-DE11-9691-0026189438A5.root'
00066 ] )
00067 
00068 
00069 process.source = cms.Source('PoolSource',
00070 #    debugVerbosity = cms.untracked.uint32(0),
00071 #    debugFlag = cms.untracked.bool(False),
00072     fileNames = myfilelist )
00073 
00074