Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:28:14

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.autoCond import autoCond
0017 process.GlobalTag.globaltag = autoCond['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 process.add_(cms.ESProducer("MkFitGeometryESProducer"))
0026 
0027 defaultOutputFileName="phase1-trackerinfo.bin"
0028 
0029 # level: 0 - no printout; 1 - print layers, 2 - print modules
0030 # outputFileName: binary dump file; no dump if empty string
0031 process.dump = cms.EDAnalyzer("DumpMkFitGeometry",
0032                               level = cms.untracked.int32(1),
0033                               outputFileName = cms.untracked.string(defaultOutputFileName)
0034                               )
0035 
0036 print("Requesting MkFit geometry dump into file:", defaultOutputFileName, "\n");
0037 process.p = cms.Path(process.dump)