Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:27:51

0001 #
0002 
0003 import FWCore.ParameterSet.Config as cms
0004 
0005 process = cms.Process("MSTEST")
0006 
0007 #Adding SimpleMemoryCheck service:
0008 process.SimpleMemoryCheck=cms.Service("SimpleMemoryCheck",
0009                                    ignoreTotal=cms.untracked.int32(1),
0010                                    oncePerEventMode=cms.untracked.bool(True)
0011 )
0012 
0013 process.Timing = cms.Service("Timing"
0014     ,excessiveTimeThreshold=cms.untracked.double(600)
0015     ,summaryOnly = cms.untracked.bool(True)
0016 )
0017 
0018 process.options = cms.untracked.PSet(
0019     wantSummary = cms.untracked.bool(True)
0020 )
0021 
0022 
0023 
0024 process.source = cms.Source("EmptySource")
0025 process.maxEvents = cms.untracked.PSet(
0026     input = cms.untracked.int32(1)
0027 )
0028 
0029 # Example configuration for the magnetic field
0030 
0031 # Uncomment ONE of the following:
0032 
0033 ### Uniform field
0034 #process.load("Configuration.StandardSequences.MagneticField_0T_cff")
0035 #process.localUniform.ZFieldInTesla = 3.8
0036 
0037 
0038 ### Full field map, static configuration for each field value
0039 #process.load("Configuration.StandardSequences.MagneticField_20T_cff")
0040 #process.load("Configuration.StandardSequences.MagneticField_30T_cff")
0041 #process.load("Configuration.StandardSequences.MagneticField_35T_cff")
0042 #process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0043 #process.load("Configuration.StandardSequences.MagneticField_40T_cff")
0044 
0045 ### Configuration to select map based on recorded current in the DB
0046 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0047 from Configuration.AlCa.GlobalTag import GlobalTag
0048 #process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0049 #process.GlobalTag = GlobalTag(process.GlobalTag,'auto:phase1_2017_design', '')
0050 process.GlobalTag = GlobalTag(process.GlobalTag,'auto:phase1_2017_realistic', '')
0051 #process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0052 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0053 process.load('Configuration.StandardSequences.Reconstruction_cff')
0054 process.load("Configuration.StandardSequences.MagneticField_cff")
0055 process.VolumeBasedMagneticFieldESProducer.valueOverride = 18000
0056 
0057 from RecoTracker.TkNavigation.TkMSParameterizationBuilder_cfi import *
0058 process.load('RecoTracker.TkNavigation.TkMSParameterizationBuilder_cfi')
0059 
0060 process.myTest  = cms.EDAnalyzer("TkMSParameterizationTest",
0061 )
0062 process.p1 = cms.Path(process.myTest)
0063