CMS 3D CMS Logo

Namespaces | Functions | Variables
makeMuonMisalignmentScenario.py File Reference

Go to the source code of this file.

Namespaces

 makeMuonMisalignmentScenario
 

Functions

def makeMuonMisalignmentScenario.cholesky (A)
 
def makeMuonMisalignmentScenario.mmult (a, b)
 Print out user's choices as diagnostics. More...
 
def makeMuonMisalignmentScenario.mtrans (a)
 
def makeMuonMisalignmentScenario.mvdot (m, v)
 
def makeMuonMisalignmentScenario.random6dof ()
 Generate correlated random misalignments for all chambers. More...
 

Variables

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