# Presentation: 022614

## Beams Division Emittance Classor a set of classes from the Beam PhysicsJava Analysis Packagea.k.aOSDA Physics Library

- Krzysztof Genser
- FNAL/CD/CCF

## Emittance Classes - What is it

- Emittance – in lay terms: a measure of beam size and collimation
- A set of Java classes and utility methods which are part of a Beam Physics Analysis Package a.k.a Offline Shot Data Analysis (OSDA) Physics Library or osdaphysics
- Based on or using OSDA package to access the data: _http://www-bd.__fnal__.__gov__/__javadoc__/build/__api__/__gov__/__fnal__/controls/applications/__osda__/package-summary.html_
- The remainder of the talk will be predominantly about author’s main responsibility in the package, namely Transverse Emittance related classes; It will skip most of the other elements of the package:
- Longitudinal Emittance classes by Nickolai Kouropatkine
- Beam Lifetime, Intensity and other classes by Paul Lebrun - the original author of the osdaphysics package prototype

- K. Genser - FNAL CD Project Status Report Meeting

- 03/26/2003

## Goals

- access "raw" data information from the SDA database using the osda package and present the values in a unified way for all the accelerators, devices and their states
- To provide data for daily beam monitoring in a convenient format
- To provide convenient beam physics analysis environment

- K. Genser - FNAL CD Project Status Report Meeting

- 03/26/2003

## Analysis Model

- Get the data from SDA Data Base using OSDA API;
- (re-) package/calculate data and:
- Either return it as an object using Java API
- Or print it out using utility methods "print table";
- convert tables to e.g. root’s Column Wise Ntuple root file (or other analysis/graphics tool format)
- Use an analysis/display tool, e.g.: root, to further analyze and/or plot the data

- K. Genser - FNAL CD Project Status Report Meeting

- 03/26/2003

## Deployment

- Classes are used:
- In beam quality related tables generated daily on per store basis:
- emittance tables (S. Panacek):
- _http://hepjava1.fnal.gov/OSDA/TableMaker.__jsp_
- Mainly presentation of the raw data from Flying Wires & Synchrotron Light beam detectors plus recalculation of the data in case of Flying Wires Transverse Emittance measurements
- “supertable” (T. Bolshakov, BD):
- _http://www-bd.__fnal__.__gov__/__SDAMisc__/__SuperTableControl__.html_
- in a so called Open Access Client to provide more accurate measurement of the transverse emittance for the Main Control Room (D. Nicklaus, BD)

- K. Genser - FNAL CD Project Status Report Meeting

- 03/26/2003

## Other Usage

- studies done so far:
- Transverse Emittance Measurement Studies in the Tevatron at 150GeV during Pbar injection using Flying Wires (beam detectors) data
- discovered that only pass 1 of the flying wire was used, using pass 2 decreased fluctuations (implemented in the detector front end now)
- proved that when using Flying Wires to measure transverse beam spread and Sampled Bunch Display (SBD) to measure longitudinal beam spread gives more stable results compared using Flying Wires to measure both quantities only (to be implemented using the Open Access Client for the Main Control Room)
- Preliminary studies related to the increase of the emittance during acceleration in the Tevatron
- Shown that transverse  emittance calculations using Flying Wires & Sampled Bunch Display data do not show (as strong, if any) emittance increase during the Tevatron accelerations process (compared to the calculations based on the Flying Wires data only)

- K. Genser - FNAL CD Project Status Report Meeting

- 03/26/2003

## Example Analysis Plot

- Plots showing ratios of recalculated and raw Tevatron horizontal proton emittance
- before (C08) and after (C10) acceleration

- K. Genser - FNAL CD Project Status Report Meeting

- 03/26/2003

## What’s next?

- Include data quality information in the class output (and tables)
- The containers/interfaces are there, but algorithms are not developed; studies needed
- More beam analysis on an as needed basis, e.g.:
- study of the Tevatron Flying Wires and Synchrotron Light detectors emittance measurement discrepancy

- K. Genser - FNAL CD Project Status Report Meeting

- 03/26/2003

## Summary

- A framework for offline beam analysis is being developed;
- Emittance data is available via osdaphysics package Emittance Classes
- Emittance classes present quite general data access model which can be used for other beam quantities
- Beam Emittance, Lifetime and Intensity Classes are used in the daily beam monitoring as well as in offline beam analysis
- Code documentation is available under: _http://www-bd.fnal.gov/javadoc/build/api/gov/fnal/controls/applications/osdaphysics/package-summary.html_

- K. Genser - FNAL CD Project Status Report Meeting

- 03/26/2003