ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Jeng/scripts/skim_SelectedForBS_cfg.py
Revision: 1.1
Committed: Thu Jan 28 22:20:55 2010 UTC (15 years, 3 months ago) by jengbou
Content type: text/x-python
Branch: MAIN
CVS Tags: HEAD
Error occurred while calculating annotation data.
Log Message:
skim cfg for beam spot history of LHC 2009 runs

File Contents

# Content
1 import FWCore.ParameterSet.Config as cms
2
3 process = cms.Process("BSCskim")
4
5 # initialize MessageLogger
6 process.load("FWCore.MessageLogger.MessageLogger_cfi")
7 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
8 #process.MessageLogger.debugModules = ['']
9
10 process.load("RecoVertex.BeamSpotProducer.MinimumBias_Dec19th_v1_cff")
11
12 process.source.lumisToProcess = cms.untracked.VLuminosityBlockRange(
13 ## https://twiki.cern.ch/twiki/bin/viewauth/CMS/TKPOGCollisions900GeVDec#Run_and_LumiSection_selections
14 ## '123592:2-123592:12',
15 ## '123596:69-123596:max',
16 ## '123615:66-123615:max',
17 ## '123732:57-123732:109',
18 '123815:8-123815:max',
19 '123970:7-123970:max',
20 '123976:1-123976:max',
21 '124023:39-124023:max',
22 '124024:1-124024:max',
23 '124025:3-124025:max',
24 '124027:24-124027:max',
25 '124030:1-124030:max',
26 '124120:1-124120:max',
27 '124230:23-124230:max',
28 '124275:3-124275:max'
29 )
30
31 #process.maxEvents = cms.untracked.PSet(
32 # input = cms.untracked.int32(-1) #1500
33 #)
34
35 process.options = cms.untracked.PSet(
36 wantSummary = cms.untracked.bool(True)
37 )
38
39 # this is for filtering on L1 technical trigger bit
40 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
41 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
42 process.hltLevel1GTSeed.L1TechTriggerSeeding = cms.bool(True)
43 process.hltLevel1GTSeed.L1SeedsLogicalExpression = cms.string('0 AND ( 40 OR 41 )')
44
45 ## configure output module
46 process.out = cms.OutputModule(
47 "PoolOutputModule",
48 ## dropMetaDataForDroppedData = cms.untracked.bool(True),
49 fileName = cms.untracked.string('skim_BSC0_AND_40OR41_MinBias_Dec19th_v1.root'),
50 dataset = cms.untracked.PSet(dataTier = cms.untracked.string('USER')),
51 outputCommands = cms.untracked.vstring(
52 'drop *',
53 'keep *_offlineBeamSpot_*_*',
54 'keep *_offlinePrimaryVertices_*_*',
55 'keep *_offlinePrimaryVerticesWithBS_*_*'
56 )
57 )
58
59 process.p = cms.Path(process.hltLevel1GTSeed*process.out)
60