Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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     #'file:/data_CMS/cms/charlot/Run2011/AllCandidatesEPS11/HZZCandidates.root'
0030     'file:/afs/cern.ch/user/m/mdalchen/private/Reco/ScaleCorr/CMSSW_5_3_4/src/EgammaAnalysis/ElectronTools/test/electrons.root'
0031     #'/store/data/Summer11/DYToEE_M-800_TuneZ2_7TeV-pythia6-tauola/AODSIM/PU_S3_START42_V11-v2/0000/0ABF7CD0-8888-E011-8561-1CC1DE051038.root'    
0032     ),
0033 #    eventsToProcess = cms.untracked.VEventRange('173243:16706390')   
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 #    fileName = cms.untracked.string('CandidateZ_newEscale.root')
0041     fileName = cms.untracked.string('testMC.root')
0042 )
0043 
0044 process.load("EgammaAnalysis.ElectronTools.calibratedPatElectrons_cfi")
0045 
0046 # dataset to correct
0047 #process.calibratedGsfElectrons.inputDataset = cms.string("Jan16ReReco")
0048 #process.calibratedGsfElectrons.inputDataset = cms.string("ReReco")
0049 process.calibratedPatElectrons.inputDataset = cms.string("Summer12_DR53X_HCP2012")
0050 #process.calibratedGsfElectrons.inputDataset = cms.string("Fall11")
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 #process.GlobalTag.globaltag = 'GR_R_42_V18::All'
0063 process.GlobalTag.globaltag = 'START53_V10::All'
0064 
0065 
0066 
0067