From 7809f0b6e11c16373d73c6b5ca5ac57a662ee26e Mon Sep 17 00:00:00 2001 From: Norraphat Date: Thu, 2 Sep 2021 04:51:54 +0200 Subject: [PATCH 1/2] adding fake alignment to make tracker geometry test work --- .../test/python/testTrackerHierarchy_cfg.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Geometry/TrackerGeometryBuilder/test/python/testTrackerHierarchy_cfg.py b/Geometry/TrackerGeometryBuilder/test/python/testTrackerHierarchy_cfg.py index 177eec759fc3a..a10920d3b0946 100644 --- a/Geometry/TrackerGeometryBuilder/test/python/testTrackerHierarchy_cfg.py +++ b/Geometry/TrackerGeometryBuilder/test/python/testTrackerHierarchy_cfg.py @@ -15,6 +15,9 @@ fromDDD = cms.bool(True) ) +process.load("Alignment.CommonAlignmentProducer.FakeAlignmentSource_cfi") +process.preferFakeAlign = cms.ESPrefer("FakeAlignmentSource") + process.p1 = cms.Path(process.prod) From 905a86b6fc8ee7a4fef38bcfd2545f1a437e9bb2 Mon Sep 17 00:00:00 2001 From: Norraphat Date: Thu, 2 Sep 2021 06:17:03 +0200 Subject: [PATCH 2/2] update another test config --- Geometry/TrackerGeometryBuilder/test/python/testTracker_cfg.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Geometry/TrackerGeometryBuilder/test/python/testTracker_cfg.py b/Geometry/TrackerGeometryBuilder/test/python/testTracker_cfg.py index 438d450d03449..95ce466cfb13a 100644 --- a/Geometry/TrackerGeometryBuilder/test/python/testTracker_cfg.py +++ b/Geometry/TrackerGeometryBuilder/test/python/testTracker_cfg.py @@ -5,6 +5,9 @@ process.source = cms.Source("EmptySource") +process.load("Alignment.CommonAlignmentProducer.FakeAlignmentSource_cfi") +process.preferFakeAlign = cms.ESPrefer("FakeAlignmentSource") + process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )