Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-04-12 23:30:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # set the geometry and the GlobalTag
0004 
0005 process = cms.Process("NavigationSchoolAnalyze")
0006 
0007 # process.load("Configuration.StandardSequences.Geometry_cff")
0008 #process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0009 process.load('Configuration.Geometry.GeometryExtended2026D76Reco_cff')
0010 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff')
0011 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0012 from Configuration.AlCa.GlobalTag import GlobalTag
0013 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0014 # process.load("Configuration.StandardSequences.MagneticField_cff")
0015 process.load("RecoTracker.TkNavigation.NavigationSchoolESProducer_cff")
0016 
0017 #process.MessageLogger = cms.Service("MessageLogger",
0018 #    destinations = cms.untracked.vstring('detailedInfo')
0019 #)
0020 
0021 #process.Tracer = cms.Service("Tracer",
0022 #    indentation = cms.untracked.string('$$')
0023 #)
0024 
0025 
0026 #This has to be modified in order to read the tracker + MTD structure
0027 process.TrackerRecoGeometryESProducer = cms.ESProducer("TrackerMTDRecoGeometryESProducer",
0028     usePhase2Stacks = cms.bool(False)
0029 )
0030 
0031 
0032 process.maxEvents = cms.untracked.PSet(
0033     input = cms.untracked.int32(1)
0034 )
0035 process.source = cms.Source("EmptySource")
0036 
0037 process.navigationSchoolAnalyzer = cms.EDAnalyzer("NavigationSchoolAnalyzer",
0038 #    navigationSchoolName = cms.string('BeamHaloNavigationSchool')
0039 #    navigationSchoolName = cms.string('CosmicNavigationSchool')
0040     navigationSchoolName = cms.string('SimpleNavigationSchool')
0041 )
0042 
0043 process.muonNavigationTest = cms.EDAnalyzer("MuonNavigationTest")
0044 
0045 
0046 process.p = cms.Path(process.navigationSchoolAnalyzer+process.muonNavigationTest)
0047 
0048