Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:31:54

0001 import FWCore.ParameterSet.Config 
0002 
0003 process = cms.Process("G4eRefit")
0004 
0005 
0006 process.load('Configuration.StandardSequences.Services_cff')
0007 process.load('Configuration.StandardSequences.GeometryDB_cff')
0008 process.load("Configuration.EventContent.EventContent_cff")
0009 process.load("Configuration.StandardSequences.Reconstruction_cff")
0010 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
0011 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0012 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0013 
0014 
0015 from Configuration.AlCa.GlobalTag import GlobalTag
0016 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0017 
0018 process.load("FWCore.MessageService.MessageLogger_cfi")
0019 process.MessageLogger.default = cms.untracked.PSet(ERROR = cms.untracked.PSet(limit = cms.untracked.int32(5)))
0020 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0021 
0022 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(20) )
0023 
0024 process.source = cms.Source("PoolSource",
0025     fileNames = cms.untracked.vstring(
0026        '/store/relval/CMSSW_7_4_0_pre6/RelValSingleMuPt10_UP15/GEN-SIM-RECO/MCRUN2_74_V1-v1/00000/4C6BF9BF-95A9-E411-ADA9-0025905A60FE.root',
0027        '/store/relval/CMSSW_7_4_0_pre6/RelValSingleMuPt10_UP15/GEN-SIM-RECO/MCRUN2_74_V1-v1/00000/DE6B164D-9FA9-E411-9BAF-0025905B85D0.root' 
0028     ),
0029 )
0030 
0031 
0032 process.load("TrackPropagation.Geant4e.geantRefit_cff")
0033 process.Geant4eTrackRefitter.src = cms.InputTag("generalTracks")
0034 process.Geant4eTrackRefitter.usePropagatorForPCA = cms.bool(True)
0035 process.g4RefitPath = cms.Path( process.MeasurementTrackerEvent * process.geant4eTrackRefit )
0036 
0037 
0038 process.out = cms.OutputModule( "PoolOutputModule",
0039   outputCommands = cms.untracked.vstring(
0040   'keep *'
0041   ),
0042   fileName = cms.untracked.string( 'test.root' )
0043 )
0044 
0045 process.g4RefitPath = cms.Path( process.MeasurementTrackerEvent * process.geant4eTrackRefit )
0046 process.e = cms.EndPath(process.out)
0047 process.schedule = cms.Schedule( process.g4RefitPath, process.e )
0048 
0049