File indexing completed on 2024-04-06 11:59:04
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 import FWCore.ParameterSet.Config as cms
0018 process = cms.Process('ANALYSIS')
0019
0020 process.load('Configuration.StandardSequences.Services_cff')
0021
0022 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0023 process.load("Configuration.StandardSequences.MagneticField_cff")
0024 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0025 from Configuration.AlCa.autoCond import autoCond
0026 process.GlobalTag.globaltag=autoCond['run2_mc']
0027
0028 process.load('FWCore.MessageService.MessageLogger_cfi')
0029 process.MessageLogger.GammaJetAnalysis = dict()
0030
0031
0032
0033 process.load('Calibration.HcalCalibAlgos.gammaJetAnalysis_cfi')
0034
0035
0036 process.load('JetMETCorrections.Configuration.CorrectedJetProducers_cff')
0037
0038
0039 process.GammaJetAnalysis.rootHistFilename = cms.string('PhoJet_tree_CHS_noGJetProd.root')
0040 process.GammaJetAnalysis.doPFJets = cms.bool(True)
0041 process.GammaJetAnalysis.doGenJets = cms.bool(True)
0042 process.TFileService = cms.Service("TFileService",
0043 fileName = cms.string('PhoJet_tree_CHS_noGJetProd.root'))
0044
0045
0046 process.GammaJetAnalysis.photonTriggers = cms.vstring(
0047 'HLT_Photon20_CaloIdVL_IsoL','HLT_Photon30_CaloIdVL_IsoL',
0048 'HLT_Photon50_CaloIdVL_IsoL','HLT_Photon75_CaloIdVL_IsoL',
0049 'HLT_Photon90_CaloIdVL_IsoL','HLT_Photon135',
0050 'HLT_Photon150','HLT_Photon160')
0051
0052 process.GammaJetAnalysis.photonTriggers += cms.vstring(
0053 'HLT_Photon22', 'HLT_Photon30', 'HLT_Photon36',
0054 'HLT_Photon50', 'HLT_Photon75',
0055 'HLT_Photon90', 'HLT_Photon120', 'HLT_Photon175',
0056 'HLT_Photon250_NoHE', 'HLT_Photon300_NoHE'
0057 )
0058
0059
0060
0061
0062 process.GammaJetAnalysis_noCHS= process.GammaJetAnalysis.clone()
0063 process.GammaJetAnalysis_noCHS.rootHistFilename = cms.string('PhoJet_tree_nonCHS_noGJetProd.root')
0064
0065 process.GammaJetAnalysis_noCHS.pfJetCollName = cms.string('ak4PFJets')
0066 process.GammaJetAnalysis_noCHS.JetCorrections = cms.InputTag("ak4PFL2L3Corrector")
0067
0068 process.source = cms.Source("PoolSource",
0069 fileNames = cms.untracked.vstring(
0070
0071 '/store/relval/CMSSW_7_4_0_pre6/RelValPhotonJets_Pt_10_13/GEN-SIM-RECOMCRUN2_74_V1-v1/00000/6EC8FCC8-E2A8-E411-9506-002590596468.root'
0072 )
0073 )
0074
0075
0076
0077
0078 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0079 process.MessageLogger.cerr.FwkReport.reportEvery=cms.untracked.int32(1000)
0080 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(False) )
0081
0082 process.p = cms.Path(
0083 process.GammaJetAnalysis, process.ak4PFL2L3CorrectorTask, process.ak4PFCHSL2L3CorrectorTask
0084 )