CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 112 of file makeMuonMisalignmentScenario.py.

References mmult(), sistrip::SpyUtilities.range(), and mathSSE.sqrt().

113 def cholesky(A):
114  """Cholesky decomposition of the correlation matrix to properly normalize the transformed random deviates"""
115 
116  # 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
117  # find L and D from A using recurrence relations
118  L = {}
119  D = {}
120  for j in range(len(A[0])):
121  D[j] = A[j][j] - sum([L[j,k]**2 * D[k] for k in range(j)])
122  for i in range(len(A)):
123  if i > j:
124  L[i,j] = (A[i][j] - sum([L[i,k] * L[j,k] * D[k] for k in range(j)])) / D[j]
125 
126  L = [[ 1., 0., 0., 0., 0., 0.],
127  [L[1,0], 1., 0., 0., 0., 0.],
128  [L[2,0], L[2,1], 1., 0., 0., 0.],
129  [L[3,0], L[3,1], L[3,2], 1., 0., 0.],
130  [L[4,0], L[4,1], L[4,2], L[4,1], 1., 0.],
131  [L[5,0], L[5,1], L[5,2], L[5,1], L[5,0], 1.]]
132 
133  Dsqrt = [[sqrt(D[0]), 0., 0., 0., 0., 0.],
134  [ 0., sqrt(D[1]), 0., 0., 0., 0.],
135  [ 0., 0., sqrt(D[2]), 0., 0., 0.],
136  [ 0., 0., 0., sqrt(D[3]), 0., 0.],
137  [ 0., 0., 0., 0., sqrt(D[4]), 0.],
138  [ 0., 0., 0., 0., 0., sqrt(D[5])]]
139 
140  return mmult(L, Dsqrt)
def mmult
Print out user's choices as diagnostics.
const uint16_t range(const Frame &aFrame)
T sqrt(T t)
Definition: SSEVec.h:19
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 100 of file makeMuonMisalignmentScenario.py.

References ComparisonHelper.zip().

Referenced by cholesky(), and mvdot().

101 def mmult(a, b):
102  """Matrix multiplication: mmult([[11, 12], [21, 22]], [[-1, 0], [0, 1]]) returns [[-11, 12], [-21, 22]]"""
103  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.
OutputIterator zip(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Compare comp)
def makeMuonMisalignmentScenario.mtrans (   a)
Matrix transposition: mtrans([[11, 12], [21, 22]]) returns [[11, 21], [12, 22]]

Definition at line 108 of file makeMuonMisalignmentScenario.py.

References sistrip::SpyUtilities.range().

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

Definition at line 104 of file makeMuonMisalignmentScenario.py.

References mmult().

Referenced by random6dof().

105 def mvdot(m, v):
106  """Applies matrix m to vector v: mvdot([[-1, 0], [0, 1]], [12, 55]) returns [-12, 55]"""
107  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 152 of file makeMuonMisalignmentScenario.py.

References mvdot().

153 def random6dof():
154  randomunit = [gauss(0., 1.), gauss(0., 1.), gauss(0., 1.), gauss(0., 1.), gauss(0., 1.), gauss(0., 1.)]
155  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 238 of file makeMuonMisalignmentScenario.py.

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

Definition at line 257 of file makeMuonMisalignmentScenario.py.

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

Definition at line 258 of file makeMuonMisalignmentScenario.py.

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

Definition at line 259 of file makeMuonMisalignmentScenario.py.

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

Definition at line 239 of file makeMuonMisalignmentScenario.py.

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

Definition at line 260 of file makeMuonMisalignmentScenario.py.

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

Definition at line 261 of file makeMuonMisalignmentScenario.py.

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

Definition at line 240 of file makeMuonMisalignmentScenario.py.

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

Definition at line 262 of file makeMuonMisalignmentScenario.py.

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

Definition at line 235 of file makeMuonMisalignmentScenario.py.

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

Definition at line 245 of file makeMuonMisalignmentScenario.py.

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

Definition at line 246 of file makeMuonMisalignmentScenario.py.

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

