File indexing completed on 2024-04-06 12:10:20
0001 import FWCore.ParameterSet.Config as cms
0002 import os
0003
0004 from TrackingTools.Configuration.TrackingTools_cff import *
0005
0006 process = cms.Process("NewEScale")
0007
0008 process.load("Configuration.StandardSequences.Services_cff")
0009 process.load("Configuration.Geometry.GeometryIdeal_cff")
0010 process.load("Configuration.StandardSequences.MagneticField_cff")
0011 process.load("FWCore.MessageService.MessageLogger_cfi")
0012
0013 process.load("Configuration.StandardSequences.RawToDigi_cff")
0014 process.load("Configuration.StandardSequences.Reconstruction_cff")
0015
0016 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0017 process.load("Configuration.EventContent.EventContent_cff")
0018
0019 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0020 calibratedPatElectrons = cms.PSet(
0021 initialSeed = cms.untracked.uint32(1),
0022 engineName = cms.untracked.string('TRandom3')
0023 ),
0024 )
0025
0026 process.source = cms.Source("PoolSource",
0027 fileNames = cms.untracked.vstring
0028 (
0029
0030 'file:/afs/cern.ch/user/m/mdalchen/private/Reco/ScaleCorr/CMSSW_5_3_4/src/EgammaAnalysis/ElectronTools/test/electrons.root'
0031
0032 ),
0033
0034 )
0035
0036 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
0037
0038 process.out = cms.OutputModule("PoolOutputModule",
0039 outputCommands = cms.untracked.vstring('keep *'),
0040
0041 fileName = cms.untracked.string('testMC.root')
0042 )
0043
0044 process.load("EgammaAnalysis.ElectronTools.calibratedPatElectrons_cfi")
0045
0046
0047
0048
0049 process.calibratedPatElectrons.inputDataset = cms.string("Summer12_DR53X_HCP2012")
0050
0051 process.calibratedPatElectrons.isMC = cms.bool(True)
0052 process.calibratedPatElectrons.isAOD = cms.bool(True)
0053 process.calibratedPatElectrons.updateEnergyError = cms.bool(True)
0054 process.calibratedPatElectrons.applyCorrections = cms.int32(1)
0055 process.calibratedPatElectrons.verbose = cms.bool(True)
0056 process.calibratedPatElectrons.synchronization = cms.bool(False)
0057
0058
0059 process.p = cms.Path(process.calibratedPatElectrons)
0060
0061 process.outpath = cms.EndPath(process.out)
0062
0063 process.GlobalTag.globaltag = 'START53_V10::All'
0064
0065
0066
0067