IceCube Offline Database Overview

19
IceCube Offline Database Overview Georges Kohnen Université de Mons- Hainaut IceCube Workshops Oxford September 23rd, 2005

description

IceCube Offline Database Overview. Georges Kohnen Université de Mons-Hainaut IceCube Workshops Oxford September 23rd, 2005. Today’s ride…. Introduction Database contents Filling the Database, now and in the future Reading from the Database, interaction with offline-software - PowerPoint PPT Presentation

Transcript of IceCube Offline Database Overview

IceCube Offline Database Overview

Georges Kohnen

Université de Mons-HainautIceCube Workshops

Oxford

September 23rd, 2005

Today’s ride…

• Introduction

• Database contents

• Filling the Database, now and in the future

• Reading from the Database, interaction with offline-software

• YOU can do it – practical information

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 2

Introduction

• MySQL Database, “I3OmDb”• Contains / will contain all the non-physics

information needed by offline-software, on the SouthPole, on a cluster or on your laptop:– Detector Geometry / Calibration / Status / Run /

Monitoring / Trigger… information

– Ice Properties

– AMANDA information

– Different “lookup” tables

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 3

Introduction

• The stored information is time-based• Records are “stacked” on each other• Example: Geometry

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 4

Time

Planned Geometry, whole detector

Drilling: only string 21

Better calibrations: only string 21

Drilling: lots of strings

01/2004 01/2005 01/2006

“Qualifier”

Drilling01/2006

Corr02/2005

Drilling01/2005

Initial

Geometry tables

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 5

• AMANDA Geometry

• Planned geometry (IceCube + IceTop)

• Drilling/Installation (string 21 and stations 21, 29, 30 and 39)

• Corrections to these coordinates (from Kurt)

(= most “real” geometry presently available)

IceTop tables

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 6

AMANDA tables

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 7

Contents of “old” AMANDA omdb used by Sieglinde

Charge (Calibration) tables

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 8

from domcal .xml files

DOM Configuration table

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 9

DOM Configuration table

• There are 64 variables in this table: for 5000 DOMs and 1 run = 1 day, there are 117 million entries for just one year → waaaaaay too much!

• → Split this table up according to the frequency at which the variables change (once a run, once a year,…)

• This is one of the cases where input / documentation / coordination is urgently needed!

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 A

DOM Monitoring table

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 B

from Ignacio’s Monitoring files

Trigger tables

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 C

• Different design: triggers do not all have the same parameters

• Not filled yet

“Lookup” tables

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 D

• OMId ↔ (string,tube) for AMANDA• DOM Serial number ↔ DOM location (string,tube)• DOM Serial number ↔ DOM name/nickname• RunId ↔ Run start date/time

Independent tables

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 E

IceProperties: Effective Scattering length and Absorption length for different wavelengths (in 10 nm bins), for cos θ = 0.80 and 0.94, and for different depths: Z in 10 m bins (X and Y not (yet) available)

Filling the Database

• Until now: filled from (text/.xml) files, database created from scratch each time

• From this Pole season on: automatic update of Detector Calibration from DAQ for online use

• Then, regular synchronization of SouthPole I3OmDb with a reference Database in the northern hemisphere, and overall synchronization with this reference DB

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 F

Using the I3OmDb Database at SouthPole

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 10

DAQ

Offline chain of modulesSouthPole version

SouthPoleI3OmDb

fillcalibration

information

Sourcemodules

Othermodules

ReferenceI3OmDb

I3Dbmodules

Using the Database in offline-software

• I3Db project in offline-software: new design: not one monolithic piece of code anymore, but– one module for each stream (geometry, calibration,…)– one database service, responsible for connecting to the Database,

retrieving/caching the data,…• IceProperties / … are currently not used in offline-software,

thus I3Db does not retrieve this information (yet)

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 11

I3OmDb

Sourcemodules

Othermodules

I3Dbmodules

Physics input

I3Db retrieves the information according to the date of the event

Offline chain of modules

YOU can do it - Practical Information

• Primary Database server: icedb.umh.ac.be (containing this talk, information about the content, about the I3Db module and (soon) about how to set up your local copy of the Database)

• Secondary Database Server: ppemons.umh.ac.be• Database Name: "I3OmDb"• Read-only login: username "www“

(> mysql -h "server" -u www)• Recommended tools:

– MySql Query Browser– MySql Control Center

• New I3Db module ready soon!

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 12

This is the end

• Questions?• Comments? (The design will soon be

considered “frozen” for the pole season)!!!!• Blame?• Praise?• Gifts?• Free drinks?• …?

IceCube Offline Database Overwiew – Oxford – September 23rd, 2005 13