1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"SKIM")
5 process.configurationMetadata = cms.untracked.PSet(
6 version = cms.untracked.string(
'$Revision: 1.7 $'),
7 name = cms.untracked.string(
'$Source: /cvs/CMSSW/CMSSW/DPGAnalysis/Skims/python/MuPDSkim_cfg.py,v $'),
8 annotation = cms.untracked.string(
'Mu skim')
17 process.source = cms.Source(
"PoolSource",
18 fileNames = cms.untracked.vstring(
'/store/data/Run2010A/Mu/RECO/v4/000/144/114/9C954151-32B4-DF11-BB88-001D09F27003.root',
19 '/store/data/Run2010A/Mu/RECO/v4/000/144/114/5C9CA515-20B4-DF11-9D62-0030487A3DE0.root',
20 '/store/data/Run2010A/Mu/RECO/v4/000/144/114/00CA69A9-1EB4-DF11-B869-0030487CD6D2.root'),
21 secondaryFileNames = cms.untracked.vstring(
'/store/data/Run2010A/Mu/RAW/v1/000/144/114/70E434AF-04B4-DF11-B178-0030487CD718.root',
22 '/store/data/Run2010A/Mu/RAW/v1/000/144/114/C25ACF12-F3B3-DF11-8BB6-0030487CD700.root',
23 '/store/data/Run2010A/Mu/RAW/v1/000/144/114/643C84A4-F1B3-DF11-8809-003048F0258C.root')
26 process.source.inputCommands = cms.untracked.vstring(
"keep *",
"drop *_MEtoEDMConverter_*_*")
28 process.maxEvents = cms.untracked.PSet(
29 input = cms.untracked.int32(1000)
36 process.load(
'Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
37 process.load(
'Configuration/StandardSequences/GeometryIdeal_cff')
40 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
41 process.GlobalTag.globaltag =
'GR_R_38X_V13::All' 43 process.load(
"Configuration/StandardSequences/RawToDigi_Data_cff")
44 process.load(
"Configuration/StandardSequences/Reconstruction_cff")
45 process.load(
'Configuration/EventContent/EventContent_cff')
48 process.FEVTEventContent.outputCommands.append(
"drop *_MEtoEDMConverter_*_*")
49 process.FEVTEventContent.outputCommands.append(
"drop *_*_*_SKIM")
53 process.load(
'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskAlgoTrigConfig_cff')
54 process.load(
'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
55 process.load(
'HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
59 process.load(
"DPGAnalysis.Skims.WZMuSkim_cff")
61 process.ZMuSkimPath = cms.Path(process.diMuonSelSeq)
62 process.WtcMetSkimPath = cms.Path(process.tcMetWMuNuSeq)
63 process.WpfMetSkimPath = cms.Path(process.pfMetWMuNuSeq)
66 process.SKIMStreamWZMu = cms.OutputModule(
"PoolOutputModule",
68 outputCommands = process.FEVTEventContent.outputCommands,
69 fileName = cms.untracked.string(
'/tmp/azzi/WZMuStream.root'),
70 dataset = cms.untracked.PSet(dataTier = cms.untracked.string(
'RAW-RECO'),
71 filterName = cms.untracked.string(
'WZMuFilter')),
72 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
'ZMuSkimPath',
80 process.load(
"FWCore.Modules.logErrorFilter_cfi")
83 process.gtEvmDigis = gtEvmDigis.clone()
84 process.stableBeam = cms.EDFilter(
"HLTBeamModeFilter",
85 L1GtEvmReadoutRecordTag = cms.InputTag(
"gtEvmDigis"),
86 AllowedBeamMode = cms.vuint32(11),
87 saveTags = cms.bool(
False)
90 process.logerrorpath=cms.Path(process.gtEvmDigis+process.stableBeam+process.logErrorFilter)
92 process.outlogerr = cms.OutputModule(
"PoolOutputModule",
93 outputCommands = process.FEVTEventContent.outputCommands,
94 fileName = cms.untracked.string(
'/tmp/azzi/logerror_filter.root'),
95 dataset = cms.untracked.PSet(dataTier = cms.untracked.string(
'RAW-RECO'),
96 filterName = cms.untracked.string(
'Skim_logerror')),
97 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
"logerrorpath")
103 process.load(
'DPGAnalysis/Skims/singleMuonSkim_cff')
104 process.load(
'DPGAnalysis/Skims/singleElectronSkim_cff')
105 process.load(
'DPGAnalysis/Skims/muonTagProbeFilters_cff')
106 process.load(
'DPGAnalysis/Skims/electronTagProbeFilters_cff')
107 process.load(
'DPGAnalysis/Skims/singlePhotonSkim_cff')
108 process.load(
'DPGAnalysis/Skims/jetSkim_cff')
109 process.load(
'DPGAnalysis/Skims/METSkim_cff')
110 process.load(
'DPGAnalysis/Skims/singlePfTauSkim_cff')
115 process.singleMuPt5SkimPath=cms.Path(process.singleMuPt5RecoQualitySeq)
119 process.singleElectronPt5SkimPath=cms.Path(process.singleElectronPt5RecoQualitySeq)
123 process.singlePhotonPt5SkimPath=cms.Path(process.singlePhotonPt5QualitySeq)
125 process.muonJPsiMMSkimPath=cms.Path(process.muonJPsiMMRecoQualitySeq)
127 process.jetSkimPath=cms.Path(process.jetRecoQualitySeq)
129 process.singlePfTauPt15SkimPath=cms.Path(process.singlePfTauPt15QualitySeq)
131 process.outTPGSkim = cms.OutputModule(
"PoolOutputModule",
132 outputCommands = process.FEVTHLTALLEventContent.outputCommands,
133 fileName = cms.untracked.string(
"/tmp/azzi/TPGSkim.root"),
134 dataset = cms.untracked.PSet(
135 dataTier = cms.untracked.string(
'USER'),
136 filterName = cms.untracked.string(
'TPGSkim')
138 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
142 'singleMuPt5SkimPath',
146 'singleElectronPt5SkimPath',
150 'singlePhotonPt5SkimPath',
152 'muonJPsiMMSkimPath',
156 'singlePfTauPt15SkimPath'))
162 process.options = cms.untracked.PSet(
163 wantSummary = cms.untracked.bool(
True)
166 process.outpath = cms.EndPath(process.outlogerr+process.SKIMStreamWZMu+process.outTPGSkim)