Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("RERECO")
0003 
0004 process.load('Configuration.StandardSequences.Services_cff')
0005 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0006 process.load('FWCore.MessageService.MessageLogger_cfi')
0007 process.load('Configuration.EventContent.EventContent_cff')
0008 process.load('Configuration.StandardSequences.GeometryDB_cff')
0009 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
0010 process.load('Configuration.StandardSequences.RawToDigi_Data_cff')
0011 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0012 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0013 process.load('Configuration.StandardSequences.ReconstructionHeavyIons_cff')
0014 process.load('RecoLocalTracker.Configuration.RecoLocalTracker_cff')
0015 process.load('RecoHI.HiMuonAlgos.HiReRecoMuon_cff')
0016 
0017 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0018 process.load("Configuration.EventContent.EventContentHeavyIons_cff")  
0019 #global tags for conditions data: https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideFrontierConditions
0020 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0021 process.GlobalTag.globaltag = 'START50_V2::All'#'START44_V7::All'
0022 
0023 ##################################################################################
0024 # setup 'standard'  options
0025 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
0026 
0027 # Input source
0028 # the fiel should have the STA in them; this is a RE-reco
0029 process.source = cms.Source("PoolSource",
0030                             fileNames = cms.untracked.vstring('/store/relval/CMSSW_5_0_0_pre3/HIAllPhysics/RECO/GR_R_50_V1_RelVal_hi2010-v2/0000/F8A98914-08FD-E011-A27B-003048F1BF66.root'),
0031 #rfio:/castor/cern.ch/user/m/mironov/regittest/rawrecohltdebug_98_1_jYu.root'),
0032                             noEventSort = cms.untracked.bool(True),
0033                             duplicateCheckMode = cms.untracked.string("noDuplicateCheck"),
0034                             skipEvents=cms.untracked.uint32(0)
0035                             )
0036 
0037 process.output = cms.OutputModule("PoolOutputModule",
0038                                   splitLevel = cms.untracked.int32(0),
0039                                   outputCommands = cms.untracked.vstring('drop *',
0040                                                                          'keep *_*_*_RERECO',
0041                                                                          ),
0042                                   fileName = cms.untracked.string('RErecoFullTest.root')
0043                                   )
0044 
0045 ##################################################################################
0046 '''
0047 process.SimpleMemoryCheck = cms.Service('SimpleMemoryCheck',
0048                                         ignoreTotal=cms.untracked.int32(0),
0049                                         oncePerEventMode = cms.untracked.bool(False)
0050                                         )
0051 
0052 process.Timing = cms.Service("Timing")
0053 
0054 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
0055 '''
0056 process.siliconRecHits= cms.Path(process.siPixelRecHits*process.siStripMatchedRecHits)
0057 #process.raw2digi_step = cms.Path(process.RawToDigi)
0058 #process.localtracker  = cms.Path(process.trackerlocalreco)
0059 process.reMuons       = cms.Path(process.reMuonRecoPbPb)
0060 
0061 process.endjob_step   = cms.Path(process.endOfProcess)
0062 process.out_step      = cms.EndPath(process.output)
0063 
0064 #process.raw2digi_step,process.localtracker,
0065 process.schedule = cms.Schedule(process.siliconRecHits,process.reMuons)
0066 process.schedule.extend([process.endjob_step,process.out_step])
0067 
0068 
0069 from Configuration.PyReleaseValidation.ConfigBuilder import MassReplaceInputTag
0070 MassReplaceInputTag(process)