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.1 $'),
7 name = cms.untracked.string(
'$Source' ),
8 annotation = cms.untracked.string(
'TPG skim')
16 process.source = cms.Source(
"PoolSource",
17 fileNames = cms.untracked.vstring(
19 '/store/data/Run2010A/MinimumBias/RECO/v1/000/136/066/18F6DB82-5566-DF11-B289-0030487CAF0E.root'),
20 secondaryFileNames = cms.untracked.vstring(
21 '/store/data/Run2010A/MinimumBias/RAW/v1/000/136/066/38D48BED-3C66-DF11-88A5-001D09F27003.root')
24 process.source.inputCommands = cms.untracked.vstring(
"keep *",
"drop *_MEtoEDMConverter_*_*",
"drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
26 process.maxEvents = cms.untracked.PSet(
27 input = cms.untracked.int32(500)
34 process.load(
'Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
35 process.load(
'Configuration/StandardSequences/GeometryIdeal_cff')
38 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
39 process.GlobalTag.globaltag =
'GR10_P_V6::All'
41 process.load(
"Configuration/StandardSequences/RawToDigi_Data_cff")
42 process.load(
"Configuration/StandardSequences/Reconstruction_cff")
43 process.load(
'Configuration/EventContent/EventContent_cff')
46 process.FEVTEventContent.outputCommands.append(
"drop *_MEtoEDMConverter_*_*")
47 process.FEVTEventContent.outputCommands.append(
"drop *_*_*_SKIM")
52 process.load(
'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskAlgoTrigConfig_cff')
53 process.load(
'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
54 process.load(
'HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
59 process.load(
'DPGAnalysis/Skims/singleMuonSkim_cff')
60 process.load(
'DPGAnalysis/Skims/singleElectronSkim_cff')
61 process.load(
'DPGAnalysis/Skims/muonTagProbeFilters_cff')
62 process.load(
'DPGAnalysis/Skims/electronTagProbeFilters_cff')
63 process.load(
'DPGAnalysis/Skims/singlePhotonSkim_cff')
64 process.load(
'DPGAnalysis/Skims/jetSkim_cff')
65 process.load(
'DPGAnalysis/Skims/METSkim_cff')
66 process.load(
'DPGAnalysis/Skims/singlePfTauSkim_cff')
71 process.singleMuPt5SkimPath=cms.Path(process.singleMuPt5RecoQualitySeq)
75 process.singleElectronPt5SkimPath=cms.Path(process.singleElectronPt5RecoQualitySeq)
79 process.singlePhotonPt5SkimPath=cms.Path(process.singlePhotonPt5QualitySeq)
81 process.muonJPsiMMSkimPath=cms.Path(process.muonJPsiMMRecoQualitySeq)
83 process.jetSkimPath=cms.Path(process.jetRecoQualitySeq)
85 process.singlePfTauPt15SkimPath=cms.Path(process.singlePfTauPt15QualitySeq)
87 process.outTPGSkim = cms.OutputModule(
"PoolOutputModule",
88 outputCommands = process.FEVTHLTALLEventContent.outputCommands,
89 fileName = cms.untracked.string(
"/tmp/azzi/TPGSkim.root"),
90 dataset = cms.untracked.PSet(
91 dataTier = cms.untracked.string(
'USER'),
92 filterName = cms.untracked.string(
'TPGSkim')
94 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
98 'singleMuPt5SkimPath',
102 'singleElectronPt5SkimPath',
106 'singlePhotonPt5SkimPath',
108 'muonJPsiMMSkimPath',
112 'singlePfTauPt15SkimPath'))
119 process.options = cms.untracked.PSet(
120 wantSummary = cms.untracked.bool(
True)
123 process.outpath = cms.EndPath(process.outTPGSkim)