CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
makeMuonMisalignmentScenario Namespace Reference

Functions

def cholesky
 
def mmult
 Print out user's choices as diagnostics. More...
 
def mtrans
 
def mvdot
 
def random6dof
 Generate correlated random misalignments for all chambers. More...
 

Variables

tuple ave_phix = sum_phix/float(len(misal))
 
tuple ave_phixphix = sum_phixphix/float(len(misal))
 
tuple ave_phixphiy = sum_phixphiy/float(len(misal))
 
tuple ave_phixphiz = sum_phixphiz/float(len(misal))
 
tuple ave_phiy = sum_phiy/float(len(misal))
 
tuple ave_phiyphiy = sum_phiyphiy/float(len(misal))
 
tuple ave_phiyphiz = sum_phiyphiz/float(len(misal))
 
tuple ave_phiz = sum_phiz/float(len(misal))
 
tuple ave_phizphiz = sum_phizphiz/float(len(misal))
 
tuple ave_x = sum_x/float(len(misal))
 
tuple ave_xphix = sum_xphix/float(len(misal))
 
tuple ave_xphiy = sum_xphiy/float(len(misal))
 
tuple ave_xphiz = sum_xphiz/float(len(misal))
 
tuple ave_xx = sum_xx/float(len(misal))
 
tuple ave_xy = sum_xy/float(len(misal))
 
tuple ave_xz = sum_xz/float(len(misal))
 
tuple ave_y = sum_y/float(len(misal))
 
tuple ave_yphix = sum_yphix/float(len(misal))
 
tuple ave_yphiy = sum_yphiy/float(len(misal))
 
tuple ave_yphiz = sum_yphiz/float(len(misal))
 
tuple ave_yy = sum_yy/float(len(misal))
 
tuple ave_yz = sum_yz/float(len(misal))
 
tuple ave_z = sum_z/float(len(misal))
 
tuple ave_zphix = sum_zphix/float(len(misal))
 
tuple ave_zphiy = sum_zphiy/float(len(misal))
 
tuple ave_zphiz = sum_zphiz/float(len(misal))
 
tuple ave_zz = sum_zz/float(len(misal))
 
tuple cfgfile = file(outputName + "_convert_cfg.py", "w")
 Convert it to an SQLite file with CMSSW. More...
 
tuple chomat = cholesky(matrix)
 
string components = "xx"
 
tuple globalape = mmult(rot, mmult(localape, mtrans(rot)))
 
list globalxx = globalape[0]
 
list globalxy = globalape[0]
 
list globalxz = globalape[0]
 
list globalyy = globalape[1]
 
list globalyz = globalape[1]
 
list globalzz = globalape[2]
 
list localape = [[xx, xy, xz], [xy, yy, yz], [xz, yz, zz]]
 
list matrix
 
dictionary misal = {}
 
list outputName = args[0]
 
tuple parser = OptionParser(usage="Usage: python %prog outputName [options] (default is unit matrix times 1e-15)")
 Get variances and covariances from the commandline. More...
 
list rot = rotation[system, whendcap, station, ring, sector]
 
int sum_phix = 0
 
int sum_phixphix = 0
 
int sum_phixphiy = 0
 
int sum_phixphiz = 0
 
int sum_phiy = 0
 
int sum_phiyphiy = 0
 
int sum_phiyphiz = 0
 
int sum_phiz = 0
 
int sum_phizphiz = 0
 
int sum_x = 0
 More diagnostics. More...
 
int sum_xphix = 0
 
int sum_xphiy = 0
 
int sum_xphiz = 0
 
int sum_xx = 0
 
int sum_xy = 0
 
int sum_xz = 0
 
int sum_y = 0
 
int sum_yphix = 0
 
int sum_yphiy = 0
 
int sum_yphiz = 0
 
int sum_yy = 0
 
int sum_yz = 0
 
int sum_z = 0
 
