Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-20 22:43:44

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run3_cff import Run3
0004 from Configuration.ProcessModifiers.trackingMkFitDevel_cff import trackingMkFitDevel
0005 
0006 process = cms.Process('DUMP',Run3,trackingMkFitDevel)
0007 
0008 # import of standard configurations
0009 process.load('Configuration.StandardSequences.Services_cff')
0010 process.load('FWCore.MessageService.MessageLogger_cfi')
0011 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0012 process.load('Configuration.StandardSequences.MagneticField_cff')
0013 process.load('Configuration.StandardSequences.Reconstruction_cff')
0014 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0015 
0016 from Configuration.AlCa.GlobalTag import GlobalTag
0017 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2022_realistic', '')
0018 
0019 process.MessageLogger.cerr.threshold = "INFO"
0020 process.MessageLogger.cerr.MkFitGeometryESProducer = dict(limit=-1)
0021 
0022 process.source = cms.Source("EmptySource")
0023 process.maxEvents.input = 1
0024 
0025 
0026 process.add_(cms.ESProducer("MkFitGeometryESProducer"))
0027 
0028 defaultOutputFileName="phase1-trackerinfo.bin"
0029 
0030 # level: 0 - no printout; 1 - print layers, 2 - print modules
0031 # outputFileName: binary dump file; no dump if empty string
0032 process.dump = cms.EDAnalyzer("DumpMkFitGeometry",
0033                               level   = cms.untracked.int32(1),
0034                               outputFileName = cms.untracked.string(defaultOutputFileName)
0035                               )
0036 
0037 print("Requesting MkFit geometry dump into file:", defaultOutputFileName, "\n");
0038 process.p = cms.Path(process.dump)