Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-08-25 23:07:28

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ###################################################################
0004 # Set default phase-2 settings
0005 ###################################################################
0006 import Configuration.Geometry.defaultPhase2ConditionsEra_cff as _settings
0007 _PH2_GLOBAL_TAG, _PH2_ERA = _settings.get_era_and_conditions(_settings.DEFAULT_VERSION)
0008 
0009 process = cms.Process("ICALIB",_PH2_ERA)
0010 process.load("Configuration.StandardSequences.Services_cff")
0011 process.load('Configuration.Geometry.GeometryExtended2026DefaultReco_cff')
0012 
0013 process.trackerGeometry.applyAlignment = cms.bool(False)
0014 
0015 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0016 from Configuration.AlCa.GlobalTag import GlobalTag
0017 process.GlobalTag = GlobalTag(process.GlobalTag, _PH2_GLOBAL_TAG, '')
0018 
0019 process.source = cms.Source("EmptyIOVSource",
0020     firstValue = cms.uint64(1),
0021     lastValue = cms.uint64(1),
0022     timetype = cms.string('runnumber'),
0023     interval = cms.uint64(1)
0024 )
0025 
0026 process.load("FWCore/MessageService/MessageLogger_cfi")
0027 process.MessageLogger.cerr.enable = False
0028 process.MessageLogger.files.logfile = cms.untracked.PSet(threshold = cms.untracked.string('INFO'))
0029 
0030 process.Timing = cms.Service("Timing")
0031 
0032 process.prodstrip = cms.EDAnalyzer("SiStripDetInfoFileWriter",
0033     FilePath = cms.untracked.string('SiStripDetInfo_phase2.dat'),
0034 )
0035 
0036 process.prodpixel = cms.EDAnalyzer("SiPixelDetInfoFileWriter",
0037     FilePath = cms.untracked.string('PixelSkimmedGeometry_GeometryExtended2026Tilted_Default.txt'),
0038     WriteROCInfo = cms.untracked.bool(True)
0039 )
0040 
0041 process.asciiPrint = cms.OutputModule("AsciiOutputModule")
0042 
0043 process.p1 = cms.Path(process.prodstrip)
0044 process.p2 = cms.Path(process.prodpixel)
0045 process.ep = cms.EndPath(process.asciiPrint)
0046 
0047