Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:59

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cff")
0005 
0006 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0007 
0008 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0009 
0010 process.load("Alignment.CommonAlignmentProducer.GlobalPosition_Frontier_cff")
0011 
0012 process.load("Alignment.OfflineValidation.TrackerGeometryCompare_cfi")
0013 
0014 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0015 
0016 process.MessageLogger = cms.Service("MessageLogger",
0017     cerr = cms.untracked.PSet(
0018         enable = cms.untracked.bool(False)
0019     ),
0020     cout = cms.untracked.PSet(
0021         enable = cms.untracked.bool(True)
0022     ),
0023     files = cms.untracked.PSet(
0024         detailedInfo = cms.untracked.PSet(
0025 
0026         )
0027     )
0028 )
0029 
0030 process.source = cms.Source("EmptySource")
0031 
0032 process.maxEvents = cms.untracked.PSet(
0033     input = cms.untracked.int32(0)
0034 )
0035 process.p = cms.Path(process.TrackerGeometryCompare)
0036 #process.TrackerGeometryCompare.inputROOTFile1 = 'IDEAL'
0037 process.TrackerGeometryCompare.inputROOTFile1 = '<PATH>/original.root'
0038 process.TrackerGeometryCompare.inputROOTFile2 = '<PATH>/alignments_<N>.root'
0039 process.TrackerGeometryCompare.outputFile = '<PATH>/comparisonV3_<N>.root'
0040 #process.TrackerGeometryCompare.levels = ['TOBBarrel','TIBBarrel','TIDEndcap','TECEndcap','TPBBarrel','TPEEndcap','DetUnit']
0041 process.TrackerGeometryCompare.levels = ['Tracker','DetUnit']
0042 
0043