~plane1/maus/devel_624

Viewing all changes in revision 619.

  • Committer: Peter Lane
  • Date: 2011-10-18 17:45:36 UTC
  • Revision ID: plane1@iit.edu-20111018174536-5qzkj1qnbbvdrjsk
Started to modify CovarianceMatrix as well even though that work is under a
different issue tracker number and should probably be in a different branch.
This is because the modifications to CovarianceMatrix affect the new TransferMap
class.

The general philosophy behind the CovarianceMatrix mods is to make it a much
simpler subclass of HepSymMatrix. One advantage of this is that it will inherit
all of the matrix manipulation functions/operators. Correct useage should start
with creating an instance from individual parameters or a HepSymMatrix. To
rotate, normalise, etc... one should simply copy the matrix and then call
the appropriate function related to the manipulation (i.e. Rotate()). I need
to add copy and operator= functions to facilitate this.

I have pulled out the MomentHeap class and put it into it's own source files.

I am in the process of removing all normalisation code. A new Normalise()
function needs to be added to normalise the matrix elements as well as the mean.

I am planning on pulling out all the bunch, phase space, and trace space
variable stuff. I am not sure what exactly that is used for, but I believe a
better way to handle this is to create new classes that contain a
CovarianceMatrix object as a member variable and do manipulations on that
matrix. This will unclutter CovarianceMatrix even more and make it more clear
what one is doing with that matrix. Included in these commits is the beginnings
of a Bunch class that will do this for the bunch variables.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: