Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:46:19

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 # Ideal geometry producer
0005 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0006 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0007 
0008 # testing ideal geometry from Fake...
0009 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0010 process.load("CalibTracker.Configuration.TrackerAlignment.TrackerAlignment_Fake_cff")
0011 
0012 ##    // ...or testing geometry from DB/sqlite...
0013 #process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0014 #process.load("Alignment.CommonAlignmentProducer.GlobalPosition_Frontier_cff")
0015 #
0016 #from CondCore.DBCommon.CondDBSetup_cfi import *
0017 #process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0018 #             CondDBSetup,
0019 #             #connect = cms.string('frontier://FrontierProd/CMS_COND_21X_ALIGNMENT'),
0020 #             connect = cms.string('sqlite:Alignments.db'),
0021 #             toGet = cms.VPSet(cms.PSet(
0022 #    record = cms.string('TrackerAlignmentRcd'),
0023 #    tag = cms.string('TrackerCRAFTScenario22X_mc') # TrackerIdealGeometry210_mc Tracker10pbScenario210_mc
0024 #    ), 
0025 #                               cms.PSet(
0026 #    record = cms.string('TrackerAlignmentErrorExtendedRcd'),
0027 #    tag = cms.string('TrackerCRAFTScenarioErrors22X_mc') # TrackerIdealGeometryErrors210_mc Tracker10pbScenarioErrors210_mc
0028 #    ))
0029 #             )
0030 
0031 ## ... or testing any of the scenarios from cff
0032 #process.load("Alignment.TrackerAlignment.MisalignedTracker_cfi")
0033 #import Alignment.TrackerAlignment.Scenarios_cff as _Scenarios
0034 ##process.MisalignedTracker.scenario = _Scenarios.TrackerSurveyLASOnlyScenario
0035 ##process.MisalignedTracker.scenario = _Scenarios.TrackerSurveyLASCosmicsScenario
0036 #process.MisalignedTracker.scenario = _Scenarios.TrackerCRAFTScenario
0037 ##process.MisalignedTracker.scenario = _Scenarios.Tracker1000pbScenario
0038 
0039 # Message logger service
0040 process.load("FWCore.MessageService.MessageLogger_cfi")
0041 process.MessageLogger.cout = cms.untracked.PSet(
0042     threshold = cms.untracked.string('INFO'),
0043     default = cms.untracked.PSet(
0044         limit = cms.untracked.int32(10000000)
0045     )
0046 )
0047 
0048 
0049 process.maxEvents = cms.untracked.PSet(
0050     input = cms.untracked.int32(1)
0051 )
0052 process.source = cms.Source("EmptySource")
0053 
0054 process.prod = cms.EDAnalyzer("TestTrackerHierarchy",
0055     dumpAlignments = cms.untracked.bool(False) # (True)
0056 
0057 )
0058 
0059 process.p1 = cms.Path(process.prod)
0060 
0061