Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("SKIM")
00004
00005 process.configurationMetadata = cms.untracked.PSet(
00006 version = cms.untracked.string('$Revision: 1.8 $'),
00007 name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/DPGAnalysis/Skims/python/MuPDSkim_cfg.py,v $'),
00008 annotation = cms.untracked.string('Mu skim')
00009 )
00010
00011
00012
00013
00014
00015
00016
00017 process.source = cms.Source("PoolSource",
00018 fileNames = cms.untracked.vstring('/store/data/Run2010A/Mu/RECO/v4/000/144/114/9C954151-32B4-DF11-BB88-001D09F27003.root',
00019 '/store/data/Run2010A/Mu/RECO/v4/000/144/114/5C9CA515-20B4-DF11-9D62-0030487A3DE0.root',
00020 '/store/data/Run2010A/Mu/RECO/v4/000/144/114/00CA69A9-1EB4-DF11-B869-0030487CD6D2.root'),
00021 secondaryFileNames = cms.untracked.vstring('/store/data/Run2010A/Mu/RAW/v1/000/144/114/70E434AF-04B4-DF11-B178-0030487CD718.root',
00022 '/store/data/Run2010A/Mu/RAW/v1/000/144/114/C25ACF12-F3B3-DF11-8BB6-0030487CD700.root',
00023 '/store/data/Run2010A/Mu/RAW/v1/000/144/114/643C84A4-F1B3-DF11-8809-003048F0258C.root')
00024 )
00025
00026 process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*")
00027
00028 process.maxEvents = cms.untracked.PSet(
00029 input = cms.untracked.int32(1000)
00030 )
00031
00032
00033
00034
00035
00036 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
00037 process.load('Configuration/StandardSequences/GeometryIdeal_cff')
00038
00039
00040 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00041 process.GlobalTag.globaltag = 'GR_R_38X_V13::All'
00042
00043 process.load("Configuration/StandardSequences/RawToDigi_Data_cff")
00044 process.load("Configuration/StandardSequences/Reconstruction_cff")
00045 process.load('Configuration/EventContent/EventContent_cff')
00046
00047
00048 process.FEVTEventContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
00049 process.FEVTEventContent.outputCommands.append("drop *_*_*_SKIM")
00050
00051
00052
00053 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskAlgoTrigConfig_cff')
00054 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
00055 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
00056
00057
00058
00059 process.load("DPGAnalysis.Skims.WZMuSkim_cff")
00060
00061 process.ZMuSkimPath = cms.Path(process.diMuonSelSeq)
00062 process.WtcMetSkimPath = cms.Path(process.tcMetWMuNuSeq)
00063 process.WpfMetSkimPath = cms.Path(process.pfMetWMuNuSeq)
00064
00065
00066 process.SKIMStreamWZMu = cms.OutputModule("PoolOutputModule",
00067
00068 outputCommands = process.FEVTEventContent.outputCommands,
00069 fileName = cms.untracked.string('/tmp/azzi/WZMuStream.root'),
00070 dataset = cms.untracked.PSet(dataTier = cms.untracked.string('RAW-RECO'),
00071 filterName = cms.untracked.string('WZMuFilter')),
00072 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('ZMuSkimPath',
00073 'WtcMetSkimPath',
00074 'WpfMetSkimPath')
00075 ))
00076
00077
00078
00079
00080 process.load("FWCore.Modules.logErrorFilter_cfi")
00081 from Configuration.StandardSequences.RawToDigi_Data_cff import gtEvmDigis
00082
00083 process.gtEvmDigis = gtEvmDigis.clone()
00084 process.stableBeam = cms.EDFilter("HLTBeamModeFilter",
00085 L1GtEvmReadoutRecordTag = cms.InputTag("gtEvmDigis"),
00086 AllowedBeamMode = cms.vuint32(11),
00087 saveTags = cms.bool(False)
00088 )
00089
00090 process.logerrorpath=cms.Path(process.gtEvmDigis+process.stableBeam+process.logErrorFilter)
00091
00092 process.outlogerr = cms.OutputModule("PoolOutputModule",
00093 outputCommands = process.FEVTEventContent.outputCommands,
00094 fileName = cms.untracked.string('/tmp/azzi/logerror_filter.root'),
00095 dataset = cms.untracked.PSet(dataTier = cms.untracked.string('RAW-RECO'),
00096 filterName = cms.untracked.string('Skim_logerror')),
00097 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring("logerrorpath")
00098 ))
00099
00100
00101
00102
00103 process.load('DPGAnalysis/Skims/singleMuonSkim_cff')
00104 process.load('DPGAnalysis/Skims/singleElectronSkim_cff')
00105 process.load('DPGAnalysis/Skims/muonTagProbeFilters_cff')
00106 process.load('DPGAnalysis/Skims/electronTagProbeFilters_cff')
00107 process.load('DPGAnalysis/Skims/singlePhotonSkim_cff')
00108 process.load('DPGAnalysis/Skims/jetSkim_cff')
00109 process.load('DPGAnalysis/Skims/METSkim_cff')
00110 process.load('DPGAnalysis/Skims/singlePfTauSkim_cff')
00111
00112
00113
00114
00115 process.singleMuPt5SkimPath=cms.Path(process.singleMuPt5RecoQualitySeq)
00116
00117
00118
00119 process.singleElectronPt5SkimPath=cms.Path(process.singleElectronPt5RecoQualitySeq)
00120
00121
00122
00123 process.singlePhotonPt5SkimPath=cms.Path(process.singlePhotonPt5QualitySeq)
00124
00125 process.muonJPsiMMSkimPath=cms.Path(process.muonJPsiMMRecoQualitySeq)
00126
00127 process.jetSkimPath=cms.Path(process.jetRecoQualitySeq)
00128
00129 process.singlePfTauPt15SkimPath=cms.Path(process.singlePfTauPt15QualitySeq)
00130
00131 process.outTPGSkim = cms.OutputModule("PoolOutputModule",
00132 outputCommands = process.FEVTHLTALLEventContent.outputCommands,
00133 fileName = cms.untracked.string("/tmp/azzi/TPGSkim.root"),
00134 dataset = cms.untracked.PSet(
00135 dataTier = cms.untracked.string('USER'),
00136 filterName = cms.untracked.string('TPGSkim')
00137 ),
00138 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
00139
00140
00141
00142 'singleMuPt5SkimPath',
00143
00144
00145
00146 'singleElectronPt5SkimPath',
00147
00148
00149
00150 'singlePhotonPt5SkimPath',
00151
00152 'muonJPsiMMSkimPath',
00153
00154 'jetSkimPath',
00155
00156 'singlePfTauPt15SkimPath'))
00157 )
00158
00159
00160
00161
00162 process.options = cms.untracked.PSet(
00163 wantSummary = cms.untracked.bool(True)
00164 )
00165
00166 process.outpath = cms.EndPath(process.outlogerr+process.SKIMStreamWZMu+process.outTPGSkim)