Eduardo Rodrigues, Glasgow University LHCb Alignment Working Week, CERN, 7-12 Jan. 2008 How to work with different databases implementing misalignments.

Slides:



Advertisements
Similar presentations
JQuery MessageBoard. Lets use jQuery and AJAX in combination with a database to update and retrieve information without refreshing the page. Here we will.
Advertisements

Using ITV to Enable D/HH Students Meet the Challenge of State Language Arts Standards Barbara K. Strassman The College of New Jersey To contact the author.
 SAP AG CSU Chico Working with IMG Copyright 1996, 1997, James R. Mensching, Gail Corbitt Contents of this file are for the exclusive use of the.
Conditions Database for Minerva Jaewon Park University of Rochester MINERvA/Jupiter group meeting, Nov 07, 2007.
K.Harrison CERN, 23rd October 2002 HOW TO COMMISSION A NEW CENTRE FOR LHCb PRODUCTION - Overview of LHCb distributed production system - Configuration.
DotNET A Developer’s Perspective Mike Litzkow University of Wisconsin - MadisonOne.
LHCb Simulation Tutorial CERN, 21 st -22 nd February B 00 l e How to pass a detector geometry to.
Introduction & Conclusion Paragraphs
CERN IT Department CH-1211 Genève 23 Switzerland t Some Hints for “Best Practice” Regarding VO Boxes Running Critical Services and Real Use-cases.
Database Infrastructure for Application Development Designing tables and relations (Oracle Designer) Creating and maintaining database tables d0om - ORACLE.
Git: Part 1 Overview & Object Model These slides were largely cut-and-pasted from tutorial/, with some additions.
From Olivier to commissioning team plans for the start-up of regular operations of LHCb 30/06 to 4/07 : Global commissioning week, all detectors, full.
Marco Cattaneo, 23rd February Status of the software migration  Migration strategy: Where we should be  Status: Where we are  Plans.
Introduction to Hall-D Software February 27, 2009 David Lawrence - JLab.
Title of Articulate Module (must match what’s on the VITALS calendar) Johnny Hippocrates, MD Assistant Professor of Western Medicine
HPS Online Software Discussion Jeremy McCormick, SLAC Status and Plans.
Conditions DB in LHCb LCG Conditions DB Workshop 8-9 December 2003 P. Mato / CERN.
Testing E001 Access to Computing: Programming. 2 Introduction This presentation is designed to show you the importance of testing, and how it is used.
Math By Kaylee D. What have you found challenging about math this year? This Year I think something challenging was the pace of the math class. I think.
Cosener’s House – 30 th Jan’031 LHCb Progress & Plans Nick Brook University of Bristol News & User Plans Technical Progress Review of deliverables.
1 DIRAC – LHCb MC production system A.Tsaregorodtsev, CPPM, Marseille For the LHCb Data Management team CHEP, La Jolla 25 March 2003.
JDBC Java and Databases. RHS – SOC 2 JDBC JDBC – Java DataBase Connectivity An API (i.e. a set of classes and methods), for working with databases in.
ATLAS Detector Description Database Vakho Tsulaia University of Pittsburgh 3D workshop, CERN 14-Dec-2004.
Liberating Learning with Online Tools: Wikispaces Max Echevarría.
Unit 1 – Improving Productivity Instructions ~ 100 words per box.
DIGITAL FOOTPRINT Everything you do is online. How you can protect yourself and your info.
Multistep Runs with ROD Crate DAQ Murrough Landon, QMUL Outline: Overview Implementation Comparison with existing setup Readout Status ModuleServices API.
CHEP /21/03 Detector Description Framework in LHCb Sébastien Ponce CERN.
GRID Event display for the HRD D. Protopopescu University of Glasgow, U.K. DESY, Hamburg, May 2005 This presentation will probably involve audience discussion,
LHCb Lausanne Workshop, 21st March /12 Tracking Software for DC’06 E. Rodrigues, NIKHEF LHCb Tracking and Alignment Workshop  To do list, and done.
LHCb-ATLAS GANGA Workshop, 21 April 2004, CERN 1 DIRAC Software distribution A.Tsaregorodtsev, CPPM, Marseille LHCb-ATLAS GANGA Workshop, 21 April 2004.
EGEE is a project funded by the European Union under contract IST “Interfacing to the gLite Prototype” Andrew Maier / CERN LCG-SC2, 13 August.
Simulation Commissioning, Validation, Data Quality A brain dump to prompt discussion Many points applicable to any of LHCb software but some simulation.
Online System Status LHCb Week Beat Jost / Cern 9 June 2015.
LHCb Lausanne Workshop, 21st March /8 Tracking Open Issues E. Rodrigues, NIKHEF LHCb Tracking and Alignment Workshop Some topics to discuss …
CHEP /21/03 Detector Description Framework in LHCb Sébastien Ponce CERN.
LHCb Simulation Tutorial CERN, 21 st -22 nd February B 00 l e Detector Simulation Examples.
LHCb Software Week, 26th April /23 Tracking in LHCb E. Rodrigues, NIKHEF LHCb Software Week A Status Report.
Pavel Nevski DDM Workshop BNL, September 27, 2006 JOB DEFINITION as a part of Production.
Marco Cattaneo Core software programme of work Short term tasks (before April 2012) 1.
LHCb Configuration Database Lana Abadie, PhD student (CERN & University of Pierre et Marie Curie (Paris VI), LIP6.
Olivier Callot 5 June 2007 Electronic Logbooks Why moving away from Atlog ? Proposed improved configuration Release schedule.
Alignment in real-time in current detector and upgrade 6th LHCb Computing Workshop 18 November 2015 Beat Jost / Cern.
1 LHCb computing for the analysis : a naive user point of view Workshop analyse cc-in2p3 17 avril 2008 Marie-Hélène Schune, LAL-Orsay for LHCb-France Framework,
Programming Objectives What is a programming language? Difference between source code and machine code What is python? – Where to get it from – How to.
ATLAS Distributed Analysis Dietrich Liko IT/GD. Overview  Some problems trying to analyze Rome data on the grid Basics Metadata Data  Activities AMI.
Marco Cattaneo, 6-Apr Issues identified in sub-detector OO software reviews Calorimeters:18th February Tracking:24th March Rich:31st March.
Overview In this tutorial you will: learn what an e-portfolio is learn about the different things e-portfolios may be used for identify some options for.
M.Frank, CERN/LHCb Persistency Workshop, Dec, 2004 Distributed Databases in LHCb  Main databases in LHCb Online / Offline and their clients  The cross.
Eduardo RodriguesLHCb Collaboration Week, 26th November Studies of Generator-level Selection Eduardo Rodrigues, CERN I. Proposal II. Procedure III.
How to recover... deleted data without backups? Vedran Kesegić.
WEB DESIGN CONCEPTS Brayden Burr. UNDERSTANDING THE CONTENT.
New features in ROOT geometrical modeller for representing non-ideal geometries René Brun, Federico Carminati, Andrei Gheata, Mihaela Gheata CHEP’06,
Everything you know about DVDFab DVD copy DVDFab DVD copy is one of the most famous software used for copying and burning the DVD to the blank DVD disc.
ATLAS Distributed Computing Tutorial Tags: What, Why, When, Where and How? Mike Kenyon University of Glasgow.
LHCb Software Week 25/11/99 Gonzalo Gracia Abril 1 r Status of Geant4 in LHCb. r Ideas on how to populate the LHCb Detector Description Data Base (LHCb.
L1Calo Databases ● Overview ● Trigger Configuration DB ● L1Calo OKS Database ● L1Calo COOL Database ● ACE Murrough Landon 16 June 2008.
Tomasz Szumlak (Glasgow University)
IBM Connections Side by Side/ In Place migration 5.5 / 6.0
Online Software Status
Remaining Online SW Tasks
LHCb Conditions Database TEG Workshop 7 November 2011 Marco Clemencic
Sample Presentation. Slide 1 Info Slide 2 Info.
Methods of Disclosure Written Disclosure & Attestation for Managing Conflicts of Interest in CME Activities Form and provide a copy to each participant.
VELO systematics and physics LHCb VELO meeting, CERN, 28 March 2008
Accessing Your MySQL Database from the Web with PHP (Ch 11)
deleted data without backups?
LHCb Data Quality Check web. cern
Andrea Valassi Pere Mato
Production client status
Presentation transcript:

Eduardo Rodrigues, Glasgow University LHCb Alignment Working Week, CERN, 7-12 Jan How to work with different databases implementing misalignments

Eduardo RodriguesAlignment week, 7-12 Jan Woking with different geometry databases 2/8 Conditions databases:  suggest as a first general reading the Wiki “LHCb Conditions Database How-To” under “LHCb Conditions Database How-To” under  contains useful info  Steve has written a lot of info at  explains how to create a misaligned conditions DB with the scripts he produced he produced  it probably allows you to make almost everything you want  “custom-made use cases: see next slides …

Eduardo RodriguesAlignment week, 7-12 Jan Woking with different geometry databases 3/8 Copies of CondDB:  There are tools under the package CondDBUI ($CONDDBUIROOT/) to perform several tasks ($CONDDBUIROOT/) to perform several tasks  (see also  a copy of a DB is still made most easily with “cp” ;-)  copy the LHCBCOND.db from the official location /afs/cern.ch/lhcb/software/releases/DBASE/Det/SQLDDDB/vXrY/db/ /afs/cern.ch/lhcb/software/releases/DBASE/Det/SQLDDDB/vXrY/db/

Eduardo RodriguesAlignment week, 7-12 Jan Woking with different geometry databases 4/8 Database slices:  Most useful if one only interested in a part of the DB, e.g. Velo conditions e.g. Velo conditions  easiest procedure: open your DB copy and delete everything you are not interested in interested in  use the browser.py script of the CondDBUI package (see also (see also  open/browse the DB with it and delete the nodes  N.B.: you need to first delete the daughter nodes before deleting the parent node parent node this is a few minutes work. Nothing major ;-)  this is a few minutes work. Nothing major ;-)  then you can start introducing e.g. misaligned conditions for your favourite sub-detector using Steve’s scripts … favourite sub-detector using Steve’s scripts …

Eduardo RodriguesAlignment week, 7-12 Jan Woking with different geometry databases 5/8 Running with 2 databases  use case when running (standard) Brunel with a perfect geometry for the whole LHCb except e.g. the VELO for the whole LHCb except e.g. the VELO  use the standard LHCBCOND.db and a private DB containing the misalignments one is interested in studying the misalignments one is interested in studying  Marco Clemencic et al. has provided (Gaudi) functionality for this, no need to bother with the technical/hidden bits ;-) no need to bother with the technical/hidden bits ;-)  see my example next slides …

