def boostCovarianceMatrix(self): """ Boosts the covariance matrix adjusting the compoents of the covariance matrix according to the rules of the boost. """ boosted_cov_matrix = MyEditableCovarianceMatrix() order = ["x", "y", "z", "px", "py", "pz", "E"] for e1 in order: for e2 in order: boosted_cov_matrix.setCovarianceElement(e1,e2,self.boostCovElement(e1,e2)) return boosted_cov_matrix