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.4 $'),
00007 name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/DPGAnalysis/Skims/python/EGMonitorPDSkim_cfg.py,v $'),
00008 annotation = cms.untracked.string('Combined EGMonitor skim')
00009 )
00010
00011
00012
00013
00014
00015
00016 process.source = cms.Source("PoolSource",
00017 fileNames = cms.untracked.vstring(
00018
00019 '/store/data/Run2010A/MinimumBias/RECO/v1/000/136/066/18F6DB82-5566-DF11-B289-0030487CAF0E.root'),
00020 secondaryFileNames = cms.untracked.vstring(
00021 '/store/data/Run2010A/MinimumBias/RAW/v1/000/136/066/38D48BED-3C66-DF11-88A5-001D09F27003.root')
00022 )
00023
00024 process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*")
00025
00026 process.maxEvents = cms.untracked.PSet(
00027 input = cms.untracked.int32(1000)
00028 )
00029
00030
00031
00032
00033
00034 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
00035 process.load('Configuration/StandardSequences/GeometryIdeal_cff')
00036
00037
00038 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00039 process.GlobalTag.globaltag = 'GR_R_36X_V12B::All'
00040
00041 process.load("Configuration/StandardSequences/RawToDigi_Data_cff")
00042 process.load("Configuration/StandardSequences/Reconstruction_cff")
00043 process.load('Configuration/EventContent/EventContent_cff')
00044
00045
00046 process.FEVTEventContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
00047 process.FEVTEventContent.outputCommands.append("drop *_*_*_SKIM")
00048
00049
00050
00051 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskAlgoTrigConfig_cff')
00052 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
00053 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
00054
00055
00056
00057 process.load("DPGAnalysis.Skims.filterRecHits_cfi")
00058
00059 process.ecalrechitfilter = cms.Path(process.recHitEnergyFilter)
00060
00061
00062 process.ecalrechitfilter_out = cms.OutputModule("PoolOutputModule",
00063 fileName = cms.untracked.string('/tmp/azzi/ecalrechitfilter.root'),
00064 outputCommands = process.FEVTEventContent.outputCommands,
00065 dataset = cms.untracked.PSet(
00066 dataTier = cms.untracked.string('RAW-RECO'),
00067 filterName = cms.untracked.string('ECALRECHIT')),
00068 SelectEvents = cms.untracked.PSet(
00069 SelectEvents = cms.vstring('ecalrechitfilter')
00070 )
00071 )
00072
00073
00074
00075
00076 process.load('DPGAnalysis/Skims/singleMuonSkim_cff')
00077 process.load('DPGAnalysis/Skims/singleElectronSkim_cff')
00078 process.load('DPGAnalysis/Skims/muonTagProbeFilters_cff')
00079 process.load('DPGAnalysis/Skims/electronTagProbeFilters_cff')
00080 process.load('DPGAnalysis/Skims/singlePhotonSkim_cff')
00081 process.load('DPGAnalysis/Skims/jetSkim_cff')
00082 process.load('DPGAnalysis/Skims/METSkim_cff')
00083 process.load('DPGAnalysis/Skims/singlePfTauSkim_cff')
00084
00085
00086
00087
00088 process.singleMuPt5SkimPath=cms.Path(process.singleMuPt5RecoQualitySeq)
00089
00090
00091
00092 process.singleElectronPt5SkimPath=cms.Path(process.singleElectronPt5RecoQualitySeq)
00093
00094
00095
00096 process.singlePhotonPt5SkimPath=cms.Path(process.singlePhotonPt5QualitySeq)
00097
00098 process.muonJPsiMMSkimPath=cms.Path(process.muonJPsiMMRecoQualitySeq)
00099
00100 process.jetSkimPath=cms.Path(process.jetRecoQualitySeq)
00101
00102 process.singlePfTauPt15SkimPath=cms.Path(process.singlePfTauPt15QualitySeq)
00103 process.outTPGSkim = cms.OutputModule("PoolOutputModule",
00104 outputCommands = process.FEVTHLTALLEventContent.outputCommands,
00105 fileName = cms.untracked.string("/tmp/azzi/TPGSkim.root"),
00106 dataset = cms.untracked.PSet(
00107 dataTier = cms.untracked.string('USER'),
00108 filterName = cms.untracked.string('TPGSkim')
00109 ),
00110 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
00111
00112
00113
00114 'singleMuPt5SkimPath',
00115
00116
00117
00118 'singleElectronPt5SkimPath',
00119
00120
00121
00122 'singlePhotonPt5SkimPath',
00123
00124 'muonJPsiMMSkimPath',
00125
00126 'jetSkimPath',
00127
00128 'singlePfTauPt15SkimPath'))
00129 )
00130
00131
00132
00133
00134
00135 process.load("FWCore.Modules.logErrorFilter_cfi")
00136 from Configuration.StandardSequences.RawToDigi_Data_cff import gtEvmDigis
00137
00138 process.gtEvmDigis = gtEvmDigis.clone()
00139 process.stableBeam = cms.EDFilter("HLTBeamModeFilter",
00140 L1GtEvmReadoutRecordTag = cms.InputTag("gtEvmDigis"),
00141 AllowedBeamMode = cms.vuint32(11),
00142 saveTags = cms.bool(False)
00143 )
00144
00145 process.logerrorpath=cms.Path(process.gtEvmDigis+process.stableBeam+process.logErrorFilter)
00146
00147 process.outlogerr = cms.OutputModule("PoolOutputModule",
00148 outputCommands = process.FEVTEventContent.outputCommands,
00149 fileName = cms.untracked.string('/tmp/azzi/logerror_filter.root'),
00150 dataset = cms.untracked.PSet(
00151 dataTier = cms.untracked.string('RAW-RECO'),
00152 filterName = cms.untracked.string('Skim_logerror')),
00153
00154 SelectEvents = cms.untracked.PSet(
00155 SelectEvents = cms.vstring("logerrorpath")
00156 ))
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.ecalrechitfilter_out+process.outTPGSkim+process.outlogerr)