Definition at line 247 of file makeMuonMisalignmentScenario.py.

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

Definition at line 242 of file makeMuonMisalignmentScenario.py.

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

Definition at line 243 of file makeMuonMisalignmentScenario.py.

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

Definition at line 244 of file makeMuonMisalignmentScenario.py.

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

Definition at line 236 of file makeMuonMisalignmentScenario.py.

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

Definition at line 250 of file makeMuonMisalignmentScenario.py.

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

Definition at line 251 of file makeMuonMisalignmentScenario.py.

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

Definition at line 252 of file makeMuonMisalignmentScenario.py.

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

Definition at line 248 of file makeMuonMisalignmentScenario.py.

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

Definition at line 249 of file makeMuonMisalignmentScenario.py.

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

Definition at line 237 of file makeMuonMisalignmentScenario.py.

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

Definition at line 254 of file makeMuonMisalignmentScenario.py.

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

Definition at line 255 of file makeMuonMisalignmentScenario.py.

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

Definition at line 256 of file makeMuonMisalignmentScenario.py.

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

Definition at line 253 of file makeMuonMisalignmentScenario.py.

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

Convert it to an SQLite file with CMSSW.

Definition at line 352 of file makeMuonMisalignmentScenario.py.

tuple makeMuonMisalignmentScenario.chomat = cholesky(matrix)

Definition at line 148 of file makeMuonMisalignmentScenario.py.

string makeMuonMisalignmentScenario.components = "xx"

Definition at line 58 of file makeMuonMisalignmentScenario.py.

Referenced by MultiTrajectoryStateAssembler.addState(), TrackerOfflineValidation.bookDirHists(), TrackProducerAlgorithm< reco::GsfTrack >.buildTrack(), DAFTrackProducerAlgorithm.calculateNdof(), DAFTrackProducerAlgorithm.checkHits(), ForwardDetLayer.computeSurface(), MuonSeedOrcaPatternRecognition.countHits(), DAFTrackProducerAlgorithm.countingGoodHits(), edm::eventsetup::EventSetupProvider.determinePreferred(), edm::eventsetup::EventSetupRecordProvider.fillReferencedDataKeys(), GsfTrackProducerBase.fillStates(), DAFTrackProducerAlgorithm.filter(), AlignableCompositeBuilder.maxNumComponents(), multiTrajectoryStateMode.momentumFromModeCartesian(), multiTrajectoryStateMode.momentumFromModePPhiEta(), GaussianStateConversions.multiGaussianStateFromTSOS(), GaussianStateConversions.multiGaussianStateFromVertex(), MultiGaussianStateTransform.multiState(), MultiGaussianStateTransform.multiState1D(), PFGsfHelper.PFGsfHelper(), multiTrajectoryStateMode.positionFromModeCartesian(), edm::eventsetup.preferEverything(), TrackerOfflineValidation.prepareSummaryHists(), MuonAlignment.recursiveCopySurveyToAlignment(), MultiTrajectoryStateTransform.stateOnSurface(), TrajAnnealing.TrajAnnealing(), GaussianStateConversions.tsosFromMultiGaussianState(), GaussianStateConversions.vertexFromMultiGaussianState(), and MuonAlignmentOutputXML.writeComponents().

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

Definition at line 324 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.globalxx = globalape[0]

Definition at line 325 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.globalxy = globalape[0]

Definition at line 326 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.globalxz = globalape[0]

Definition at line 327 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.globalyy = globalape[1]

Definition at line 328 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.globalyz = globalape[1]

Definition at line 329 of file makeMuonMisalignmentScenario.py.

list makeMuonMisalignmentScenario.globalzz = globalape[2]

Definition at line 330 of file makeMuonMisalignmentScenario.py.

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

Definition at line 323 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 141 of file makeMuonMisalignmentScenario.py.

