Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("SKIM")
0004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0005 
0006 # activate the following lines to get some output
0007 #process.MessageLogger.cerr.enable = False
0008 #process.MessageLogger.cout = dict(enable = True, threshold = "INFO")
0009 process.options = cms.untracked.PSet(
0010  wantSummary = cms.untracked.bool(True)
0011 )
0012 
0013 
0014 
0015 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
0016 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
0017 
0018 process.L1T1=process.hltLevel1GTSeed.clone()
0019 process.L1T1.L1TechTriggerSeeding = cms.bool(True)
0020 process.L1T1.L1SeedsLogicalExpression = cms.string('(40 OR 41) AND NOT (36 OR 37 OR 38 OR 39)')
0021 
0022 
0023 # process.bscnobeamhalo = cms.Path(process.L1T1+~process.L1T2)
0024 process.bscnobeamhalo = cms.Path(process.L1T1)
0025 
0026 
0027 process.source = cms.Source("PoolSource",
0028                             fileNames = cms.untracked.vstring(
0029 '/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/123/596/7E34865F-45E2-DE11-896A-000423D98F98.root',   
0030 '/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/123/596/7E34865F-45E2-DE11-896A-000423D98F98.root'
0031 ),   
0032                             secondaryFileNames = cms.untracked.vstring(
0033 '/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/596/BC0F7A9A-39E2-DE11-A501-000423D99660.root',
0034 '/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/596/D6AB55BC-3AE2-DE11-8F92-000423D999CA.root'
0035 ))
0036 
0037 process.configurationMetadata = cms.untracked.PSet(
0038     version = cms.untracked.string('$Revision: 1.1 $'),
0039     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/bsc_activity_cfg.py,v $'),
0040     annotation = cms.untracked.string('BSC skim')
0041 )
0042 
0043 process.maxEvents = cms.untracked.PSet(
0044     input = cms.untracked.int32(-1)
0045 )
0046 
0047 
0048 
0049 process.out = cms.OutputModule("PoolOutputModule",
0050     fileName = cms.untracked.string('/tmp/malgeri/BSCNOBEAMHALO.root'),
0051     outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0052     dataset = cms.untracked.PSet(
0053               dataTier = cms.untracked.string('RAW-RECO'),
0054               filterName = cms.untracked.string('BSCNOBEAMHALO')),
0055     SelectEvents = cms.untracked.PSet(
0056         SelectEvents = cms.vstring('bscnobeamhalo')
0057     )
0058 )
0059 
0060 process.e = cms.EndPath(process.out)
0061