# Presentation: 401160

## MINOS Computing Project Status

- Liz Buckley-Geer

- Liz Buckley-Geer

- November 12  2003

## The MINOS Experiment

- Far detector: 5400 tons

- Liz Buckley-Geer

- November 12  2003

## The MINOS Experiment

- Far detector: 5400 tons

- Liz Buckley-Geer

- November 12  2003

## The completed MINOS Far Detector at Soudan

- Liz Buckley-Geer

- November 12  2003

## Experiment Status

- The Far detector was completed in July 2003 and we are taking cosmic ray and atmospheric neutrino data
- This data is being used for physics studies and a number of graduate students will get their theses using it
- We have completed the last testbeam run at CERN with the calibration detector (Caldet). We are processing this data on the farm
- The near detector assembly will start February 04 once we get beneficial occupancy of the detector hall.
- First beam will be January 2005

- Liz Buckley-Geer

- November 12  2003

## Tasks in MINOS Computing

- Offline Software
- Robert Hatcher
- Data handling
- Bruce Greenway
- Liz Buckley-Geer
- Databases
- Dennis Box
- CRL
- Bruce Greenway
- Suzanne Panacek
- Near detector LAN installation
- Alden Clifford
- Ron Cudzewicz
- System Support and installs – will not talk about this today
- John Urish

- Liz Buckley-Geer

- November 12  2003

## MINOS uses ROOT as the basis of its offline software
All new code is C++
Using SRT
Mostly Linux (RedHat with a few rogues - Debian). Have an SGI at FNAL but not used for running C++ code.
Current supported compiler is gcc 3.2.
Not using UPS/UPD
Not using any ZOOM or CLHEP packages
Detector simulation is still done using Fortran package + Geant 3 but moving to C++ based digitization at the moment
Monte Carlo truth information is stored in Adamo tables and converted to equivalent ROOT classes using a converter program

- All new code is C++
- Using SRT
- Mostly Linux (RedHat with a few rogues - Debian). Have an SGI at FNAL but not used for running C++ code.
- Current supported compiler is gcc 3.2.
- Not using UPS/UPD
- Not using any ZOOM or CLHEP packages
- Detector simulation is still done using Fortran package + Geant 3 but moving to C++ based digitization at the moment
- Monte Carlo truth information is stored in Adamo tables and converted to equivalent ROOT classes using a converter program

- Overview of MINOS Offline Software

- Liz Buckley-Geer

- November 12  2003

## Overview cont’d

- Code is organized into modules
- Modules invoke Algorithms which construct Candidates
- Candidates are the event classes - there are a set of base reconstruction classes for things like tracks etc that inherit from Candidate
- Algorithms do things like reconstruct muon tracks and hadron showers
- Much of the code development is done by university collaborators. Will only mention the packages that we work on at FNAL (mostly Robert)

- Liz Buckley-Geer

- November 12  2003

## Offline Software

- Geometry-like information
- UgliGeometry - unified geometry access
- Plex - logical connections between detector elements, channel number to scintillator strip for example
- Magnetic Field package
- Raw Data
- Packaging and unpacking of the DAQ and DCS (Detector Control System) data
- Detector simulation
- Support of GMINOS Fortran simulation framework
- Integration of user contributions
- Production of neutrino flux files
- Lots of user consulting and debugging
- Fixing other people coding bugs

- Liz Buckley-Geer

- November 12  2003

## Last six months

- Geometry
- Geometry for the Veto Shield is pretty much complete – took longer than expected due to multiple iterations of the detector configuration
- Helped produce version of geometry that includes alignment data derived from cosmic ray muons
- Detector Simulation
- Integrated various code from users for things like cross-talk, fixes to Geisha, random number generator
- Integrate new event generator (Neugen3) – new interface
- General
- Ongoing improvements and bug fixes to user contributed code
- Lots of user consulting

- Liz Buckley-Geer

- November 12  2003

## Plan for next 3 months

- We are planning on having a “mock data” challenge to evaluate our readiness to analyze neutrino beam data. This will not include the data handling.
- We will generate Monte Carlo data for which the input parameters will not be known by the people doing the analysis
- Robert is heavily involved in the planning for this (along with others)
- Generation of new neutrino flux files for simulation
- Update geometry to reflect detector as built – particularly important to the near detector where the current geometry does not reflect the actual layout of the scintillator modules on the steel
- Integrate various pieces into GMINOS to include matter effects, hide input parameters

- Liz Buckley-Geer

- November 12  2003

## Plan cont’d

- Schedule for challenge is to be ready to make initial data sets by Dec 1.
- Want to have datasets available by Cambridge collaboration meeting – Jan 04
- Expecting first results from challenge by March meeting
- Other activities
- Need to upgrade DatabaseUpdater for various data items. Need to run through all the raw data files to re-extract this information. Will also generate SAM metadata at the same time
- Continuing user consulting and bug fixing

- Liz Buckley-Geer

- November 12  2003

## Data Handling

