Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Optics/Analysis Update Chris Rogers MICE Software pc 28 April 05.

Similar presentations


Presentation on theme: "1 Optics/Analysis Update Chris Rogers MICE Software pc 28 April 05."— Presentation transcript:

1 1 Optics/Analysis Update Chris Rogers MICE Software pc 28 April 05

2 2 Analysis Various changes –Mostly on level of code clean up/algorithm improvement Cleaned up Analysis.cc –Added Analysis.hh Altered File I/O –Added AnalysisPlaneManager File I/O causes bottleneck –Changed algorithm to read in all AnalysisPlanes in one pass through file I/O goes as (number of planes) rather than (number of planes) 2 Fixed SPE algorithm –Now works for 2/4/6 dimensions Output format solidified –Two interface classes for event-by-event output and plane-by-plane output –Mechanical angular momentum added Added functionality to pull beta function into Analysis.cc –Use it to generate a covariance matrix –Currently interfaces through a text file, eventually should go direct from Optics To do: –Change method of generating weighting for Gaussian dist n –Clean up emittance calculation algorithm to dodge rounding errors

3 3 Optics Several new classes (not on cvs) –Driven by Beamline design work, so I’m doing Optics first and then interfacing it into BeamTools later BetaFunction –Takes a field map, takes quadrupoles, also materials –Calculates the Beta Function Material –Calculates the change in pz, beta, alpha, emittance from passing through some (thin) material Quadrupole –Calculates kappa for a quadrupole (May be a bit buggy) Need to do: –(i) Need a wrapper to generate field maps/read in datacards –(ii) Need a minimiser Should we use minuit? –I don’t know if we need anything else… Aim is to have this finished by Frascati –Plus BeamTools work plus some Analysis toys…

4 4 Class Diagram BetaFunction MaterialQuadrupole OpticsFieldManager Fields/BeamTools Minimiser Output done

5 5 e.g. beta through MICE Channel Beta(z)

6 6 Summary Lots of changes Mostly lots of small changes Optics Package in preparation, but working backwards –Need to sort out BeamTools sometime


Download ppt "1 Optics/Analysis Update Chris Rogers MICE Software pc 28 April 05."

Similar presentations


Ads by Google