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.1 $'),
00007 name = cms.untracked.string('$Source' ),
00008 annotation = cms.untracked.string('TPG 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_*_*", "drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
00025
00026 process.maxEvents = cms.untracked.PSet(
00027 input = cms.untracked.int32(500)
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 = 'GR10_P_V6::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
00052 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskAlgoTrigConfig_cff')
00053 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
00054 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
00055
00056
00057
00058
00059 process.load('DPGAnalysis/Skims/singleMuonSkim_cff')
00060 process.load('DPGAnalysis/Skims/singleElectronSkim_cff')
00061 process.load('DPGAnalysis/Skims/muonTagProbeFilters_cff')
00062 process.load('DPGAnalysis/Skims/electronTagProbeFilters_cff')
00063 process.load('DPGAnalysis/Skims/singlePhotonSkim_cff')
00064 process.load('DPGAnalysis/Skims/jetSkim_cff')
00065 process.load('DPGAnalysis/Skims/METSkim_cff')
00066 process.load('DPGAnalysis/Skims/singlePfTauSkim_cff')
00067
00068
00069
00070
00071 process.singleMuPt5SkimPath=cms.Path(process.singleMuPt5RecoQualitySeq)
00072
00073
00074
00075 process.singleElectronPt5SkimPath=cms.Path(process.singleElectronPt5RecoQualitySeq)
00076
00077
00078
00079 process.singlePhotonPt5SkimPath=cms.Path(process.singlePhotonPt5QualitySeq)
00080
00081 process.muonJPsiMMSkimPath=cms.Path(process.muonJPsiMMRecoQualitySeq)
00082
00083 process.jetSkimPath=cms.Path(process.jetRecoQualitySeq)
00084
00085 process.singlePfTauPt15SkimPath=cms.Path(process.singlePfTauPt15QualitySeq)
00086
00087 process.outTPGSkim = cms.OutputModule("PoolOutputModule",
00088 outputCommands = process.FEVTHLTALLEventContent.outputCommands,
00089 fileName = cms.untracked.string("/tmp/azzi/TPGSkim.root"),
00090 dataset = cms.untracked.PSet(
00091 dataTier = cms.untracked.string('USER'),
00092 filterName = cms.untracked.string('TPGSkim')
00093 ),
00094 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
00095
00096
00097
00098 'singleMuPt5SkimPath',
00099
00100
00101
00102 'singleElectronPt5SkimPath',
00103
00104
00105
00106 'singlePhotonPt5SkimPath',
00107
00108 'muonJPsiMMSkimPath',
00109
00110 'jetSkimPath',
00111
00112 'singlePfTauPt15SkimPath'))
00113 )
00114
00115
00116
00117
00118
00119 process.options = cms.untracked.PSet(
00120 wantSummary = cms.untracked.bool(True)
00121 )
00122
00123 process.outpath = cms.EndPath(process.outTPGSkim)
00124