Referenced by MuonErrorMatrix.adjust(), TestOutliers.analyze(), clone(), reco::GsfComponent5D.covariance(), reco::BeamSpot.covariance3D(), PhysicsTools::VarProcessor.deriv(), CSCSegFit.derivativeMatrix(), MuonSegFit.derivativeMatrix(), GEMCSCSegFit.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(), FakeBeamMonitor.FitAndFill(), get_transform(), DTMuonMillepede.getbcsMatrix(), OnlineMetaDataRawToDigi.getBeamSpot(), DTMuonMillepede.getbqcMatrix(), DTMuonMillepede.getbsurveyMatrix(), DTMuonMillepede.getCcsMatrix(), DTMuonMillepede.getCqcMatrix(), DTMuonMillepede.getCsurveyMatrix(), DTMuonMillepede.getLagMatrix(), matrixSaver.getMatrix(), FWGeometry.getMatrix(), matrixSaver.getMatrixVector(), OnlineBeamMonitor.globalBeginLuminosityBlock(), AlcaBeamMonitor.globalBeginLuminosityBlock(), reco::GsfComponent5D.GsfComponent5D(), initializeMatrix(), FWGeometry.initMap(), FWGeometry.loadMap(), CSCConfigurableStripConditions.makeNoisifier(), MultiTrackVertexLinkKinematicConstraint.parametersDerivative(), MultiTrackPointingKinematicConstraint.parametersDerivative(), CombinedKinematicConstraint.parametersDerivative(), DDCoreToDDXMLOutput.position(), MultiTrackVertexLinkKinematicConstraint.positionDerivative(), MultiTrackPointingKinematicConstraint.positionDerivative(), CombinedKinematicConstraint.positionDerivative(), TKinFitter.printMatrix(), BeamSpotProducer.produce(), BeamSpotOnlineProducer.produce(), KfComponentsHolder.projection(), KFBasedPixelFitter::MyBeamSpotHit.projectionMatrix(), DTMuonSLToSL.returnbSLMatrix(), DTMuonSLToSL.returnCSLMatrix(), reco::BeamSpot.rotatedCovariance3D(), cms::rotation_utils.rotHash(), PVFitter.runBXFitter(), PVFitter.runFitter(), BeamFitter.runPVandTrkFitter(), GsfMatrixTools.trace(), cms::DDFilteredView.translation(), SignCaloSpecificAlgo.usePreviousSignif(), CSCGeometryValidate.validateCSCChamberGeometry(), ValidateGeometry.validateCSChamberGeometry(), ValidateGeometry.validateCSCLayerGeometry(), DTGeometryValidate.validateDTChamberGeometry(), ValidateGeometry.validateDTChamberGeometry(), DTGeometryValidate.validateDTLayerGeometry(), ValidateGeometry.validateDTLayerGeometry(), GEMGeometryValidate.validateGEMChamberGeometry(), ME0GeometryValidate.validateME0ChamberGeometry(), ME0GeometryValidate.validateME0EtaPartitionGeometry2(), RPCGeometryValidate.validateRPCChamberGeometry(), ValidateGeometry.validateRPCGeometry(), ValidateGeometry.validateTrackerGeometry(), CSCSegFit.weightMatrix(), MuonSegFit.weightMatrix(), GEMCSCSegFit.weightMatrix(), EcalTBWeightsXMLTranslator.writeChi2WeightMatrix(), and EcalTBWeightsXMLTranslator.writeWeightMatrix().

dictionary makeMuonMisalignmentScenario.misal = {}

Definition at line 156 of file makeMuonMisalignmentScenario.py.

Referenced by IdealResult.solve().

list makeMuonMisalignmentScenario.outputName = args[0]

Definition at line 46 of file makeMuonMisalignmentScenario.py.

Referenced by ecaldqm::MLClient.producePlots().

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 11 of file makeMuonMisalignmentScenario.py.

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

Definition at line 322 of file makeMuonMisalignmentScenario.py.

