File indexing completed on 2021-09-23 03:13:45
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TEST")
0004 process.source = cms.Source("EmptySource")
0005 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
0006
0007 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0008 process.GlobalTag.globaltag = "MC_36Y_V10::All"
0009 process.load("Configuration.StandardSequences.GeometryDB_cff")
0010
0011 from Alignment.MuonAlignment.MuonGeometrySanityCheck_cfi import *
0012 process.MuonGeometrySanityCheck = MuonGeometrySanityCheck.clone()
0013
0014 from math import sin, cos
0015 process.MuonGeometrySanityCheck.frames.append(cms.PSet(
0016 name = cms.string("custom1"),
0017 matrix = cms.vdouble(cos(0.1), -sin(0.1), 0,
0018 sin(0.1), cos(0.1), 0,
0019 0, 0, 1)))
0020
0021 process.MuonGeometrySanityCheck.points.append(cms.PSet(
0022 name = cms.string("first"),
0023 detector = cms.string("ME+2/2/30"),
0024 frame = cms.string("custom1"),
0025 displacement = cms.vdouble(0., 120., 10.),
0026 expectation = cms.vdouble(180.073603271, -494.748183105, 816.161244141),
0027 outputFrame = cms.string("global")))
0028
0029 process.MuonGeometrySanityCheck.points.append(cms.PSet(
0030 name = cms.string("first"),
0031 detector = cms.string("ME+2/2/31"),
0032 frame = cms.string("custom1"),
0033 displacement = cms.vdouble(0., 120., 10.),
0034 expectation = cms.vdouble(263.25, -455.962366211, 840.961244141),
0035 outputFrame = cms.string("global")))
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047 process.Path = cms.Path(process.MuonGeometrySanityCheck)