File indexing completed on 2024-04-06 11:55:58
0001 from __future__ import print_function
0002 import FWCore.ParameterSet.Config as cms
0003
0004 import os
0005
0006
0007
0008
0009
0010 process = cms.Process("TrackerTreeGeneration")
0011
0012
0013
0014
0015
0016
0017 process.load("FWCore.MessageService.MessageLogger_cfi")
0018 process.MessageLogger.cerr.threshold = 'INFO'
0019 process.MessageLogger.TrackerTreeGenerator=dict()
0020 process.MessageLogger.cerr.INFO.limit = 0
0021 process.MessageLogger.cerr.default.limit = -1
0022 process.MessageLogger.cerr.TrackerTreeGenerator = cms.untracked.PSet(limit = cms.untracked.int32(-1))
0023
0024
0025
0026
0027
0028
0029 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0030
0031
0032
0033
0034
0035
0036 process.source = cms.Source("EmptySource")
0037
0038
0039
0040
0041
0042
0043 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0044
0045
0046
0047
0048
0049
0050 process.load("Configuration.Geometry.GeometryRecoDB_cff")
0051
0052
0053
0054
0055
0056
0057
0058 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0059 from Configuration.AlCa.GlobalTag import GlobalTag
0060 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2023_design', '')
0061 print("Using global tag "+process.GlobalTag.globaltag._value)
0062
0063
0064
0065
0066
0067 process.load("Alignment.TrackerAlignment.TrackerTreeGenerator_cfi")
0068
0069
0070
0071
0072
0073
0074 process.TFileService = cms.Service("TFileService",
0075 fileName = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/APEEstimation/hists/TrackerTree.root')
0076 )
0077
0078
0079
0080
0081
0082
0083 process.p = cms.Path(process.TrackerTreeGenerator)
0084
0085
0086
0087
0088
0089
0090