Referenced by CreateIdealTkAlRecords.addAlignmentInfo(), AlignableModifier.addAlignmentPositionErrorFromLocalRotation(), AlignableModifier.addAlignmentPositionErrorFromRotation(), FWTGeoRecoGeometryESProducer.addCaloTowerGeometry(), FWTGeoRecoGeometryESProducer.addHcalCaloGeometryBarrel(), FWTGeoRecoGeometryESProducer.addHcalCaloGeometryEndcap(), FWTGeoRecoGeometryESProducer.addHcalCaloGeometryForward(), FWTGeoRecoGeometryESProducer.addHcalCaloGeometryOuter(), cms::DDNamespace.addRotation(), cms::rotation_utils.addRotWithNewName(), TrackerGeometryCompare.addSurveyInfo(), AlignmentProducerBase.addSurveyInfo(), MuonAlignmentInputSurveyDB.addSurveyInfo_(), algorithm(), AlignableDet.alignments(), AlignableBeamSpot.alignments(), AlignableDetUnit.alignments(), BeamSpotAlignmentParameters.apply(), RigidBodyAlignmentParameters.apply(), BowedSurfaceAlignmentParameters.apply(), TwoBowedSurfacesAlignmentParameters.apply(), HGCalTrackCollectionProducer.beginLuminosityBlock(), CtfSpecialSeedGenerator.beginRun(), SiPixelPhase1Analyzer.BookForwardBins(), PixelTrackBuilder.build(), RPCGeometryBuilderFromCondDB.build(), ME0GeometryBuilderFromCondDB.build(), CylinderBuilderFromDet.build(), RPCGeometryBuilder.buildGeometry(), RPCGeometryParsFromDD.buildGeometry(), magneticfield::MagGeoBuilder.buildInterpolator(), MagGeoBuilderFromDDD.buildInterpolator(), PPSGeometryBuilder.buildItemFromDetGeomDesc(), ConversionProducer.checkPhi(), MuonGeometryArrange.compareGeometries(), TrackerGeometryCompare.compareGeometries(), TIDLayer.computeDisk(), Phase2EndcapLayer.computeDisk(), BarrelDetLayer.computeSurface(), ForwardDetLayer.computeSurface(), MTDSectorForwardDoubleLayer.computeSurface(), MTDRingForwardDoubleLayer.computeSurface(), MuRingForwardDoubleLayer.computeSurface(), DDHGCalTBModuleX.constructBlocks(), DDHCalBarrelAlgo.constructGeneralVolume(), DDHCalEndcapAlgo.constructGeneralVolume(), HCalEndcapAlgo.constructGeneralVolume(), DDHCalBarrelAlgo.constructInsideLayers(), HcalBarrelAlgo.constructInsideLayers(), DDHCalEndcapModuleAlgo.constructInsideModule(), DDHCalEndcapAlgo.constructInsideModule(), HCalEndcapModuleAlgo.constructInsideModule(), HCalEndcapAlgo.constructInsideModule(), DDHCalEndcapModuleAlgo.constructInsideModule0(), DDHCalEndcapAlgo.constructInsideModule0(), HCalEndcapModuleAlgo.constructInsideModule0(), HCalEndcapAlgo.constructInsideModule0(), DDAHcalModuleAlgo.constructLayers(), DDHGCalTBModule.constructLayers(), DDHGCalTBModuleX.constructLayers(), DDHGCalModule.constructLayers(), DDHGCalModuleAlgo.constructLayers(), DDHGCalEEAlgo.constructLayers(), DDHGCalHEAlgo.constructLayers(), DDHGCalHEFileAlgo.constructLayers(), DDHGCalEEFileAlgo.constructLayers(), DDHGCalMixLayer.constructLayers(), DDHGCalSiliconModule.constructLayers(), TSCPBuilderNoMaterial.createFTSatTransverseImpactPointCharged(), TGeoMgrFromDdd.createShape(), L1MuonRecoTreeProducer.cylExtrapTrkSam(), ResidualRefitting.cylExtrapTrkSam(), DetGeomDesc.DetGeomDesc(), align.diffAlignables(), TrackerGeometryCompare.diffCommonTrackerSystem(), align.diffRot(), MuonAlignmentInputXML.do_setposition(), Decay3Body.doDecay(), DDTECModuleAlgo.doPos(), DDEcalPreshowerAlgoTB.doSens(), DDHGCalCell.execute(), DDHGCalWafer8.execute(), DDTOBRodAlgo.execute(), DDTrackerXYZPosAlgo.execute(), DDTrackerZPosAlgo.execute(), DDTIDModulePosAlgo.execute(), DDHGCalWaferF.execute(), DDTrackerLinear.execute(), DDHGCalWaferP.execute(), DDHGCalWafer.execute(), DDHCalLinearXY.execute(), DDPixFwdDiskAlgo.execute(), DDTIDModuleAlgo.execute(), DDPixPhase1FwdDiskAlgo.execute(), DDHCalTBZposAlgo.execute(), DDPixBarLayerAlgo.execute(), DDPixBarLayerUpgradeAlgo.execute(), DDBHMAngular.execute(), DDHCalForwardAlgo.execute(), DDHCalTBCableAlgo.execute(), DDHCalFibreBundle.execute(), TrajectoryExtrapolatorToLine.extrapolate(), AnalyticalImpactPointExtrapolator.extrapolateSingleState(), AnalyticalTrajectoryExtrapolatorToLine.extrapolateSingleState(), AlCaHOCalibProducer.fillHOStore(), MuonGeometryArrange.fillTree(), TrackerGeometryCompare.fillTree(), SurveyMisalignmentInput.getAlignableSurface(), CocoaDBMgr.GetAlignInfoFromOptO(), ME0GeometryParsFromDD.getRotation(), GEMGeometryParsFromDD.getRotation(), HCalEndcapModuleAlgo.getRotation(), HcalBarrelAlgo.getRotation(), HCalEndcapAlgo.getRotation(), ALIUtils.getRotationAnglesFromMatrix(), SurveyDBUploader.getSurveyInfo(), ConversionProducer.getTrackImpactPosition(), HcalBarrelAlgo.HcalBarrelAlgo(), HGCalSiliconModule.HGCalSiliconModule(), RectangularEtaPhiTrackingRegion.hits(), CosmicTrackingRegion.hits_(), initBarrel(), initCylinder(), initNegative(), initPositive(), SmartPropagator.initTkVolume(), ClusterShapeHitFilter.isNormalOriented(), JacobianCartesianToLocal.JacobianCartesianToLocal(), JacobianCurvilinearToLocal.JacobianCurvilinearToLocal(), JacobianLocalToCartesian.JacobianLocalToCartesian(), JacobianLocalToCurvilinear.JacobianLocalToCurvilinear(), riemannFit.lineFit(), MuonScenarioBuilder.moveChamberInSector(), MTDRingForwardLayer.MTDRingForwardLayer(), MTDSectorForwardLayer.MTDSectorForwardLayer(), MuRingForwardLayer.MuRingForwardLayer(), TransverseBoundPlaneFactory.operator()(), PerpendicularBoundPlaneBuilder.operator()(), MTDDiskSectorBuilderFromDet.operator()(), ForwardDiskSectorBuilderFromWedges.operator()(), ForwardDiskSectorBuilderFromDet.operator()(), ForwardRingDiskBuilderFromDet.operator()(), CylinderBuilderFromDet.operator()(), DTGeometryBuilderFromDD4hep.plane(), cms::DTGeometryBuilder.plane(), DDCoreToDDXMLOutput.position(), DDHGCalHEAlgo.positionMix(), DDHGCalHEFileAlgo.positionMix(), DDHGCalMixLayer.positionMix(), DDLRotationSequence.processElement(), DDLRotationByAxis.processElement(), SeedProducerFromSoA.produce(), PixelTrackProducerFromSoA.produce(), TkMSParameterizationBuilder.produce(), MuonSimHitProducer.produce(), PGeometricDetBuilder.putOne(), AlignableDataIORoot.readAbsRaw(), AlignableDataIORoot.readRelRaw(), CocoaAnalyzer.readXMLFile(), TkConvValidator.recalculateMomentumAtFittedVertex(), MuonAlignment.recursiveCopySurveyToAlignment(), DDEcalEndcapTrap.rotate(), DDEcalEndcapTrapX.rotate(), Alignable.rotateAroundGlobalX(), Alignable.rotateAroundGlobalY(), Alignable.rotateAroundGlobalZ(), Alignable.rotateAroundLocalX(), Alignable.rotateAroundLocalY(), Alignable.rotateAroundLocalZ(), DDCoreToDDXMLOutput.rotation(), RigidBodyAlignmentParameters.rotation(), BeamSpotAlignmentParameters.rotation(), brokenline.rotationMatrix(), MuonAlignment.saveCSCSurveyToDB(), MuonAlignment.saveDTSurveyToDB(), SurveyResidual.sensorResidual(), TrackerGeometryCompare.setCommonTrackerSystem(), SurveyAlignment.shiftSensors(), DDCoreToDDXMLOutput.solid(), SeedFromNuclearInteraction.stateWithError(), CosmicMuonUtilities.stepPropagate(), L1MuonRecoTreeProducer.surfExtrapTrkSam(), TrackerGeometryCompare.surveyToTracker(), align.toAngles(), FrameChanger.toFrame(), TFitParticleEMomDev.transform(), TFitParticleMCMomDev.transform(), TFitParticleMomDev.transform(), TFitParticleEScaledMomDev.transform(), FrameChanger.transformPlane(), HGCalGeomRotation.uvMappingFrom120DegreeSector0(), HGCalGeomRotation.uvMappingFrom60DegreeSector0(), HGCalGeomRotation.uvMappingTo120DegreeSector0(), HGCalGeomRotation.uvMappingTo60DegreeSector0(), AlignableDataIO.writeAbsPos(), AlignableDataIORoot.writeAbsRaw(), MuonAlignmentOutputXML.writeComponents(), AlignableDataIO.writeOrgPos(), AlignableDataIO.writeRelPos(), and AlignableDataIORoot.writeRelRaw().

