-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30280 from bsunanda/Run3-gem41
Run3-gem41 Update the RPC ESModule so that it can follow the ERA easily
- Loading branch information
Showing
10 changed files
with
125 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# kept for backward compatibility | ||
from Geometry.RPCGeometryBuilder.rpcGeometry_cfi import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# | ||
# This cfi should be included to build the RPC geometry model. | ||
# | ||
RPCGeometryESModule = cms.ESProducer("RPCGeometryESModule", | ||
useDDD = cms.untracked.bool(True) | ||
) | ||
|
||
|
||
# kept for backward compatibility | ||
from Geometry.RPCGeometryBuilder.rpcGeometry_cfi import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# | ||
# This cfi should be included to build the RPC geometry model. | ||
# | ||
RPCGeometryESModule = cms.ESProducer("RPCGeometryESModule", | ||
useDDD = cms.untracked.bool(True) | ||
) | ||
from Geometry.RPCGeometryBuilder.RPCGeometryESModule_cfi import RPCGeometryESModule as _RPCGeometryESModuleDefault | ||
RPCGeometryESModule = _RPCGeometryESModuleDefault.clone() | ||
|
||
from Configuration.ProcessModifiers.dd4hep_cff import dd4hep | ||
|
||
dd4hep.toModify(RPCGeometryESModule, useDDD = False, useDD4hep = True) |
23 changes: 23 additions & 0 deletions
23
Geometry/RPCGeometryBuilder/test/python/validateRPCGeometryDD4hep_cfg.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep | ||
|
||
process = cms.Process('VALID',Run3_dd4hep) | ||
|
||
process.source = cms.Source('EmptySource') | ||
|
||
process.maxEvents = cms.untracked.PSet( | ||
input = cms.untracked.int32(1) | ||
) | ||
|
||
process.load('Configuration.StandardSequences.DD4hep_GeometrySim_cff') | ||
process.load("FWCore.MessageLogger.MessageLogger_cfi") | ||
process.load("Geometry.MuonNumbering.muonGeometryConstants_cff") | ||
process.load("Geometry.RPCGeometryBuilder.rpcGeometry_cfi") | ||
|
||
process.valid = cms.EDAnalyzer("RPCGeometryValidate", | ||
infileName = cms.untracked.string('cmsRecoGeom-2021.root'), | ||
outfileName = cms.untracked.string('validateRPCGeometry.root'), | ||
tolerance = cms.untracked.int32(7) | ||
) | ||
|
||
process.p = cms.Path(process.valid) |
23 changes: 23 additions & 0 deletions
23
Geometry/RPCGeometryBuilder/test/python/validateRPCGeometryDDD_cfg.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
from Configuration.Eras.Era_Run3_cff import Run3 | ||
|
||
process = cms.Process('VALID',Run3) | ||
|
||
process.source = cms.Source('EmptySource') | ||
|
||
process.maxEvents = cms.untracked.PSet( | ||
input = cms.untracked.int32(1) | ||
) | ||
|
||
process.load('Configuration.Geometry.GeometryExtended2021_cff') | ||
process.load("FWCore.MessageLogger.MessageLogger_cfi") | ||
process.load("Geometry.MuonNumbering.muonGeometryConstants_cff") | ||
process.load("Geometry.RPCGeometryBuilder.rpcGeometry_cfi") | ||
|
||
process.valid = cms.EDAnalyzer("RPCGeometryValidate", | ||
infileName = cms.untracked.string('cmsRecoGeom-2021.root'), | ||
outfileName = cms.untracked.string('validateRPCGeometry.root'), | ||
tolerance = cms.untracked.int32(7) | ||
) | ||
|
||
process.p = cms.Path(process.valid) |
47 changes: 0 additions & 47 deletions
47
Geometry/RPCGeometryBuilder/test/python/validateRPCGeometry_cfg.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters