Created
August 21, 2019 12:53
-
-
Save mmusich/a8aa007105e019c123f646a5db04569c to your computer and use it in GitHub Desktop.
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
shift_030umX = cms.PSet( | |
dXlocal = cms.double(0.3), phiXlocal = cms.double(0.0), | |
dYlocal = cms.double(0.0), phiYlocal = cms.double(0.0), | |
dZlocal = cms.double(0.0), phiZlocal = cms.double(0.0) | |
) | |
shift_minus030umX = cms.PSet( | |
dXlocal = cms.double(-0.3), phiXlocal = cms.double(0.0), | |
dYlocal = cms.double(0.0), phiYlocal = cms.double(0.0), | |
dZlocal = cms.double(0.0), phiZlocal = cms.double(0.0) | |
) | |
shift_030umY = cms.PSet( | |
dXlocal = cms.double(0.0), phiXlocal = cms.double(0.0), | |
dYlocal = cms.double(0.3), phiYlocal = cms.double(0.0), | |
dZlocal = cms.double(0.0), phiZlocal = cms.double(0.0) | |
) | |
shift_minus030umY = cms.PSet( | |
dXlocal = cms.double(0.0), phiXlocal = cms.double(0.0), | |
dYlocal = cms.double(-0.3), phiYlocal = cms.double(0.0), | |
dZlocal = cms.double(0.0), phiZlocal = cms.double(0.0) | |
) | |
shift_030umZ = cms.PSet( | |
dXlocal = cms.double(0.0), phiXlocal = cms.double(0.0), | |
dYlocal = cms.double(0.0), phiYlocal = cms.double(0.0), | |
dZlocal = cms.double(0.3), phiZlocal = cms.double(0.0) | |
) | |
shift_minus030umZ = cms.PSet( | |
dXlocal = cms.double(0.0), phiXlocal = cms.double(0.0), | |
dYlocal = cms.double(0.0), phiYlocal = cms.double(0.0), | |
dZlocal = cms.double(-0.3), phiZlocal = cms.double(0.0) | |
) | |
move_X_forward_BPIX = MisalignmentScenarioSettings.clone( | |
distribution = cms.string('fixed'), | |
setError = cms.bool(False), | |
scale = cms.double(0.01), # shifts in 100um | |
P1PXBBarrels = cms.PSet( | |
P1PXBHalfBarrels = cms.PSet( | |
P1PXBLayer1 = cms.PSet( | |
P1PXBLadder1 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umX), | |
DetUnit2 = cms.PSet(shift_030umX), | |
DetUnit7 = cms.PSet(shift_minus030umX), | |
DetUnit8 = cms.PSet(shift_minus030umX),), | |
P1PXBLadder2 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umX), | |
DetUnit2 = cms.PSet(shift_minus030umX), | |
DetUnit7 = cms.PSet(shift_030umX), | |
DetUnit8 = cms.PSet(shift_030umX),), | |
P1PXBLadder3 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umX), | |
DetUnit2 = cms.PSet(shift_030umX), | |
DetUnit7 = cms.PSet(shift_minus030umX), | |
DetUnit8 = cms.PSet(shift_minus030umX),), | |
P1PXBLadder4 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umX), | |
DetUnit2 = cms.PSet(shift_minus030umX), | |
DetUnit7 = cms.PSet(shift_030umX), | |
DetUnit8 = cms.PSet(shift_030umX),), | |
P1PXBLadder5 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umX), | |
DetUnit2 = cms.PSet(shift_030umX), | |
DetUnit7 = cms.PSet(shift_minus030umX), | |
DetUnit8 = cms.PSet(shift_minus030umX),), | |
P1PXBLadder6 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umX), | |
DetUnit2 = cms.PSet(shift_minus030umX), | |
DetUnit7 = cms.PSet(shift_030umX), | |
DetUnit8 = cms.PSet(shift_030umX),), | |
P1PXBLadder7 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umX), | |
DetUnit2 = cms.PSet(shift_030umX), | |
DetUnit7 = cms.PSet(shift_minus030umX), | |
DetUnit8 = cms.PSet(shift_minus030umX),), | |
P1PXBLadder8 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umX), | |
DetUnit2 = cms.PSet(shift_minus030umX), | |
DetUnit7 = cms.PSet(shift_030umX), | |
DetUnit8 = cms.PSet(shift_030umX),), | |
P1PXBLadder9 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umX), | |
DetUnit2 = cms.PSet(shift_030umX), | |
DetUnit7 = cms.PSet(shift_minus030umX), | |
DetUnit8 = cms.PSet(shift_minus030umX),), | |
P1PXBLadder10 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umX), | |
DetUnit2 = cms.PSet(shift_minus030umX), | |
DetUnit7 = cms.PSet(shift_030umX), | |
DetUnit8 = cms.PSet(shift_030umX),), | |
P1PXBLadder11 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umX), | |
DetUnit2 = cms.PSet(shift_030umX), | |
DetUnit7 = cms.PSet(shift_minus030umX), | |
DetUnit8 = cms.PSet(shift_minus030umX),), | |
P1PXBLadder12 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umX), | |
DetUnit2 = cms.PSet(shift_minus030umX), | |
DetUnit7 = cms.PSet(shift_030umX), | |
DetUnit8 = cms.PSet(shift_030umX),) | |
) | |
) | |
) | |
) | |
move_Y_forward_BPIX = MisalignmentScenarioSettings.clone( | |
distribution = cms.string('fixed'), | |
setError = cms.bool(False), | |
scale = cms.double(0.01), # shifts in 100um | |
P1PXBBarrels = cms.PSet( | |
P1PXBHalfBarrels = cms.PSet( | |
P1PXBLayer1 = cms.PSet( | |
P1PXBLadder1 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umY), | |
DetUnit2 = cms.PSet(shift_030umY), | |
DetUnit7 = cms.PSet(shift_minus030umY), | |
DetUnit8 = cms.PSet(shift_minus030umY),), | |
P1PXBLadder2 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umY), | |
DetUnit2 = cms.PSet(shift_minus030umY), | |
DetUnit7 = cms.PSet(shift_030umY), | |
DetUnit8 = cms.PSet(shift_030umY),), | |
P1PXBLadder3 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umY), | |
DetUnit2 = cms.PSet(shift_030umY), | |
DetUnit7 = cms.PSet(shift_minus030umY), | |
DetUnit8 = cms.PSet(shift_minus030umY),), | |
P1PXBLadder4 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umY), | |
DetUnit2 = cms.PSet(shift_minus030umY), | |
DetUnit7 = cms.PSet(shift_030umY), | |
DetUnit8 = cms.PSet(shift_030umY),), | |
P1PXBLadder5 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umY), | |
DetUnit2 = cms.PSet(shift_030umY), | |
DetUnit7 = cms.PSet(shift_minus030umY), | |
DetUnit8 = cms.PSet(shift_minus030umY),), | |
P1PXBLadder6 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umY), | |
DetUnit2 = cms.PSet(shift_minus030umY), | |
DetUnit7 = cms.PSet(shift_030umY), | |
DetUnit8 = cms.PSet(shift_030umY),), | |
P1PXBLadder7 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umY), | |
DetUnit2 = cms.PSet(shift_030umY), | |
DetUnit7 = cms.PSet(shift_minus030umY), | |
DetUnit8 = cms.PSet(shift_minus030umY),), | |
P1PXBLadder8 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umY), | |
DetUnit2 = cms.PSet(shift_minus030umY), | |
DetUnit7 = cms.PSet(shift_030umY), | |
DetUnit8 = cms.PSet(shift_030umY),), | |
P1PXBLadder9 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umY), | |
DetUnit2 = cms.PSet(shift_030umY), | |
DetUnit7 = cms.PSet(shift_minus030umY), | |
DetUnit8 = cms.PSet(shift_minus030umY),), | |
P1PXBLadder10 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umY), | |
DetUnit2 = cms.PSet(shift_minus030umY), | |
DetUnit7 = cms.PSet(shift_030umY), | |
DetUnit8 = cms.PSet(shift_030umY),), | |
P1PXBLadder11 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umY), | |
DetUnit2 = cms.PSet(shift_030umY), | |
DetUnit7 = cms.PSet(shift_minus030umY), | |
DetUnit8 = cms.PSet(shift_minus030umY),), | |
P1PXBLadder12 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umY), | |
DetUnit2 = cms.PSet(shift_minus030umY), | |
DetUnit7 = cms.PSet(shift_030umY), | |
DetUnit8 = cms.PSet(shift_030umY),) | |
) | |
) | |
) | |
) | |
move_Z_forward_BPIX = MisalignmentScenarioSettings.clone( | |
distribution = cms.string('fixed'), | |
setError = cms.bool(False), | |
scale = cms.double(0.01), # shifts in 100um | |
P1PXBBarrels = cms.PSet( | |
P1PXBHalfBarrels = cms.PSet( | |
P1PXBLayer1 = cms.PSet( | |
P1PXBLadder1 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umZ), | |
DetUnit2 = cms.PSet(shift_030umZ), | |
DetUnit7 = cms.PSet(shift_minus030umZ), | |
DetUnit8 = cms.PSet(shift_minus030umZ),), | |
P1PXBLadder2 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umZ), | |
DetUnit2 = cms.PSet(shift_minus030umZ), | |
DetUnit7 = cms.PSet(shift_030umZ), | |
DetUnit8 = cms.PSet(shift_030umZ),), | |
P1PXBLadder3 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umZ), | |
DetUnit2 = cms.PSet(shift_030umZ), | |
DetUnit7 = cms.PSet(shift_minus030umZ), | |
DetUnit8 = cms.PSet(shift_minus030umZ),), | |
P1PXBLadder4 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umZ), | |
DetUnit2 = cms.PSet(shift_minus030umZ), | |
DetUnit7 = cms.PSet(shift_030umZ), | |
DetUnit8 = cms.PSet(shift_030umZ),), | |
P1PXBLadder5 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umZ), | |
DetUnit2 = cms.PSet(shift_030umZ), | |
DetUnit7 = cms.PSet(shift_minus030umZ), | |
DetUnit8 = cms.PSet(shift_minus030umZ),), | |
P1PXBLadder6 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umZ), | |
DetUnit2 = cms.PSet(shift_minus030umZ), | |
DetUnit7 = cms.PSet(shift_030umZ), | |
DetUnit8 = cms.PSet(shift_030umZ),), | |
P1PXBLadder7 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umZ), | |
DetUnit2 = cms.PSet(shift_030umZ), | |
DetUnit7 = cms.PSet(shift_minus030umZ), | |
DetUnit8 = cms.PSet(shift_minus030umZ),), | |
P1PXBLadder8 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umZ), | |
DetUnit2 = cms.PSet(shift_minus030umZ), | |
DetUnit7 = cms.PSet(shift_030umZ), | |
DetUnit8 = cms.PSet(shift_030umZ),), | |
P1PXBLadder9 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umZ), | |
DetUnit2 = cms.PSet(shift_030umZ), | |
DetUnit7 = cms.PSet(shift_minus030umZ), | |
DetUnit8 = cms.PSet(shift_minus030umZ),), | |
P1PXBLadder10 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umZ), | |
DetUnit2 = cms.PSet(shift_minus030umZ), | |
DetUnit7 = cms.PSet(shift_030umZ), | |
DetUnit8 = cms.PSet(shift_030umZ),), | |
P1PXBLadder11 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_030umZ), | |
DetUnit2 = cms.PSet(shift_030umZ), | |
DetUnit7 = cms.PSet(shift_minus030umZ), | |
DetUnit8 = cms.PSet(shift_minus030umZ),), | |
P1PXBLadder12 = cms.PSet( | |
DetUnit1 = cms.PSet(shift_minus030umZ), | |
DetUnit2 = cms.PSet(shift_minus030umZ), | |
DetUnit7 = cms.PSet(shift_030umZ), | |
DetUnit8 = cms.PSet(shift_030umZ),) | |
) | |
) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment