Conditions Database for Minerva - PowerPoint PPT Presentation

About This Presentation
Title:

Conditions Database for Minerva

Description:

Xml-based Data base. CondDb uses xml files. Examples are shown next s ... I could run a test program that reads file-based Db and prints out the values. ... – PowerPoint PPT presentation

Number of Views:42
Avg rating:3.0/5.0
Slides: 18
Provided by: pasRoc
Category:

less

Transcript and Presenter's Notes

Title: Conditions Database for Minerva


1
Conditions Database for Minerva
  • Jaewon Park
  • University of Rochester

MINERvA/Jupiter group meeting, Nov 07, 2007
2
Overview
  • Whats included in CondDb.
  • Alignment
  • Readout
  • Slow/fast control
  • calibration
  • Ex/DetCondExample/v7r7 (sort of old ver.)
  • Example package for LHCb CondDb.
  • Ex/DetCondExample/v11r2 (recent ver.)
  • A little bit reorganized structure.

3
(No Transcript)
4
(No Transcript)
5
(No Transcript)
6
Xml-based Data base
  • CondDb uses xml files.
  • Examples are shown next slides
  • Xml string can be put to actual Db server via
    COOL package.
  • What if we need to access Heidis hardware Db
    from Gaudi framework?
  • Its possible to convert conventional Db to Xml
    Db.
  • Pmt calibration,
  • Is it safe to have mutiple Dbs?

7
Alignment
Example XML file
lt?xml version"1.0" encoding"UTF-8" ?gt lt!DOCTYPE
DDDB SYSTEM ../DTD/structure.dtdgt lt!-- Id
alignment.xml,v 1.1 2001/12/17 154630 andreav
Exp   --gt ltDDDBgt ltcatalog name"Ecal"gt
lt!-- Ecal alignment catalog   --gt
ltconditionref href"alEcal" /gt lt/cataloggt
ltcondition name"alEcal"gt ltparamVector
name"Ecal position" type"double"gt0. 0.
0.lt/paramVectorgt lt/conditiongt lt/DDDBgt
lt?xml version"1.0" encoding"UTF-8" ?gt lt!DOCTYPE
DDDB SYSTEM ../DTD/structure.dtdgt lt!-- Id
alignment.xml,v 1.1 2005/08/31 160249 marcocle
Exp   --gt ltDDDBgt ltcatalog name"Velo"gt  
ltconditionref href"conddb/Alignment/Velo/Mod
ules00Module00" /gt   ltconditionref
href"conddb/Alignment/Velo/Modules01Module01"
/gt   ltconditionref href"conddb/Alignment/
Velo/Modules02Module02" /gt  
ltconditionref href"conddb/Alignment/Velo/Modules
03Module03" /gt   lt/cataloggt lt/DDDBgt
Referring to data in real Db
8
Calibration
lt?xml version"1.0" encoding"UTF-8" ?gt lt!DOCTYPE
DDDB SYSTEM ../DTD/structure.dtdgt lt!-- Id
calibration.xml,v 1.1 2001/12/17 154631 andreav
Exp   --gt ltDDDBgt ltcatalog name"Ecal"gt
lt!-- Ecal calibration catalog   --gt  
ltconditionref href"caEcal" /gt   lt/cataloggt
ltcondition name"caEcal"gt ltparam
name"ScaleFactor" type"double"gt1.lt/paramgt
lt/conditiongt lt/DDDBgt
Readout
lt?xml version"1.0" encoding"UTF-8" ?gt lt!DOCTYPE
DDDB SYSTEM ../DTD/structure.dtdgt lt!-- Id
readout.xml,v 1.1 2001/12/17 154631 andreav Exp
  --gt ltDDDBgt ltcatalog name"Ecal"gt
lt!-- Ecal readout catalog   --gt
ltconditionref href"roEcal" /gt lt/cataloggt
ltcondition name"roEcal"gt ltparamVector
name"ChannelMap" type"int"gt1 2 3
4lt/paramVectorgt lt/conditiongt lt/DDDBgt
9
Slowconstrol
lt?xml version"1.0" encoding"UTF-8" ?gt lt!DOCTYPE
DDDB SYSTEM ../DTD/structure.dtdgt lt!-- Id
slowcontrol.xml,v 1.1 2001/12/17 154631 andreav
Exp   --gt ltDDDBgt ltcatalog name"Ecal"gt
lt!-- Ecal slow control catalog   --gt
ltconditionref href"scEcal" /gt lt/cataloggt
ltcondition name"scEcal"gt ltparam
name"Temperature" type"double"gt20.lt/paramgt
lt/conditiongt lt/DDDBgt
Fastcontrol
lt?xml version"1.0" encoding"UTF-8" ?gt lt!DOCTYPE
DDDB SYSTEM ../DTD/structure.dtdgt lt!-- Id
fastcontrol.xml,v 1.1 2001/12/17 154631 andreav
Exp   --gt ltDDDBgt ltcatalog name"Ecal"gt
lt!-- Ecal fast control catalog   --gt
ltconditionref href"fcEcal" /gt lt/cataloggt
ltcondition name"fcEcal"gt ltparam
name"TFCVoltage" type"double"gt5.lt/paramgt
lt/conditiongt lt/DDDBgt
10
Velo/Modules Alignment (v11r2)
  lt?xml version"1.0" encoding"ISO-8859-1" ?gt
ltDDDBgt ltcondition classID"6" name"ModulePU00"gt
  ltparamVector name"dPosXYZ" type"double"gt0 0
0lt/paramVectorgt   ltparamVector name"dRotXYZ"
type"double"gt0 0 0lt/paramVectorgt
lt/conditiongt ltcondition classID"6"
name"ModulePU01"gt   ltparamVector
name"dPosXYZ" type"double"gt0 0 0lt/paramVectorgt
  ltparamVector name"dRotXYZ" type"double"gt0
0 0lt/paramVectorgt lt/conditiongt ltcondition
classID"6" name"ModulePU02"gt   ltparamVector
name"dPosXYZ" type"double"gt0 0 0lt/paramVectorgt
  ltparamVector name"dRotXYZ" type"double"gt0
0 0lt/paramVectorgt lt/conditiongt ltDDDBgt
11
Running test program
  • I could run a test program that reads file-based
    Db and prints out the values.
  • I couldnt test example that works with actual
    Db.
  • The package includes
  • Algorithm that fills xml to Db.
  • Algorithm that loads xml from Db.
  • A script that creates Db.
  • A script that copies xml to Db.

12
Update Manager Service
13
(No Transcript)
14
What well need
  • Alignment data
  • It should be given to reconstruction package(i.e.
    tracker finder, track fitter) and calibration
    package.
  • DAQ Conditions/calibration
  • It should be given to Sergeis Readout packages.
  • Cosmic calibration
  • Need calibration package that calculate
    calibration date.
  • The calibration output will be used to other
    packages.

15
Mapper software
  • Using root
  • Read Leos manual scan data text file in new
    Framework.
  • Some of code is imported from old one.
  • Plan to add a piece that handle binary data from
    real mapper DAQ.
  • Whats been done
  • Basic framework and data class
  • Data is organized into tree structure, so easy to
    handle for further complicated analysis
  • Pedestal curve is fitted and pedestal shift is
    calculated.
  • Transverse scan fit is progress.

16
(No Transcript)
17
Lorenzian functions doesnt fit data.
Asymmetric
Tail points are higher than curve
Write a Comment
User Comments (0)
About PowerShow.com