File indexing completed on 2024-04-06 12:03:43
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004 process = cms.Process("makeSD")
0005
0006 process.configurationMetadata = cms.untracked.PSet(
0007 version = cms.untracked.string('$Revision: 1.1 $'),
0008 annotation = cms.untracked.string('JetMETAOD and Tau central skim'),
0009 name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/Configuration/Skimming/test/CSmaker_JetMETAOD_Tau_PDJetMETTau_1e29_reprocess370_cfg.py,v $')
0010 )
0011
0012
0013 process.maxEvents = cms.untracked.PSet(
0014 input = cms.untracked.int32(10000)
0015 )
0016
0017 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0018 process.load("Configuration.StandardSequences.GeometryExtended_cff")
0019 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0020 process.load('Configuration.EventContent.EventContent_cff')
0021 process.GlobalTag.globaltag = "GR_R_37X_V6A::All"
0022
0023
0024 process.source = cms.Source("PoolSource",
0025 fileNames = cms.untracked.vstring(
0026 '/store/data/Commissioning10/MinimumBias/RAW-RECO/v8/000/132/601/F85204EE-EB40-DF11-8F71-001A64789D1C.root'
0027 ),
0028 secondaryFileNames = cms.untracked.vstring(
0029 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/F6887FD0-9371-DE11-B69E-00304879FBB2.root'
0030 )
0031 )
0032
0033 process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*")
0034
0035 import HLTrigger.HLTfilters.hltHighLevelDev_cfi
0036
0037
0038 process.DiJetAve_1e29 = HLTrigger.HLTfilters.hltHighLevelDev_cfi.hltHighLevelDev.clone(andOr = True)
0039 process.DiJetAve_1e29.HLTPaths = ("HLT_DiJetAve15U_8E29","HLT_DiJetAve30U_8E29")
0040 process.DiJetAve_1e29.HLTPathsPrescales = cms.vuint32(1,1)
0041 process.DiJetAve_1e29.HLTOverallPrescale = cms.uint32(1)
0042 process.DiJetAve_1e29.andOr = True
0043
0044 process.filterCsDiJetAve_1e29 = cms.Path(process.DiJetAve_1e29)
0045
0046
0047
0048 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0049 process.load("TrackingTools/TransientTrack/TransientTrackBuilder_cfi")
0050
0051 process.load("L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff")
0052 process.load("HLTrigger/HLTfilters/hltLevel1GTSeed_cfi")
0053 process.hltLevel1GTSeed.L1TechTriggerSeeding = cms.bool(True)
0054 process.hltLevel1GTSeed.L1SeedsLogicalExpression = cms.string('(0 AND (40 OR 41) AND NOT (36 OR 37 OR 38 OR 39))')
0055
0056 process.scrapping = cms.EDFilter("FilterOutScraping",
0057 applyfilter = cms.untracked.bool(True),
0058 debugOn = cms.untracked.bool(False),
0059 numtrack = cms.untracked.uint32(10),
0060 thresh = cms.untracked.double(0.25)
0061 )
0062
0063 process.PFTausSelected = cms.EDFilter("PFTauSelector",
0064 src = cms.InputTag("shrinkingConePFTauProducer"),
0065 discriminators = cms.VPSet(
0066 cms.PSet( discriminator=cms.InputTag("shrinkingConePFTauDiscriminationByIsolation"),
0067 selectionCut=cms.double(0.5)
0068 ),
0069 ),
0070 cut = cms.string('et > 15. && abs(eta) < 2.5')
0071 )
0072
0073 process.PFTauSkimmed = cms.EDFilter("CandViewCountFilter",
0074 src = cms.InputTag('PFTausSelected'),
0075 minNumber = cms.uint32(1)
0076 )
0077
0078
0079 process.tauFilter = cms.Path(
0080 process.hltLevel1GTSeed *
0081 process.scrapping *
0082 process.PFTausSelected *
0083 process.PFTauSkimmed
0084 )
0085
0086
0087
0088 process.outputCsDiJet = cms.OutputModule("PoolOutputModule",
0089 dataset = cms.untracked.PSet(
0090 dataTier = cms.untracked.string('USER'),
0091 filterName = cms.untracked.string('CS_DiJetAve')),
0092 outputCommands = cms.untracked.vstring(
0093 'drop *',
0094
0095 'keep recoCaloJets_kt4CaloJets_*_*',
0096 'keep recoCaloJets_kt6CaloJets_*_*',
0097 'keep recoCaloJets_ak5CaloJets_*_*',
0098 'keep recoCaloJets_ak7CaloJets_*_*',
0099 'keep recoCaloJets_iterativeCone5CaloJets_*_*',
0100
0101 'keep *_kt4JetID_*_*',
0102 'keep *_kt6JetID_*_*',
0103 'keep *_ak5JetID_*_*',
0104 'keep *_ak7JetID_*_*',
0105 'keep *_ic5JetID_*_*',
0106
0107 'keep recoPFJets_kt4PFJets_*_*',
0108 'keep recoPFJets_kt6PFJets_*_*',
0109 'keep recoPFJets_ak5PFJets_*_*',
0110 'keep recoPFJets_ak7PFJets_*_*',
0111 'keep recoPFJets_iterativeCone5PFJets_*_*',
0112
0113 'keep *_JetPlusTrackZSPCorJetAntiKt5_*_*',
0114
0115
0116
0117 'keep edmTriggerResults_TriggerResults_*_*',
0118 'keep *_hltTriggerSummaryAOD_*_*',
0119 'keep L1GlobalTriggerObjectMapRecord_*_*_*',
0120 'keep L1GlobalTriggerReadoutRecord_*_*_*',
0121
0122 'keep recoTracks_generalTracks_*_*',
0123
0124 'keep *_towerMaker_*_*',
0125
0126 'keep *_EventAuxilary_*_*',
0127 'keep *_offlinePrimaryVertices_*_*',
0128 'keep *_hcalnoise_*_*',
0129
0130 'keep *_metHO_*_*',
0131 'keep *_metNoHF_*_*',
0132 'keep *_metNoHFHO_*_*',
0133 'keep *_met_*_*'),
0134 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('filterCsDiJetAve_1e29')),
0135 fileName = cms.untracked.string('CS_JetAOD_DiJetAve_1e29.root')
0136 )
0137
0138 process.outputCsTau = cms.OutputModule("PoolOutputModule",
0139 dataset = cms.untracked.PSet(
0140 dataTier = cms.untracked.string('RAW-RECO'),
0141 filterName = cms.untracked.string('CS_Tau')),
0142 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('tauFilter')),
0143 outputCommands = process.FEVTEventContent.outputCommands,
0144 fileName = cms.untracked.string('CS_Tau_1e29.root')
0145 )
0146
0147
0148 process.this_is_the_end = cms.EndPath(
0149 process.outputCsDiJet +
0150 process.outputCsTau
0151 )