Eduardo RodriguesAlignment week, 7-12 Jan Woking with different geometry databases 6/8  example of my Brunel jobs for the studies with B2HH  all options are the standard Brunel options apart from: ApplicationMgr.EvtMax = 2000; EventSelector.FirstEvent = 2001; HistogramPersistencySvc.OutputFile = "B2HH_Brunel-Monitoring.root"; DstWriter.Output = "DATAFILE='PFN:/castor/cern.ch/user/e/erodrigu/B2HHMisalignmentStudies/Brunel_Bd2PiPi_Ve lo_1sigma-02.dst' TYP='POOL_ROOTTREE' OPT='REC'"; LHCBCOND.DefaultTAG = "DC06-repro0710"; CondDBDispatcherSvc.Alternatives = [ "/Conditions=CondDBLayeringSvc/CONDLayers" ] ; CONDLayers.Layers = [ "CondDBAccessSvc/CONDLocal", "CondDBAccessSvc/LHCBCOND" ] ; CONDLocal.ConnectionString = "sqlite_file:/afs/cern.ch/user/e/erodrigu/public/B2HH/B2HH_LHCBCOND_Velo- slice_1sigma.db/LHCBCOND"; CONDLocal.DefaultTAG = "DC06-B2hh-Velo-2";

Eduardo RodriguesAlignment week, 7-12 Jan Woking with different geometry databases 7/8  during the job one can check the connection to 2 CondDB databases: DDDB INFO Connected to database "sqlite_file:/afs/cern.ch/lhcb/software/releases/DBASE/Det/SQLDDDB/v2r3/db/DDDB.db/ DDDB" DDDB INFO Using TAG "DC06-repro0710" CONDLocal INFO Connected to database "sqlite_file:/afs/cern.ch/user/e/erodrigu/public/B2HH/B2HH_LHCBCOND_Velo-slice_1sig ma.db/LHCBCOND" CONDLocal INFO Using TAG "DC06-B2hh-Velo-2" LHCBCOND INFO Connected to database "sqlite_file:/afs/cern.ch/lhcb/software/releases/DBASE/Det/SQLDDDB/v2r3/db/LHCBCOND.db/LHCBCOND" LHCBCOND INFO Using TAG "DC06-repro0710"  the rest is plain sailing …

Eduardo RodriguesAlignment week, 7-12 Jan Woking with different geometry databases 8/8 Alignment challenge samples  at  all DSTs, logs, DBs under /castor/cern.ch/user/s/sblusk/Brunel/7TeV_FieldOff_MinBias /castor/cern.ch/user/s/sblusk/Brunel/7TeV_FieldOff_MinBias  I would really suggest people try these samples and check the contents of the DBs asap, to make sure we are doing the right thing contents of the DBs asap, to make sure we are doing the right thing  indeed mistakes are “easy” to make as we are dealing with a lot of new tools, software, etc. new tools, software, etc.