int makeMuonMisalignmentScenario.sum_phix = 0

Definition at line 179 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phixphix = 0

Definition at line 198 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phixphiy = 0

Definition at line 199 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phixphiz = 0

Definition at line 200 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phiy = 0

Definition at line 180 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phiyphiy = 0

Definition at line 201 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phiyphiz = 0

Definition at line 202 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phiz = 0

Definition at line 181 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_phizphiz = 0

Definition at line 203 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_x = 0

More diagnostics.

Definition at line 176 of file makeMuonMisalignmentScenario.py.

Referenced by MuonResidualsAngleFitter.fit(), MuonResidualsBfieldAngleFitter.fit(), MuonResidualsPositionFitter.fit(), and ticl::PatternRecognitionbyCLUE3D< TILES >.makeTracksters().

int makeMuonMisalignmentScenario.sum_xphix = 0

Definition at line 186 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_xphiy = 0

Definition at line 187 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_xphiz = 0

Definition at line 188 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_xx = 0

Definition at line 183 of file makeMuonMisalignmentScenario.py.

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

int makeMuonMisalignmentScenario.sum_xy = 0

Definition at line 184 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_xz = 0

Definition at line 185 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_y = 0

Definition at line 177 of file makeMuonMisalignmentScenario.py.

Referenced by ticl::PatternRecognitionbyCLUE3D< TILES >.makeTracksters().

int makeMuonMisalignmentScenario.sum_yphix = 0

Definition at line 191 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_yphiy = 0

Definition at line 192 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_yphiz = 0

Definition at line 193 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_yy = 0

Definition at line 189 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_yz = 0

Definition at line 190 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_z = 0

Definition at line 178 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_zphix = 0

Definition at line 195 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_zphiy = 0

Definition at line 196 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_zphiz = 0

Definition at line 197 of file makeMuonMisalignmentScenario.py.

int makeMuonMisalignmentScenario.sum_zz = 0

Definition at line 194 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 296 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 313 of file makeMuonMisalignmentScenario.py.

Referenced by TrackerMap.printlayers().