Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:20:59

0001 from __future__ import print_function
0002 #
0003 # This cfg calls MakeAngleLUT which is obsolete and completely unused.
0004 #
0005 
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 process = cms.Process("Whatever")
0009 
0010 process.load('Configuration.Geometry.GeometryExtended2023D4Reco_cff')
0011 process.load('Configuration.StandardSequences.MagneticField_cff')
0012 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0013 
0014 from Configuration.AlCa.GlobalTag import GlobalTag
0015 process.GlobalTag = GlobalTag(process.GlobalTag, '90X_upgrade2023_realistic_v9', '')
0016 print("Using GlobalTag: %s" % process.GlobalTag.globaltag.value())
0017 
0018 # Fake alignment is/should be ideal geometry
0019 # ==========================================
0020 process.load("Alignment.CommonAlignmentProducer.FakeAlignmentSource_cfi")
0021 process.preferFakeAlign = cms.ESPrefer("FakeAlignmentSource")
0022 
0023 process.source = cms.Source("EmptySource")
0024 
0025 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
0026 
0027 process.analyzer1 = cms.EDAnalyzer("MakeAngleLUT",
0028     # Verbosity level
0029     verbosity = cms.untracked.int32(1),
0030 
0031     # Output file
0032     outfile = cms.string("angle.root"),
0033 )
0034 
0035 process.path1 = cms.Path(process.analyzer1)