Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-25 02:29:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 import os
0004 
0005 
0006 ##
0007 ## Process definition
0008 ##
0009 process = cms.Process("TrackerTreeGeneration")
0010 
0011 
0012 
0013 ##
0014 ## MessageLogger
0015 ##
0016 process.load("FWCore.MessageService.MessageLogger_cfi")
0017 process.MessageLogger.cerr.threshold = 'INFO'
0018 process.MessageLogger.TrackerTreeGenerator=dict()
0019 process.MessageLogger.cerr.INFO.limit = 0
0020 process.MessageLogger.cerr.default.limit = -1
0021 process.MessageLogger.cerr.TrackerTreeGenerator = cms.untracked.PSet(limit = cms.untracked.int32(-1))
0022 
0023 
0024 
0025 ##
0026 ## Process options
0027 ##
0028 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0029 
0030 
0031 
0032 ##
0033 ## Input source
0034 ##
0035 process.source = cms.Source("EmptySource")
0036 
0037 
0038 
0039 ##
0040 ## Number of events
0041 ##
0042 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0043 
0044 
0045 
0046 ##
0047 ## Geometry
0048 ##
0049 process.load("Configuration.Geometry.GeometryRecoDB_cff")
0050 
0051 
0052 ##
0053 ## Conditions
0054 ##
0055 # use always ideal conditions to get no influence from Alignment on absolute Positions, Orientations...
0056 # so it is clear that when choosing special regions in e.g. globalPhi, Modules of the same Rod are contained in the same region
0057 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0058 from Configuration.AlCa.GlobalTag import GlobalTag
0059 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2023_design', '')
0060 print("Using global tag "+process.GlobalTag.globaltag._value)
0061 
0062 
0063 ##
0064 ## Analyzer
0065 ##
0066 process.load("Alignment.TrackerAlignment.TrackerTreeGenerator_cfi")
0067 
0068 
0069 
0070 ##
0071 ## Output File Configuration
0072 ##
0073 process.TFileService = cms.Service("TFileService",
0074     fileName = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/APEEstimation/hists/TrackerTree.root')
0075 )
0076 
0077 
0078 
0079 ##
0080 ## Path
0081 ##
0082 process.p = cms.Path(process.TrackerTreeGenerator)
0083 
0084 
0085 
0086 
0087 
0088 
0089