Detector Description (Overview) C.Cheshkov. 25/9/2006Detector Description (C.Cheshkov)OutlineTerminology Overview on: Detector geometry implementation.

Slides:



Advertisements
Similar presentations
Use of G EANT 4 in CMS AIHENP’99 Crete, April 1999 Véronique Lefébure CERN EP/CMC.
Advertisements

March 24-28, 2003Computing for High-Energy Physics Configuration Database for BaBar On-line Rainer Bartoldus, Gregory Dubois-Felsmann, Yury Kolomensky,
1 Databases in ALICE L.Betev LCG Database Deployment and Persistency Workshop Geneva, October 17, 2005.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 7 Configuring File Services in Windows Server 2008.
LHCb Simulation Tutorial CERN, 21 st -22 nd February B 00 l e How to pass a detector geometry to.
ALICE Offline week, CERN 21 February 2005 I. Hrivnacova 1 New geometry framework in MUON I.Hrivnacova IPN, Orsay ALICE Offline week, CERN 21 February 2005.
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.
Alignment Strategy for ATLAS: Detector Description and Database Issues
LHC: ATLAS Experiment meeting “Conditions” data challenge Elizabeth Gallas - Oxford - August 29, 2009 XLDB3.
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER Charles Leggett The Athena Control Framework in Production, New Developments and Lessons Learned.
Software Solutions for Variable ATLAS Detector Description J. Boudreau, V. Tsulaia University of Pittsburgh R. Hawkings, A. Valassi CERN A. Schaffer LAL,
Databases E. Leonardi, P. Valente. Conditions DB Conditions=Dynamic parameters non-event time-varying Conditions database (CondDB) General definition:
The european ITM Task Force data structure F. Imbeaux.
Root based event display Dmitry Romanov October 19, 2010.
NOVA Networked Object-based EnVironment for Analysis P. Nevski, A. Vaniachine, T. Wenaus NOVA is a project to develop distributed object oriented physics.
CHEP 2003 March 22-28, 2003 POOL Data Storage, Cache and Conversion Mechanism Motivation Data access Generic model Experience & Conclusions D.Düllmann,
MINER A Software The Goals Software being developed have to be portable maintainable over the expected lifetime of the experiment extensible accessible.
XML in Atlas: from generic to parametric detector description Stan Bentvelsen NIKHEF Amsterdam XML workshop, CERN, May 22.
ATLAS Detector Description Database Vakho Tsulaia University of Pittsburgh 3D workshop, CERN 14-Dec-2004.
LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.
CHEP /21/03 Detector Description Framework in LHCb Sébastien Ponce CERN.
Magnetic Field Issues for Simulation and Reconstruction N. Amapane, N. Neumeister Workshop on LHC Physics with High-p T Muons in CMS Bologna, April 9-12,
The GeoModel Toolkit for Detector Description Joe Boudreau Vakho Tsulaia University of Pittsburgh CHEP’04 Interlaken.
Jump to first page The new ROOT geometry package Andrei Gheata - ALICE Institute of Space Sciences, Bucharest.
STAR Event data storage and management in STAR V. Perevoztchikov Brookhaven National Laboratory,USA.
GDB Meeting - 10 June 2003 ATLAS Offline Software David R. Quarrie Lawrence Berkeley National Laboratory
The CMS Simulation Software Julia Yarba, Fermilab on behalf of CMS Collaboration 22 m long, 15 m in diameter Over a million geometrical volumes Many complex.
1 MuonGeoModel status report focus on issues relevant to , 20 Access to Condition DB with M. Verducci, R. Harrington MDT deformations with I. Logashenco.
VMC workshop1 Ideas for G4 navigation interface using ROOT geometry A.Gheata ALICE offline week, 30 May 05.
A New Tool For Measuring Detector Performance in ATLAS ● Arno Straessner – TU Dresden Matthias Schott – CERN on behalf of the ATLAS Collaboration Computing.
CHEP /21/03 Detector Description Framework in LHCb Sébastien Ponce CERN.
Detector Description in LHCb Detector Description Workshop 13 June 2002 S. Ponce, P. Mato / CERN.
Michele de Gruttola 2008 Report: Online to Offline tool for non event data data transferring using database.
Jean-Roch Vlimant, CERN Physics Performance and Dataset Project Physics Data & MC Validation Group McM : The Evolution of PREP. The CMS tool for Monte-Carlo.
Development of the CMS Databases and Interfaces for CMS Experiment: Current Status and Future Plans D.A Oleinik, A.Sh. Petrosyan, R.N.Semenov, I.A. Filozova,
Claudio Grandi INFN-Bologna CHEP 2000Abstract B 029 Object Oriented simulation of the Level 1 Trigger system of a CMS muon chamber Claudio Grandi INFN-Bologna.
Rack Wizard LECC 2003 Frank Glege. LECC Frank Glege - CERN2/12 Content CMS databases - overview The equipment database The Rack Wizard.
Alberto Colla - CERN ALICE off-line week 1 Alberto Colla ALICE off-line week Cern, May 31, 2005 Table of contents: ● Summary of requirements ● Description.
Geant4 release 5.1 summary Gabriele Cosmo EP/SFT.
Summary of User Requirements for Calibration and Alignment Database Magali Gruwé CERN PH/AIP ALICE Offline Week Alignment and Calibration Workshop February.
27 March 2003RD Schaffer & C. Arnault CHEP031 Use of a Generic Identification Scheme Connecting Events and Detector Description in Atlas  Authors: C.
G.Govi CERN/IT-DB 1GridPP7 June30 - July 2, 2003 Data Storage with the POOL persistency framework Motivation Strategy Storage model Storage operation Summary.
TRIUMF HLA Development High Level Applications Perform tasks of accelerator and beam control at control- room level, directly interfacing with operators.
Level 1-2 Trigger Data Base development Current status and overview Myron Campbell, Alexei Varganov, Stephen Miller University of Michigan August 17, 2000.
1 Configuration Database David Forrest University of Glasgow RAL :: 31 May 2009.
Maria del Carmen Barandela Pazos CERN CHEP 2-7 Sep 2007 Victoria LHCb Online Interface to the Conditions Database.
ATLAS The ConditionDB is accessed by the offline reconstruction framework (ATHENA). COOLCOnditions Objects for LHC The interface is provided by COOL (COnditions.
LHCb Alignment Strategy 26 th September 2007 S. Viret 1. Introduction 2. The alignment challenge 3. Conclusions.
Object-Oriented Track Reconstruction in the PHENIX Detector at RHIC Outline The PHENIX Detector Tracking in PHENIX Overview Algorithms Object-Oriented.
New features in ROOT geometrical modeller for representing non-ideal geometries René Brun, Federico Carminati, Andrei Gheata, Mihaela Gheata CHEP’06,
1 SLAC simulation workshop, May 2003 Ties Behnke Mokka and LCDG4 Ties Behnke, DESY and SLAC MOKKA: european (france) developed GEANT4 based simulation.
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.
Graphical Data Engineering
(on behalf of the POOL team)
A C++ generic model for the GLAST Geometric Description
POOL persistency framework for LHC
Dirk Düllmann CERN Openlab storage workshop 17th March 2003
Markus Frank CERN/LHCb CHEP2013, Amsterdam, October 14th–18th 2013
HEP detector description supporting the full experiment life cycle
SW Architecture SG meeting 22 July 1999 P. Mato, CERN
LHCb Detector Description Framework Radovan Chytracek CERN Switzerland
Detector Description in LHCb
Simulation and Physics
Geant4 in HARP V.Ivanchenko For the HARP Collaboration
Event Storage GAUDI - Data access/storage Framework related issues
Overview of Database Framework for GEM Detector at CERN
Offline framework for conditions data
LHCb Detector Description Framework Radovan Chytracek CERN Switzerland
Presentation transcript:

Detector Description (Overview) C.Cheshkov

25/9/2006Detector Description (C.Cheshkov)OutlineTerminology Overview on: Detector geometry implementation Detector geometry implementation Geometry support for misalignments or implementation of misalignments Geometry support for misalignments or implementation of misalignments Definition of alignments constants Definition of alignments constants Alignment related Condition DB issues Alignment related Condition DB issues Application of misalignments for both simulation and reconstruction Application of misalignments for both simulation and reconstruction The above items for the 4 LHC experiments Summary Table (instead of conclusions)

35/9/2006Detector Description (C.Cheshkov) Many Thanks! Juan Palacios, Andrei Gheata, Mihaela Gheata, Frédéric Ronga, Grant Gorfine, Raffaele Grosso, Marco Clemencic et al.

45/9/2006Detector Description (C.Cheshkov)Terminology Logical Volume or Node: Describe volume a’ la GEANT (one logical volume represents many real detector elements) Describe volume a’ la GEANT (one logical volume represents many real detector elements) Used to define the geometry hierarchy Used to define the geometry hierarchy Can not be misaligned Can not be misaligned Physical Volume or Node: Coupled to corresponding Logical volume Coupled to corresponding Logical volume Represent single (unique) detector element Represent single (unique) detector element Used to handle the misalignment (or any other detector-element specific) information Used to handle the misalignment (or any other detector-element specific) information Alignment constants – actual objects stored in Condition DB and used to misalign the detector geometry Default transform – detector volume position and orientation in case of ideal (no misalignments) geometry Delta transform – correction to Default transform in case of misaligned geometry Geometry overlaps (caused by misalignment) – overlaps between Physical Volumes at simulation level

55/9/2006Detector Description (C.Cheshkov)ALICE

65/9/2006Detector Description (C.Cheshkov) Geometry Implementation ROOT Geometrical Modeler (TGeo): framework for building, browsing, tracking and visualizing a detector geometry framework for building, browsing, tracking and visualizing a detector geometry Hierarchical model (G3, G4 alike) but independent from transport MC Hierarchical model (G3, G4 alike) but independent from transport MC same geometry for tracking, reconstruction or visualization same geometry for tracking, reconstruction or visualization advantage of using ROOT features related to bookkeeping, I/O, histograming, browsing and GUI's advantage of using ROOT features related to bookkeeping, I/O, histograming, browsing and GUI'sROOT

75/9/2006Detector Description (C.Cheshkov) Geometry Support for Misalignment TGeo Physical Node (PN): Describes unique geometry object (detector element) Describes unique geometry object (detector element) Fully identified by path with names of logical nodes (positioned in their container with a LOCAL matrix) Fully identified by path with names of logical nodes (positioned in their container with a LOCAL matrix) Points to last logical node in the path Points to last logical node in the path Global matrix is product of all local matrices in branch: Global matrix is product of all local matrices in branch: GLOBAL = LOC1 * LOC2 * … * LOCn Can be created for any logical node at any level in geometry hierarchy Can be created for any logical node at any level in geometry hierarchy ~ 2.5x10 6 in ALICE ~ 2.5x10 6 in ALICE => they are created ON DEMAND PN misaligned by changing LOCAL matrix for last logical node in the path The default matrix is backup Possibility to address all PNs by unique symbolic names (created during geometry initialization) Misalignment is automatically active for transport MC’s or any geometry access

85/9/2006Detector Description (C.Cheshkov) Alignment Constants Simple ROOT objects which contain: Delta transform (rotation + translation) in GLOBAL frame Delta transform (rotation + translation) in GLOBAL frame Symbolic links to TGeo Physical Volume path (eg “TPC_Sector5_InnerChamber”) Symbolic links to TGeo Physical Volume path (eg “TPC_Sector5_InnerChamber”)  independent of geometry version For sensitive volumes - unique (ALICE-wide) identifier: For sensitive volumes - unique (ALICE-wide) identifier:  used for fast navigation in alignment procedures Applied on several levels in geometry hierarchy via TGeo interface

95/9/2006Detector Description (C.Cheshkov) Conditions Database Offline condition files are ROOT files These are available to applications running on the GRID via Registration into the AliEn file catalogue (logical) Registration into the AliEn file catalogue (logical) Storage in a GRID storage element (physical) Storage in a GRID storage element (physical) Conditions data is uniquely identified by 3 parameters Logical path: “TPC/Align/Data“, “TRD/Align/Data“... Logical path: “TPC/Align/Data“, “TRD/Align/Data“... Run range validity: [0,100], [1,1]... Run range validity: [0,100], [1,1]... Version (local and Grid) Version (local and Grid) Accessed only once per simulation/reconstruction job Alignment constants are stored: As one array per detector As one array per detector For different detectors as separate files in corresponding folders For different detectors as separate files in corresponding folders Ideal geometry stored as a single object in same DB

105/9/2006Detector Description (C.Cheshkov) Misalignment at Simulation and Reconstruction level Misalignments are read from CDB and applied to TGeo in the same way for both simulation and reconstruction: At initialization stage At initialization stage All consecutive access is done via TGeo interface All consecutive access is done via TGeo interface Ordered by geometry hierarchy (high -> low level) Ordered by geometry hierarchy (high -> low level) In simulation: Transport MC uses directly TGeo navigation (already with misalignments) Transport MC uses directly TGeo navigation (already with misalignments) During the digitization of energy depositions, position and orientation of volumes are accessed via calls to TGeo only During the digitization of energy depositions, position and orientation of volumes are accessed via calls to TGeo only

115/9/2006Detector Description (C.Cheshkov) Geometry Overlaps TGeo overlap checker Ways to deal with detector overlaps: Usage of TGeo assemblies Usage of TGeo assemblies Misalignment also on high-level structures (detector, layers): Misalignment also on high-level structures (detector, layers): Big movements on high-level structures Small (residual) movements at level of sensitive volumes

125/9/2006Detector Description (C.Cheshkov)ATLAS

135/9/2006Detector Description (C.Cheshkov) Geometry Implementation GeoModel (non ATLAS-specific) GeoModel Kernel GeoModel Kernel toolkit of geometry primitives: shapes, materials, etc Physical Volumes (PV) have attached nodes – connects other physical volumes via transform Special “Alignable” nodes Special “Alignable” nodes Default transform + Delta transform Can be at several levels Full Physical Volume (FPV) Full Physical Volume (FPV) Calculates and caches local to global transform. When alignable node higher up in hierarchy is modified: cache is invalidated cache is invalidated transform recalculated on next access transform recalculated on next access Alignable node PV = physical volume FPV = full physical volume (transform cached) PV … FPV … GeoModel

145/9/2006Detector Description (C.Cheshkov) Readout Geometry Detector Manager Access to detector elements Access to detector elements Manages transfer of alignment constants from Conditions Database to GeoModel alignable nodes. Manages transfer of alignment constants from Conditions Database to GeoModel alignable nodes. Alignments updated via callback (or explicit call in geometry initialization) Alignments updated via callback (or explicit call in geometry initialization) Detector Elements Points to GeoModel Full Physical Volume Points to GeoModel Full Physical Volume Derived quantities cached for fast access Derived quantities cached for fast access Reconstruction only accesses geometry information via detector elements in readout geometry Always gets aligned positions Always gets aligned positions Most clients do not need to worry about alignment infrastructure Most clients do not need to worry about alignment infrastructure

155/9/2006Detector Description (C.Cheshkov) Alignment Constants Defined as “Delta Transform” of “Alignable” nodes: for modules – in a local frame for modules – in a local frame for higher level structures (sub-system,layers) – in global frame for higher level structures (sub-system,layers) – in global frame Rigid body transforms (rotation + translation) Use CLHEP HepTransform3D Use CLHEP HepTransform3D Applied directly in Detector Description at several levels in hierarchy (eg sub-system, layers, modules) Applied directly in Detector Description at several levels in hierarchy (eg sub-system, layers, modules) Alignment data is container of Identifier and HepTransform3D pairs Alignment data is container of Identifier and HepTransform3D pairs Common ATLAS Identifier uniquely identifies detector element or higher level structure (eg a silicon layer) Fine corrections. Eg module distortion, wire sag Vector of floats Vector of floats Interpretation is detector specific Interpretation is detector specific Not dealt with at Detector Description level. Applied at Reconstruction level at time track is known Not dealt with at Detector Description level. Applied at Reconstruction level at time track is known

165/9/2006Detector Description (C.Cheshkov) Conditions Database Alignment constants written to LCG POOL ROOT - same persistency technology as event data. LCG COOL database records IOV (Interval Of Validity) and reference to POOL file. Clients register callbacks on conditions data object. IOV services takes care of loading new data if IOV changes and triggers callbacks. Ideal geometry description stored in a separate DB (Primary numbers in DB ->GeoModel->Default Transforms) Conditions data will contain tag pointing to corresponding geometry description

175/9/2006Detector Description (C.Cheshkov) Misalignments in Simulation and Reconstruction GeoModel is common source for both Geant4 simulation and reconstruction:  Same infrastructure for misalignments in both. Misaligned simulation, Nominal reconstruction Nominal simulation, Misaligned reconstruction d0d0 d0d0

185/9/2006Detector Description (C.Cheshkov) Geometry overlaps Some extra challenges for misalignments in simulation geometry in order to avoid overlaps: Enough clearance: Enough clearance: Mostly a matter of resizing/reshaping some envelopes Some services had to be artificially thinned or moved Facilitated by alignable nodes at several levels: Facilitated by alignable nodes at several levels: Allows larger movements of big structures (eg subsystem) and smaller movements of lower structure (eg modules)

195/9/2006Detector Description (C.Cheshkov)CMS

205/9/2006Detector Description (C.Cheshkov) Geometry Support for Misalignment Dedicated set of objects (AlignableTracker, AlignableMuon): Map tracker and muon geometry including Map tracker and muon geometry including High-level structures Sensitive volumes used by the reconstruction Propagate movements through detector hierarchy Propagate movements through detector hierarchy Provide access to global position and orientation and detector ID for all sensitive volumes (“Alignment”s) Provide access to global position and orientation and detector ID for all sensitive volumes (“Alignment”s) Misalignment consists in movements applied at various geometry levels and propagated down to sensitive volume (if needed) Misalignment consists in movements applied at various geometry levels and propagated down to sensitive volume (if needed) Custom misalignments flexible set of pre-defined parameters in configuration files Custom misalignments flexible set of pre-defined parameters in configuration files Several “misalignment scenarios” are prepared (eg from engineering desing, survey,…) Several “misalignment scenarios” are prepared (eg from engineering desing, survey,…)

215/9/2006Detector Description (C.Cheshkov)

225/9/2006Detector Description (C.Cheshkov)Example

235/9/2006Detector Description (C.Cheshkov) Alignment Constants “Alignment” objects: Default + Delta Transform (global position and orientation of sensitive volumes) Default + Delta Transform (global position and orientation of sensitive volumes) Volume ID Volume ID Same object contains all (mis)alignment information: Same object contains all (mis)alignment information: Misalignment scenarios Alignment from survey data Hardware alignment Track-based alignment

245/9/2006Detector Description (C.Cheshkov) Conditions Database Condition DB based on POOL-ORA Transparent to the user “Alignment” objects provided by AlignableTracker and AlignableMuon are stored in DB Different instances in DB have different tags (string defining content) and different intervals of validity Ideal geometry description is stored in XML format

255/9/2006Detector Description (C.Cheshkov) Misalignment at Simulation and Reconstruction level Misalignment is performed at reconstruction level, just before global reconstruction: “Alignment”s are applied to the reconstruction geometry “Alignment”s are applied to the reconstruction geometry The reconstructed space-point positions are misaligned while converted from local to global frame The reconstructed space-point positions are misaligned while converted from local to global frame Satisfactory for (mis)alignment at global level: Main difference in the overlapping regions (at volume edges) Main difference in the overlapping regions (at volume edges) The approach allows misalignment of any simulated sample Misalignment at simulation level is done using the same tools (via interface to GEANT4)?

265/9/2006Detector Description (C.Cheshkov)LHCb

275/9/2006Detector Description (C.Cheshkov) Geometry Implementation Resides in Detector Description DB Accessed via Gaudi transient detector data store Two hierarchical structures: Geometry (Geant-like) Geometry (Geant-like) Re-usable blocks of geometry description Volumes with shape, material (Logical Volumes) Volumes with shape, material (Logical Volumes) Hierarchy from positioning of volumes within volumes Hierarchy from positioning of volumes within volumes Detector structure Detector structure Coupled to physical structure of LHCb Hierarchy of “interesting” Detector Elements (Physical Volumes) One-to-one correspondence of real detector components Knowledge of positions in global and in parent frames Knowledge of place in hierarchy Knowledge of daughter volumes (not necessarily detector elements) Handle very sophisticated information

285/9/2006Detector Description (C.Cheshkov) Geometry Implementation

295/9/2006Detector Description (C.Cheshkov) Geometry support of Misalignment Misalignments are applied through Detector structure Handled by Detector Elements (Physical Volumes): Combine local misalignment with local transform to obtain new local position and orientation Combine local misalignment with local transform to obtain new local position and orientation Use links to parents to global position after misalignment Use links to parents to global position after misalignment Use links to daughters to propagate misalignments to daughter global position and orientation Use links to daughters to propagate misalignments to daughter global position and orientation Users “see” misaligned detector description automatically

305/9/2006Detector Description (C.Cheshkov) Alignment Constants Defined as Delta Transforms of Detector elements in their parents frame Rotation about pivot point + translation Detector Element ID: sub-detector specific It is possible to update the constants run-time Changes are propagated to all the necessary parts with the update manager service, even if the database itself is not updated. Changes are propagated to all the necessary parts with the update manager service, even if the database itself is not updated. Possible usage in an iterative alignment job Possible usage in an iterative alignment job Alignment Constants can be easily generalized: Euler angles matrix representation Euler angles matrix representation

315/9/2006Detector Description (C.Cheshkov) Condition Database LCG COOL database records Alignment constants stored as XML strings Validity intervals, versions Condition DB Manager handles: Conditions data validity Conditions data validity Loading of (sets of) alignment constants in a job Loading of (sets of) alignment constants in a job Gaudi transient store on demand Gaudi transient store on demand

325/9/2006Detector Description (C.Cheshkov) Misalignment at Simulation and Reconstruction level Both simulation and reconstruction use the detector description service and access the misalignment framework Misalignment in simulation: done in the same way with some constraints (eg geometry overlaps) done in the same way with some constraints (eg geometry overlaps) Detector elements -> Geant4 Detector elements -> Geant4 No run-time dependent conditions-like misalignments for simulation No run-time dependent conditions-like misalignments for simulation  Simulation is done with one set of constants in a job

335/9/2006Detector Description (C.Cheshkov) Summary Table ALICEATLASCMSLHCb GeometryImplementation ROOT TGeo GeoModel Dedicated set of classes Detector Description framework Geometry Misalignment Physical Volumes on top of hierarchy of Logical Volumes Hierarchy of Physical Volumes two hierarchies: one of Physical Volumes and one of Logical Volumes AlignmentConstants Delta Transforms; Global frame Delta Transforms; Local + Global frame Default + Delta Transforms Delta Transforms; Local frame Condition DB Arrays of objects; ROOT files on GRID XML strings LCG COOL Misalignment in Sim and Rec Same framework; Sim: Trans. MC uses TGeo navigation Same framework; Sim: GeoModel is source for GEANT4 Only In Rec; Sim: Interface to GEANT4 Same framework; Sim: Framework interfaced to GEANT4 GeometryOverlaps TGeo assemblies; Misalignment on various geom levels Clearance between volumes; Misalignment on various geom levels In progress