- Current situation
- All raw and reconstructed data is written into STKen
- Metadata for the raw data files is available in the MINOS offline database and is searchable from a web interface (_[http://www-numi.fnal.gov/minwork/computing/findrun.html](http://www-numi.fnal.gov/minwork/computing/findrun.html)_)
- There is currently no metadata for the reconstructed files. Users look in pnfs via a web page _[http://www-stken.fnal.gov/enstore/minos_pnfs_ls.html](http://www-stken.fnal.gov/enstore/minos_pnfs_ls.html)_ provided by Jon Bakken.
- Users access data using the weakly authenticated ftp door to dcache or the dcap interface. As we are using ROOT we are also making use of the TDCacheFile interface to access files directly from our offline jobs.
- Users are currently responsible for figuring out what files they want and fetching them.

- Liz Buckley-Geer

- November 12  2003

## Plan for next 3 months

- We are planning on using SAM for our data handling.
- With the help (for which we are extremely grateful) of various SAM folks (e.g. Stephan Stonjek in CDF) we have setup a SAM station minos-sam in FCC – old dual farm PC that was donated.
- We will initially use the CDF development database to store MINOS metadata for testing and use a CDF dbserver.
- We are currently understanding how our existing metadata maps onto the SAM metadata and what other data we need to create in order to put it into SAM. It looks like we can initially cook up something for all the fields for the files that we have already.
- We will setup the station to use dcache as it only has a small amount of disk on it – once we figure out how to do this.
- We will also create some small number of SAM worker nodes, e.g. my PC to test things out

- Liz Buckley-Geer

- November 12  2003

## Plan cont’d

- We plan to store about 1 month of data (raw and reco) into SAM and make tests of retrieving it and running offline jobs
- The goal is to have this done by the next MINOS collaboration meeting which is January 04
- The next step will be to integrate our offline framework with the SAM C++ client that Sinisa is working on – once it is available
- To go further we need to purchaseour  database machine in order to setup our own SAM DB and dbserver along with computers and disk – need a budget!

- Liz Buckley-Geer

- November 12  2003

## Databases

- We are currently using MySQL for our offline database
- We plan to move to Oracle.
- Dennis has been working on various tasks related to making our schema and application layer Oracle-compliant
- His current task list can be found at _[http://home.fnal.gov/~dbox/minos/oracle_upgrade.html](http://home.fnal.gov/~dbox/minos/oracle_upgrade.html)_
- We are going to initially use odets2.fnal.gov for testing which is in Nelly’s office
- Given Dennis’s workload we agreed that it was reasonable to have this list done by Feb 1 04. It would be nice if we could move faster – means more of Dennis devoted to this project.

- Liz Buckley-Geer

- November 12  2003

## Databases cont’d

-  We need to purchase production and development database machines to start setting up our own Oracle database. We would accept donations of equipment for the development machine!
- We would like to do this as soon as possible so that we get experience with using it
- We have to write an MOU for the support of the database
- We expect that offsite users will continue to use MySQL. We also will want replicas for the offline and farms so that users only access the Oracle database if the data cannot be found in the other databases.  We don’t yet know if we will use MySQL or Oracle replicas
- The SAM data will only live in Oracle

- Liz Buckley-Geer

- November 12  2003

## CRL

- We are using CRL as our electronic logbook
- Bruce provides MINOS specific CRL support. We also donate about 10% of him to general CRL maintenance issues
- We are routinely operating the Far detector remotely because we do not have access to the mine overnight for example
- This means that we make much more use of the Web interface than was originally intended in the design of the product. It is not possible to run CRL over a WAN connection because the performance of the display is unacceptable
- Suzanne Panacek has been working on improving the web interface to make it easier to maintain and to provide more of the functions of the full interface
- She has just finished the initial implementation of forms and Bruce is implementing our forms so that we can test it
- I think we are close to having something that we can use in our environment

- Liz Buckley-Geer

- November 12  2003

## Near Detector LAN

- Need to install the network very soon after beneficial occupancy – early Feb 04.
- Met with Data Comm (Alden Clifford is our liason)
- Have agreed on what we want. Cliff is in the process of preparing reqs for the equipment
- Met with Ron Cudzewicz to discuss installation. Some minor issues with using patch panels in the racks – we don’t have room for them. Ron is coming up with an alternative.
- Ron is working on installation plan.

- Liz Buckley-Geer

- November 12  2003

## Summary

- The mock data challenge is the highest priority for Robert the offline software for the next 3-4 months. We will no doubt learn all the things that don’t work or are missing as a result of this exercise
- Getting SAM up and running is the highest priority for Bruce and myself
- We need to move ahead with the purchase of our database server so that we gain experience with Oracle. This is also needed to go beyond the testing stage for SAM.
- Need to finish up CRL work with Suzanne.
- We need Dennis to complete the work to get us fully functional on Oracle. We would like to continue to have access to Dennis(or a similar person)  for future Oracle development projects as they arise.
- LAN installation is proceeded.

- Liz Buckley-Geer

- November 12  2003