/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SLHCUpgradeSimulations/Geometry/test/writeFile_phase2_cfg.py
45 строк
2 KB
Norraphat
Squashed commit of the following:
05 ноя 2024, 18:35
05 ноя 2024, 18:35
8f41eb9
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms ################################################################### # Set default phase-2 settings ################################################################### import Configuration.Geometry.defaultPhase2ConditionsEra_cff as _settings _PH2_GLOBAL_TAG, _PH2_ERA = _settings.get_era_and_conditions(_settings.DEFAULT_VERSION) process = cms.Process("ICALIB",_PH2_ERA) process.load("Configuration.StandardSequences.Services_cff") process.load('Configuration.Geometry.GeometryExtendedRun4DefaultReco_cff') process.trackerGeometry.applyAlignment = cms.bool(False) process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") from Configuration.AlCa.GlobalTag import GlobalTag process.GlobalTag = GlobalTag(process.GlobalTag, _PH2_GLOBAL_TAG, '') process.source = cms.Source("EmptyIOVSource", firstValue = cms.uint64(1), lastValue = cms.uint64(1), timetype = cms.string('runnumber'), interval = cms.uint64(1) ) process.load("FWCore/MessageService/MessageLogger_cfi") process.MessageLogger.cerr.enable = False process.MessageLogger.files.logfile = cms.untracked.PSet(threshold = cms.untracked.string('INFO')) process.Timing = cms.Service("Timing") process.prodstrip = cms.EDAnalyzer("SiStripDetInfoFileWriter", FilePath = cms.untracked.string('SiStripDetInfo_phase2.dat'), ) process.prodpixel = cms.EDAnalyzer("SiPixelDetInfoFileWriter", FilePath = cms.untracked.string('PixelSkimmedGeometry_GeometryExtended2026Tilted_Default.txt'), WriteROCInfo = cms.untracked.bool(True) ) process.asciiPrint = cms.OutputModule("AsciiOutputModule") process.p1 = cms.Path(process.prodstrip) process.p2 = cms.Path(process.prodpixel) process.ep = cms.EndPath(process.asciiPrint)