int sum_zphix = 0
 
int sum_zphiy = 0
 
int sum_zphiz = 0
 
int sum_zz = 0
 
tuple txtfile = file(outputName + "_correlations.txt", "w")
 Delete all three files at once to make sure the user never sees stale data (e.g. More...
 
tuple xmlfile = file(outputName + ".xml", "w")
 Make an XML representation of the misalignment. More...
 

Function Documentation

def makeMuonMisalignmentScenario.cholesky (   A)
Cholesky decomposition of the correlation matrix to properly normalize the transformed random deviates

Definition at line 110 of file makeMuonMisalignmentScenario.py.

References mmult(), and mathSSE.sqrt().

111 def cholesky(A):
112  """Cholesky decomposition of the correlation matrix to properly normalize the transformed random deviates"""
113 
114  # A = L * D * L^T = (L * D^0.5) * (L * D^0.5)^T where we want (L * D^0.5), the "square root" of A
115  # find L and D from A using recurrence relations
116  L = {}
117  D = {}
118  for j in range(len(A[0])):
119  D[j] = A[j][j] - sum([L[j,k]**2 * D[k] for k in range(j)])
120  for i in range(len(A)):
121  if i > j:
122  L[i,j] = (A[i][j] - sum([L[i,k] * L[j,k] * D[k] for k in range(j)])) / D[j]
123 
124  L = [[ 1., 0., 0., 0., 0., 0.],
125  [L[1,0], 1., 0., 0., 0., 0.],
126  [L[2,0], L[2,1], 1., 0., 0., 0.],
127  [L[3,0], L[3,1], L[3,2], 1., 0., 0.],
128  [L[4,0], L[4,1], L[4,2], L[4,1], 1., 0.],
129  [L[5,0], L[5,1], L[5,2], L[5,1], L[5,0], 1.]]
130 
131  Dsqrt = [[sqrt(D[0]), 0., 0., 0., 0., 0.],
132  [ 0., sqrt(D[1]), 0., 0., 0., 0.],
133  [ 0., 0., sqrt(D[2]), 0., 0., 0.],
134  [ 0., 0., 0., sqrt(D[3]), 0., 0.],
135  [ 0., 0., 0., 0., sqrt(D[4]), 0.],
136  [ 0., 0., 0., 0., 0., sqrt(D[5])]]
137 
138  return mmult(L, Dsqrt)
def mmult
Print out user's choices as diagnostics.
T sqrt(T t)
Definition: SSEVec.h:48
def makeMuonMisalignmentScenario.mmult (   a,
  b 
)

Print out user's choices as diagnostics.

Some useful mathematical transformations (why don't we have access to numpy?)

Matrix multiplication: mmult([[11, 12], [21, 22]], [[-1, 0], [0, 1]]) returns [[-11, 12], [-21, 22]]

Definition at line 98 of file makeMuonMisalignmentScenario.py.

Referenced by cholesky(), and mvdot().

98 
99 def mmult(a, b):
100  """Matrix multiplication: mmult([[11, 12], [21, 22]], [[-1, 0], [0, 1]]) returns [[-11, 12], [-21, 22]]"""
101  return [[sum([i*j for i, j in zip(row, col)]) for col in zip(*b)] for row in a]
def mmult
Print out user's choices as diagnostics.
def makeMuonMisalignmentScenario.mtrans (   a)
Matrix transposition: mtrans([[11, 12], [21, 22]]) returns [[11, 21], [12, 22]]

Definition at line 106 of file makeMuonMisalignmentScenario.py.

107 def mtrans(a):
108  """Matrix transposition: mtrans([[11, 12], [21, 22]]) returns [[11, 21], [12, 22]]"""
109  return [[a[j][i] for j in range(len(a[i]))] for i in range(len(a))]
def makeMuonMisalignmentScenario.mvdot (   m,
  v 
)
Applies matrix m to vector v: mvdot([[-1, 0], [0, 1]], [12, 55]) returns [-12, 55]

Definition at line 102 of file makeMuonMisalignmentScenario.py.

References mmult().

Referenced by random6dof().

103 def mvdot(m, v):
104  """Applies matrix m to vector v: mvdot([[-1, 0], [0, 1]], [12, 55]) returns [-12, 55]"""
105  return [i[0] for i in mmult(m, [[vi] for vi in v])]
def mmult
Print out user's choices as diagnostics.
def makeMuonMisalignmentScenario.random6dof ( )

Generate correlated random misalignments for all chambers.

Definition at line 150 of file makeMuonMisalignmentScenario.py.

References mvdot().

151 def random6dof():
152  randomunit = [gauss(0., 1.), gauss(0., 1.), gauss(0., 1.), gauss(0., 1.), gauss(0., 1.), gauss(0., 1.)]
153  return mvdot(chomat, randomunit)
def random6dof
Generate correlated random misalignments for all chambers.

Variable Documentation

tuple makeMuonMisalignmentScenario.ave_phix = sum_phix/float(len(misal))

Definition at line 236 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_phixphix = sum_phixphix/float(len(misal))

Definition at line 255 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_phixphiy = sum_phixphiy/float(len(misal))

Definition at line 256 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_phixphiz = sum_phixphiz/float(len(misal))

Definition at line 257 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_phiy = sum_phiy/float(len(misal))

Definition at line 237 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_phiyphiy = sum_phiyphiy/float(len(misal))

Definition at line 258 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_phiyphiz = sum_phiyphiz/float(len(misal))

Definition at line 259 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_phiz = sum_phiz/float(len(misal))

Definition at line 238 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_phizphiz = sum_phizphiz/float(len(misal))

Definition at line 260 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_x = sum_x/float(len(misal))

Definition at line 233 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_xphix = sum_xphix/float(len(misal))

Definition at line 243 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_xphiy = sum_xphiy/float(len(misal))

Definition at line 244 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_xphiz = sum_xphiz/float(len(misal))

Definition at line 245 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_xx = sum_xx/float(len(misal))

Definition at line 240 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_xy = sum_xy/float(len(misal))

Definition at line 241 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_xz = sum_xz/float(len(misal))

Definition at line 242 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_y = sum_y/float(len(misal))

Definition at line 234 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_yphix = sum_yphix/float(len(misal))

Definition at line 248 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_yphiy = sum_yphiy/float(len(misal))

Definition at line 249 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_yphiz = sum_yphiz/float(len(misal))

Definition at line 250 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_yy = sum_yy/float(len(misal))

Definition at line 246 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_yz = sum_yz/float(len(misal))

Definition at line 247 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_z = sum_z/float(len(misal))

Definition at line 235 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_zphix = sum_zphix/float(len(misal))

Definition at line 252 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_zphiy = sum_zphiy/float(len(misal))

Definition at line 253 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_zphiz = sum_zphiz/float(len(misal))

Definition at line 254 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.ave_zz = sum_zz/float(len(misal))

Definition at line 251 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.cfgfile = file(outputName + "_convert_cfg.py", "w")

Convert it to an SQLite file with CMSSW.

Definition at line 350 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.chomat = cholesky(matrix)

Definition at line 146 of file makeMuonMisalignmentScenario.py.

string makeMuonMisalignmentScenario.components = "xx"

Definition at line 56 of file makeMuonMisalignmentScenario.py.

Referenced by MultiTrajectoryStateAssembler.addState(), TrackerOfflineValidation.bookDirHists(), TrackerOfflineValidation.collateSummaryHists(), ForwardDetLayer.computeSurface(), MuonSeedOrcaPatternRecognition.countHits(), edm::eventsetup.determinePreferred(), SurveyInputCSCfromPins.fillAllRecords(), GsfTrackProducerBase.fillStates(), CmsTrackerDetIdBuilder.iterate(), MultiTrajectoryStateMode.momentumFromModeCartesian(), MultiTrajectoryStateMode.momentumFromModePPhiEta(), GaussianStateConversions.multiGaussianStateFromTSOS(), GaussianStateConversions.multiGaussianStateFromVertex(), MultiGaussianStateTransform.multiState(), MultiGaussianStateTransform.multiState1D(), PFGsfHelper.PFGsfHelper(), MultiTrajectoryStateMode.positionFromModeCartesian(), edm::eventsetup.preferEverything(), MuonAlignment.recursiveCopySurveyToAlignment(), MultiTrajectoryStateTransform.stateOnSurface(), GaussianStateConversions.tsosFromMultiGaussianState(), GaussianStateConversions.vertexFromMultiGaussianState(), and MuonAlignmentOutputXML.writeComponents().

tuple makeMuonMisalignmentScenario.globalape = mmult(rot, mmult(localape, mtrans(rot)))

Definition at line 322 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.globalxx = globalape[0]

Definition at line 323 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.globalxy = globalape[0]

Definition at line 324 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.globalxz = globalape[0]

Definition at line 325 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.globalyy = globalape[1]

Definition at line 326 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.globalyz = globalape[1]

Definition at line 327 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.globalzz = globalape[2]

Definition at line 328 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.localape = [[xx, xy, xz], [xy, yy, yz], [xz, yz, zz]]

Definition at line 321 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.matrix
Initial value:
1 = [[ xx, xy, xz, xphix, xphiy, xphiz],
2  [ xy, yy, yz, yphix, yphiy, yphiz],
3  [ xz, yz, zz, zphix, zphiy, zphiz],
4  [xphix, yphix, zphix, phixphix, phixphiy, phixphiz],
5  [xphiy, yphiy, zphiy, phixphiy, phiyphiy, phiyphiz],
6  [xphiz, yphiz, zphiz, phixphiz, phiyphiz, phizphiz]]

Definition at line 139 of file makeMuonMisalignmentScenario.py.

Referenced by MuonErrorMatrix.adjust(), TestOutliers.analyze(), AlcaBeamMonitor.beginLuminosityBlock(), clone(), reco::GsfComponent5D.covariance(), reco::BeamSpot.covariance3D(), PhysicsTools::VarProcessor.deriv(), CSCSegAlgoHitPruning.derivativeMatrix(), CSCSegAlgoShowering.derivativeMatrix(), CSCSegAlgoTC.derivativeMatrix(), CSCSegAlgoST.derivativeMatrix(), CSCSegAlgoDF.derivativeMatrix(), CSCSegAlgoSK.derivativeMatrix(), AlcaBeamSpotFromDB.endLuminosityBlockProduce(), CSCDbStripConditions.fetchNoisifier(), BSFitter.Fit(), BSFitter.Fit_d0phi(), BSFitter.Fit_d_likelihood(), BSFitter.Fit_d_z_likelihood(), BSFitter.Fit_dres_z_likelihood(), BSFitter.Fit_z_chi2(), BSFitter.Fit_z_likelihood(), get_transform(), DTMuonMillepede.getbcsMatrix(), DTMuonMillepede.getbqcMatrix(), DTMuonMillepede.getbsurveyMatrix(), DTMuonMillepede.getCcsMatrix(), DTMuonMillepede.getCqcMatrix(), DTMuonMillepede.getCsurveyMatrix(), DTMuonMillepede.getLagMatrix(), matrixSaver.getMatrix(), FWGeometry.getMatrix(), matrixSaver.getMatrixVector(), reco::GsfComponent5D.GsfComponent5D(), initializeMatrix(), FWGeometry.initMap(), FWGeometry.loadMap(), PhysicsTools.loadMatrix(), CSCConfigurableStripConditions.makeNoisifier(), MultiTrackVertexLinkKinematicConstraint.parametersDerivative(), CombinedKinematicConstraint.parametersDerivative(), MultiTrackPointingKinematicConstraint.parametersDerivative(), DDStreamer.pos_read(), MultiTrackVertexLinkKinematicConstraint.positionDerivative(), CombinedKinematicConstraint.positionDerivative(), MultiTrackPointingKinematicConstraint.positionDerivative(), TKinFitter.printMatrix(), BeamSpotProducer.produce(), BeamSpotOnlineProducer.produce(), DTMuonSLToSL.returnbSLMatrix(), DTMuonSLToSL.returnCSLMatrix(), reco::BeamSpot.rotatedCovariance3D(), PVFitter.runBXFitter(), PVFitter.runFitter(), BeamFitter.runPVandTrkFitter(), PhysicsTools.saveMatrix(), GsfMatrixTools.trace(), SignCaloSpecificAlgo.usePreviousSignif(), ValidateGeometry.validateCSChamberGeometry(), ValidateGeometry.validateCSCLayerGeometry(), ValidateGeometry.validateDTChamberGeometry(), ValidateGeometry.validateDTLayerGeometry(), ValidateGeometry.validateRPCGeometry(), ValidateGeometry.validateTrackerGeometry(), CSCSegAlgoHitPruning.weightMatrix(), CSCSegAlgoShowering.weightMatrix(), CSCSegAlgoTC.weightMatrix(), CSCSegAlgoST.weightMatrix(), CSCSegAlgoSK.weightMatrix(), CSCSegAlgoDF.weightMatrix(), EcalTBWeightsXMLTranslator.writeChi2WeightMatrix(), and EcalTBWeightsXMLTranslator.writeWeightMatrix().

dictionary makeMuonMisalignmentScenario.misal = {}

Definition at line 154 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.outputName = args[0]

Definition at line 44 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.parser = OptionParser(usage="Usage: python %prog outputName [options] (default is unit matrix times 1e-15)")

Get variances and covariances from the commandline.

Definition at line 9 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.rot = rotation[system, whendcap, station, ring, sector]

Definition at line 320 of file makeMuonMisalignmentScenario.py.

Referenced by AlignableModifier.addAlignmentPositionErrorFromLocalRotation(), AlignableModifier.addAlignmentPositionErrorFromRotation(), TrackerGeometryCompare.addSurveyInfo(), MuonAlignmentInputSurveyDB.addSurveyInfo_(), AlignmentProducer.addSurveyInfo_(), AlignableDet.alignments(), AlignableDetUnit.alignments(), AlignableBeamSpot.alignments(), HcalCorrPFCalculation.analyze(), BeamSpotAlignmentParameters.apply(), RigidBodyAlignmentParameters.apply(), BowedSurfaceAlignmentParameters.apply(), TwoBowedSurfacesAlignmentParameters.apply(), CtfSpecialSeedGenerator.beginRun(), PixelTrackBuilder.build(), GEMGeometryBuilderFromCondDB.build(), RPCGeometryBuilderFromCondDB.build(), CylinderBuilderFromDet.build(), GEMGeometryBuilderFromDDD.buildGeometry(), RPCGeometryBuilderFromDDD.buildGeometry(), MagGeoBuilderFromDDD.buildInterpolator(), ConversionProducer.checkPhi(), MuonGeometryArrange.compareGeometries(), TrackerGeometryCompare.compareGeometries(), TECLayer.computeDisk(), ForwardDetLayer.computeSurface(), BarrelDetLayer.computeSurface(), MuRingForwardDoubleLayer.computeSurface(), DDHCalBarrelAlgo.constructGeneralVolume(), DDHCalEndcapAlgo.constructGeneralVolume(), DDHCalBarrelAlgo.constructInsideLayers(), DDHCalEndcapAlgo.constructInsideModule(), DDHCalEndcapAlgo.constructInsideModule0(), TGeoMgrFromDdd.createShape(), MuonGmtPair.cylExtrapTrkSam(), ResidualRefitting.cylExtrapTrkSam(), DDrot(), DDrotReflect(), align.diffAlignables(), TrackerGeometryCompare.diffCommonTrackerSystem(), align.diffRot(), MuonAlignmentInputXML.do_setposition(), Decay3Body.doDecay(), DDTECModuleAlgo.doPos(), DDEcalPreshowerAlgoTB.doSens(), DDTIDModulePosAlgo.execute(), DDPixBarStackLayerAlgo.execute(), DDHCalForwardAlgo.execute(), DDHCalTBCableAlgo.execute(), DDHCalTBZposAlgo.execute(), DDPixBarTPGStackLayerAlgo.execute(), DDTrackerZPosAlgo.execute(), DDPixBarLayerAlgo.execute(), DDTIDModuleAlgo.execute(), DDTOBRodAlgo.execute(), DDTrackerLinear.execute(), DDTrackerLinearXY.execute(), DDTrackerXYZPosAlgo.execute(), DDPixBarLayerUpgradeAlgo.execute(), DDPixBarLayerUpgradeAlgoCoverage.execute(), DDPixBarStackLinear.execute(), DDPixBarStackLinearGap.execute(), DDPixBarStackTrigLayerAlgo.execute(), DDPixFwdDiskAlgo.execute(), DDHCalFibreBundle.execute(), DDHCalLinearXY.execute(), TrajectoryExtrapolatorToLine.extrapolate(), AnalyticalImpactPointExtrapolator.extrapolateSingleState(), AnalyticalTrajectoryExtrapolatorToLine.extrapolateSingleState(), MuonGeometryArrange.fillTree(), TrackerGeometryCompare.fillTree(), SurveyMisalignmentInput.getAlignableSurface(), CocoaDBMgr.GetAlignInfoFromOptO(), ALIUtils.getRotationAnglesFromMatrix(), SurveyDBUploader.getSurveyInfo(), ConversionProducer.getTrackImpactPosition(), CosmicTrackingRegion.hits_(), ECALBounds.initialize(), TrackerBounds.initialize(), ConversionTrackEcalImpactPoint.initialize(), ClusterShapeHitFilter.isNormalOriented(), JacobianCartesianToLocal.JacobianCartesianToLocal(), JacobianCurvilinearToLocal.JacobianCurvilinearToLocal(), JacobianLocalToCartesian.JacobianLocalToCartesian(), JacobianLocalToCurvilinear.JacobianLocalToCurvilinear(), TopologyWorker.ludbrb(), MuonScenarioBuilder.moveChamberInSector(), MuRingForwardLayer.MuRingForwardLayer(), TransverseBoundPlaneFactory.operator()(), PerpendicularBoundPlaneBuilder.operator()(), ForwardDiskSectorBuilderFromWedges.operator()(), ForwardDiskSectorBuilderFromDet.operator()(), ForwardRingDiskBuilderFromDet.operator()(), CylinderBuilderFromDet.operator()(), PFGeometry.PFGeometry(), DDStreamer.pos_read(), printRot(), DDLRotationSequence.processElement(), DDLRotationByAxis.processElement(), MuonSimHitProducer.produce(), AlCaHOCalibProducer.produce(), DDG4SolidConverter.pseudotrap(), GeometricDetLoader.putOne(), PGeometricDetBuilder.putOne(), AlignableDataIORoot.readAbsRaw(), AlignableDataIORoot.readRelRaw(), CocoaAnalyzer.ReadXMLFile(), TkConvValidator.recalculateMomentumAtFittedVertex(), MuonAlignment.recursiveCopySurveyToAlignment(), Alignable.rotateAroundGlobalX(), Alignable.rotateAroundGlobalY(), Alignable.rotateAroundGlobalZ(), Alignable.rotateAroundLocalX(), Alignable.rotateAroundLocalY(), Alignable.rotateAroundLocalZ(), DDCoreToDDXMLOutput.rotation(), BeamSpotAlignmentParameters.rotation(), RigidBodyAlignmentParameters.rotation(), MuonAlignment.saveCSCSurveyToDB(), MuonAlignment.saveDTSurveyToDB(), SurveyResidual.sensorResidual(), TrackerGeometryCompare.setCommonTrackerSystem(), SurveyAlignment.shiftSensors(), SeedFromNuclearInteraction.stateWithError(), CosmicMuonUtilities.stepPropagate(), MuonGmtPair.surfExtrapTrkSam(), TrackerGeometryCompare.surveyToTracker(), align.toAngles(), FrameChanger.toFrame(), TFitParticleEScaledMomDev.transform(), TFitParticleMCMomDev.transform(), TFitParticleMomDev.transform(), TFitParticleEMomDev.transform(), FrameChanger.transformPlane(), DDG4SolidConverter.trunctubs(), AlignableDataIO.writeAbsPos(), AlignableDataIORoot.writeAbsRaw(), MuonAlignmentOutputXML.writeComponents(), AlignableDataIO.writeOrgPos(), AlignableDataIO.writeRelPos(), and AlignableDataIORoot.writeRelRaw().

int makeMuonMisalignmentScenario.sum_phix = 0

Definition at line 177 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phixphix = 0

Definition at line 196 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phixphiy = 0

Definition at line 197 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phixphiz = 0

Definition at line 198 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phiy = 0

Definition at line 178 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phiyphiy = 0

Definition at line 199 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phiyphiz = 0

Definition at line 200 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phiz = 0

Definition at line 179 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phizphiz = 0

Definition at line 201 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_x = 0

More diagnostics.

Definition at line 174 of file makeMuonMisalignmentScenario.py.

Referenced by Conv.convolution(), MuonResidualsAngleFitter.fit(), MuonResidualsBfieldAngleFitter.fit(), and MuonResidualsPositionFitter.fit().

int makeMuonMisalignmentScenario.sum_xphix = 0

Definition at line 184 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_xphiy = 0

Definition at line 185 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_xphiz = 0

Definition at line 186 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_xx = 0

Definition at line 181 of file makeMuonMisalignmentScenario.py.

Referenced by MuonResidualsAngleFitter.fit(), MuonResidualsBfieldAngleFitter.fit(), MuonResidualsPositionFitter.fit(), and pftools::CaloEllipse.getMajorMinorAxes().

int makeMuonMisalignmentScenario.sum_xy = 0

Definition at line 182 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_xz = 0

Definition at line 183 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_y = 0

Definition at line 175 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_yphix = 0

Definition at line 189 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_yphiy = 0

Definition at line 190 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_yphiz = 0

Definition at line 191 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_yy = 0

Definition at line 187 of file makeMuonMisalignmentScenario.py.

Referenced by pftools::CaloEllipse.getMajorMinorAxes().

int makeMuonMisalignmentScenario.sum_yz = 0

Definition at line 188 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_z = 0

Definition at line 176 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_zphix = 0

Definition at line 193 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_zphiy = 0

Definition at line 194 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_zphiz = 0

Definition at line 195 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_zz = 0

Definition at line 192 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.txtfile = file(outputName + "_correlations.txt", "w")

Delete all three files at once to make sure the user never sees stale data (e.g.

from a stopped process due to failed conversion) Print out the list of correlations

Definition at line 294 of file makeMuonMisalignmentScenario.py.

Referenced by TrackerMap.printall(), and TrackerMap.printonline().

tuple makeMuonMisalignmentScenario.xmlfile = file(outputName + ".xml", "w")

Make an XML representation of the misalignment.

Definition at line 311 of file makeMuonMisalignmentScenario.py.

Referenced by QualityTester.beginRun(), and TrackerMap.printlayers().