3 process = cms.Process(
"SKIM")
5 process.configurationMetadata = cms.untracked.PSet(
6 version = cms.untracked.string(
'$Revision: 1.5 $'),
7 name = cms.untracked.string(
'$Source: /local/reps/CMSSW/CMSSW/DPGAnalysis/Skims/python/ZeroBiasPDSkim_cfg.py,v $'),
8 annotation = cms.untracked.string(
'Combined ZeroBias skim')
19 process.source = cms.Source(
"PoolSource",
20 fileNames = cms.untracked.vstring(
22 '/store/data/Run2010A/ZeroBias/RECO/v1/000/136/066/DE81B1E0-4866-DF11-A76D-0030487CD906.root'),
23 secondaryFileNames = cms.untracked.vstring(
24 '/store/data/Run2010A/ZeroBias/RAW/v1/000/136/066/FE1DCAEF-3C66-DF11-A903-000423D98E30.root')
27 process.source.inputCommands = cms.untracked.vstring(
"keep *",
"drop *_MEtoEDMConverter_*_*")
29 process.maxEvents = cms.untracked.PSet(
30 input = cms.untracked.int32(-1)
37 process.load(
'Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
38 process.load(
'Configuration/StandardSequences/GeometryIdeal_cff')
41 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
42 process.GlobalTag.globaltag =
'GR10_P_V6::All'
44 process.load(
"Configuration/StandardSequences/RawToDigi_Data_cff")
45 process.load(
"Configuration/StandardSequences/Reconstruction_cff")
46 process.load(
'Configuration/EventContent/EventContent_cff')
48 process.FEVTEventContent.outputCommands.append(
'drop *_MEtoEDMConverter_*_*')
60 process.primaryVertexFilter = cms.EDFilter(
"VertexSelector",
61 src = cms.InputTag(
"offlinePrimaryVertices"),
62 cut = cms.string(
"!isFake && ndof > 4 && abs(z) <= 15 && position.Rho <= 2"),
63 filter = cms.bool(
True),
67 process.noscraping = cms.EDFilter(
"FilterOutScraping",
68 applyfilter = cms.untracked.bool(
True),
69 debugOn = cms.untracked.bool(
False),
70 numtrack = cms.untracked.uint32(10),
71 thresh = cms.untracked.double(0.25)
74 process.goodvertex=cms.Path(process.primaryVertexFilter+process.noscraping)
77 process.gvout = cms.OutputModule(
"PoolOutputModule",
78 fileName = cms.untracked.string(
'/tmp/azzi/ZB_vertex.root'),
79 outputCommands = process.FEVTEventContent.outputCommands,
80 dataset = cms.untracked.PSet(
81 dataTier = cms.untracked.string(
'RAW-RECO'),
82 filterName = cms.untracked.string(
'GOODVERTEX')),
83 SelectEvents = cms.untracked.PSet(
84 SelectEvents = cms.vstring(
'goodvertex')
90 process.load(
"FWCore.Modules.logErrorFilter_cfi")
93 process.gtEvmDigis = gtEvmDigis.clone()
94 process.stableBeam = cms.EDFilter(
"HLTBeamModeFilter",
95 L1GtEvmReadoutRecordTag = cms.InputTag(
"gtEvmDigis"),
96 AllowedBeamMode = cms.vuint32(11),
97 saveTags = cms.bool(
False)
100 process.logerrorpath=cms.Path(process.gtEvmDigis+process.stableBeam+process.logErrorFilter)
102 process.outlogerr = cms.OutputModule(
"PoolOutputModule",
103 outputCommands = process.FEVTEventContent.outputCommands,
104 fileName = cms.untracked.string(
'/tmp/azzi/logerror_filter.root'),
105 dataset = cms.untracked.PSet(
106 dataTier = cms.untracked.string(
'RAW-RECO'),
107 filterName = cms.untracked.string(
'Skim_logerror')),
109 SelectEvents = cms.untracked.PSet(
110 SelectEvents = cms.vstring(
"logerrorpath")
116 process.options = cms.untracked.PSet(
117 wantSummary = cms.untracked.bool(
True)
122 process.outpath = cms.EndPath(process.outlogerr)