Presentation is loading. Please wait.

Presentation is loading. Please wait.

Working with HADES WebDB HADES analysis workshop, Darmstadt, Germany, 31 January - 1 February 2012 Ilse Koenig, GSI Darmstadt Outline: Version management.

Similar presentations


Presentation on theme: "Working with HADES WebDB HADES analysis workshop, Darmstadt, Germany, 31 January - 1 February 2012 Ilse Koenig, GSI Darmstadt Outline: Version management."— Presentation transcript:

1 Working with HADES WebDB HADES analysis workshop, Darmstadt, Germany, 31 January - 1 February Ilse Koenig, GSI Darmstadt Outline: Version management in Oracle Generic parameter container HADES WebDB Login Folder structure Examples

2 Version management in Oracle
1. Parameters are not stable, but may change from run to run 2. They may change for the same run over time (history) 3. They may come in different flavors (depending e.g. on an algorithm) 3-dimensional version management history invalid_since (year 4000 for actual version) 2 different flavours (contexts) For example: beam, simulation version automatically defined date_create runs valid_since valid_until (default year 4000) defined by user Analysis workshop GSI Working with WebDB Ilse Koenig

3 Analysis workshop GSI 2012 Working with WebDB Ilse Koenig
Parameter versions Later new versions 3 and 4 replace the old ones Before a DST production we do a beam time specific parameter release “history date with name” Old versions can be retrieved with an old history date version 4 version 3 history year 4000 Version 1 During a beam time the user inserts a version 1. Each new run is initialized with version 1. version 1 history date Later he adds a version 2. New runs are then initialized with version 2. version 2 The crossing point of run start and history date defines the parameter version date_create v2 invalid_since v1 real time version 1 date_create v1 runs valid_since v1 valid_since v2 year 4000 valid_until v1 run start Analysis workshop GSI Working with WebDB Ilse Koenig

4 Generic parameter container HParCond
All parameters are stored as name – object pairs in the same set of tables different versions parameter object parameter container name type: Int_t, Float_t, Double_t, Char_t, Text_t, UChar_t, class type stored as byte array (RAW or BLOB) number of values (single value or array) class version streamer info, root version for ROOT classes own version management any class derived from TObject decoded in the analysis interface by ROOT streamer allows to add or discard (invalidate) a parameter makes it (almost) code independent Analysis workshop GSI Working with WebDB Ilse Koenig

5 Analysis workshop GSI 2012 Working with WebDB Ilse Koenig
Login in HADES WebDB Direct link: Click on Login button. From HADES web page => internal => logbook => “HADES Oracle Database” Pops up login form. Login as user hades read only access (except beam time logbook) …_oper detector specific write access (parameter validation, …) Analysis workshop GSI Working with WebDB Ilse Koenig

6 HADES WebDB: Root folder
user Search in application titles and descriptions Analysis workshop GSI Working with WebDB Ilse Koenig

7 Analysis workshop GSI 2012 Working with WebDB Ilse Koenig
HADES WebDB folders Experiment infos, DAQ runs and logbooks DAQ and Trbnet configuration, TRB TDC corrections Monitoring of Magnet, Cryo and Cave temperatures and pressures Root folder for interfaces to Slow Control data Slow Control data stored online Slow Control data for all beam times since 2010 Slow Control data for all beam times before 2010 Folder for RICH detector (since 2010) Folder for MDC detector (since2010) Folder for MDC detector (before 2010) Folder for RPC detector (since 2010) Folder for RPC detector (before2010) ROOT folder for the analysis Parameters in HADES analysis Hydra1 (runs before 2010) Parameters in HADES analysis Hydra2 (runs after 2010) Simulation projects and runs Geometry used by simulation and analysis Run validation for DST production HADES Analysis Logbook (not used anymore) HADES institutes, people and author lists Documentation of Oracle accounts and utility software Analysis workshop GSI Working with WebDB Ilse Koenig

8 HADES WebDB folder Hydra2 Parameters
Starting from a beam time it gives access to (almost) all parameter containers and shows changes since last parameter release Folder for condition-style parameter containers Folder for tree-style parameter containers Analysis workshop GSI Working with WebDB Ilse Koenig

9 HADES WebDB: Hydra2 Parameters
Help all parameter containers grouped by shared libraries with links to the data has changed Analysis workshop GSI Working with WebDB Ilse Koenig

10 HADES WebDB: Parameter sets of HRpcClusFPar
Back to folder Link to the data Form to compare sets for different contexts, runs, history dates Analysis workshop GSI Working with WebDB Ilse Koenig

11 HADES WebDB: Data of HRpcClusFPar
Analysis workshop GSI Working with WebDB Ilse Koenig


Download ppt "Working with HADES WebDB HADES analysis workshop, Darmstadt, Germany, 31 January - 1 February 2012 Ilse Koenig, GSI Darmstadt Outline: Version management."

Similar presentations


Ads by Google