# Presentation: 517002

## Calorimeter Online Software Status

**Examines**
**Crate Unpacking**
**Calibration**
**Layer-Weight calculations**
**Downloads, Control & Monitoring**
**Displays**

## Calorimeter Examines – Cal_elec

**Cal_elec – Mrinmoy Bhattacharjee (modified l3CalCalib)**
**Electronics co’ords**
**Being actively used and upgraded weekly...currently adding in channel info for pulser patterns (based on CalInfo from Reiner Hauser)**
**Using histoscope – tested ROOT offline.  Discovered bug in histoscope when looking for .flprdefaults file.**
**B. Kehoe developing separate branch for L1 Cal trigger debugging/commissioning**
**Eventually develop base package/classes for all examines to use – incorporate all the channel info and mappings**
**Slight “feature” of casting unsigned ints in optimized compile still to be resolved**
**Online version is t01.24.00**

## Calorimeter Examines – Cal_examine

**Cal_examine – Florencia Cannelli**
**Physical co’ords – also meant for ICD, CPS & FPS**
**Been run during workshops but not much else yet**
**Some success at running with xgooey/ROOT with help of Joel Snow**
**Runs also with histoscope, raw data, MC, network and file modes and ssh**
**Needs trigger tower views eventually**
**Built at t01.35.00 offline, but t01.24.00 for online (xgooey broken in t01.31.00)**

## Calorimeter Crate Unpacking

**Timing & Control**
**Crate (0x4C)**
**Contains all meta-data (L1 crossing, analog-cell read out, PIB information etc.)**
**Structure very similar to ADC crates but is dynamic at the moment**
**Tibor Kurca (Paris) might work on this – will need guidance**

**L1CAL**
**Crate (0x10)**
**Structure similar to Run I but there are significant changes in particular for L3 readout**
**Bob Kehoe looking into this as he works on L1Cal Analysis tools (thanks to Phillipe Laurens for details)**

## Calorimeter Electronics Calibration

**Online Calibration – Taka Yasuda**
**Pedestal calibration data sent to L3 scriptrunner node (L3CalCalib – Mrinmoy Bhattacharjee + Jonathon Hays)**
**Data sent to CalibManager which stores data in Oracle dB**
**Python tools extract data to ***pickle*** files**
**Automatic validation and extraction tools needed for pedestals and zero suppression limits**
**Mrinmoy working on handling gain runs and ramps with pulser**
**Scheme for running calibrations still needs to be worked out (frequency, #events,  #DAC/delay settings, etc.)**
**Offline Calibration – Ursula Bassler**
**Developing data base tables – might want to retrofit online tables**
**Estimate 25 GB for 3 years for offline database**
**Linearity and ADC********GeV conversion**

## Calorimeter Layer-weights

**From Vishnu Zutshi**
**EM section**
**Optimized layer weights for the 4 EM layers have been calculated for the whole calorimeter using electrons in plate geometry.**
**Weights calculated as a function of the tower ieta.**
**HAD section**
**Weights for the hadronic sections are being calculated using single pions.**
**Weights for the EM layers are kept fixed relative to their electron values.**
**Coarse hadronic sections are being appropriately left out from the optimizations.**
**Distinct from Run I there exists a possibility of having massless gaps and ICD at L2.  Weight calculations for these are being looked into.**
**Weights for CC done and resistors ordered.  Next need EC’s and then ICR.**

## Calorimeter Downloads, Controls & Monitoring

**Downloads/controls**
**Pedestal and limits files read from pickle file in Comics and downloaded to ADC**
**Working on pulser control**
**General alarm monitoring of all systems needs to be implemented and more robust GUIs**

## Calorimeter Event Display

**Have 3-D display with cell information and Lego plot already**
**Nobu Oshima working on integrated 2-D display**
**Toby Burnett working on the Calorimeter display**
**Hope to have simple r-******** and r-z E and E****t**** views soon**
**Also might work on Cal Trigger Tower Lego plot**