Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:14:03

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('GETGBR')
0004 
0005 process.load('Configuration.StandardSequences.Services_cff')
0006 process.load('FWCore.MessageService.MessageLogger_cfi')
0007 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0008 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff')
0009 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0010 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0011 
0012 process.maxEvents = cms.untracked.PSet(
0013     input = cms.untracked.int32(1)
0014 )
0015 
0016 # Input source
0017 process.source = cms.Source("PoolSource",
0018     fileNames = cms.untracked.vstring('/store/data/Run2015D/DoubleEG/MINIAOD/PromptReco-v4/000/258/159/00000/027612B0-306C-E511-BD47-02163E014496.root'),
0019 )
0020 
0021 from Configuration.AlCa.GlobalTag import GlobalTag
0022 process.GlobalTag = GlobalTag(process.GlobalTag, '74X_dataRun2_Prompt_v4', '')
0023 
0024 process.getGBR25ns = cms.EDAnalyzer("GBRForestGetterFromDB",
0025     grbForestName = cms.string("gedelectron_p4combination_25ns"),
0026     outputFileName = cms.untracked.string("GBRForest_data_25ns.root"),
0027 )
0028     
0029 process.getGBR50ns = cms.EDAnalyzer("GBRForestGetterFromDB",
0030     grbForestName = cms.string("gedelectron_p4combination_50ns"),
0031     outputFileName = cms.untracked.string("GBRForest_data_50ns.root"),
0032 )
0033 
0034 process.path = cms.Path(
0035     process.getGBR25ns +
0036     process.getGBR50ns
0037 )