Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:16

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 # DCS partitions
0010 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
0011 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
0012 # "BPIX","FPIX","ESp","ESm"
0013 
0014 #adapt skimming
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 #myfilelist.extend( ['file:evenmorefile1.root','file:evenmorefile2.root'] )
0050 #process.source = cms.Source("PoolSource",
0051 #    debugVerbosity = cms.untracked.uint32(0),
0052 #    debugFlag = cms.untracked.bool(False),
0053 #    fileNames = myfilelist
0054 #))
0055 
0056 myfilelist.extend( [
0057 # data
0058 #'/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/124/022/FC89901D-FFE6-DE11-AA38-001D09F25401.root',
0059 #'/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/124/022/EED31843-06E7-DE11-B658-000423D6B5C4.root',
0060 #'/store/express/BeamCommissioning09/ExpressPhysics/FEVT/v2/000/124/022/56725260-03E7-DE11-8291-001D09F28EA3.root'
0061 #MC
0062 #'/store/mc/Summer09/MinBias/GEN-SIM-RECO/V16D_900GeV-v1/0000/026DF601-7916-DF11-8223-003048D46012.root',
0063 #'/store/mc/Summer09/MinBias/GEN-SIM-RECO/V16D_900GeV-v1/0000/026DF601-7916-DF11-8223-003048D46012.root'
0064 #RelVal
0065 #'/store/relval/CMSSW_3_4_0_pre2/RelValMinBias/GEN-SIM-RECO/STARTUP3XY_V9-v1/0003/FE73FBC4-C0BD-DE11-9691-0026189438A5.root'
0066 ] )
0067 
0068 
0069 process.source = cms.Source('PoolSource',
0070 #    debugVerbosity = cms.untracked.uint32(0),
0071 #    debugFlag = cms.untracked.bool(False),
0072     fileNames = myfilelist )
0073 
0074