CHEP’06 COCOA 1 Cms Object-Oriented Code for Optical Alignment Pedro Arce (CIEMAT), Michael Case (U. California Davis) CHEP 2006, Mumbai, 13-17th February.

Slides:



Advertisements
Similar presentations
R. Lee CMS EMU Alignment: 28 Feb, COCOA Simulation and Study of the EMU Alignment System Robert Lee CMS Endcap Alignment Muon EDR 28 February 2002.
Advertisements

Use of Kalman filters in time and frequency analysis John Davis 1st May 2011.
Computer Networks Group Universität Paderborn Ad hoc and Sensor Networks Chapter 9: Localization & positioning Holger Karl.
Stephen Gibson, ATLAS Offline Alignment, 2 nd July Incorporating FSI with the Offline Alignment Overview ATLAS Group, University of Oxford Stephen.
S. M. Gibson, IWAA7 November ATLAS Group, University of Oxford, UK S. M. Gibson, P. A. Coe, A. Mitra, D. F. Howell, R. B. Nickerson Geodetic Grids.
Computer vision: models, learning and inference
Convex Position Estimation in Wireless Sensor Networks
Study of GEM-TPC Performance in Magnetic Fields Dean Karlen, Paul Poffenberger, Gabe Rosenbaum University of Victoria and TRIUMF, Canada 2005 ALCPG Workshop.
Active Calibration of Cameras: Theory and Implementation Anup Basu Sung Huh CPSC 643 Individual Presentation II March 4 th,
X-Ray Survey of The ATLAS SCT. The ATLAS Semi-Conductor Tracker.
ACAT ’02 CMS GEANT4 Sim. & Detector Desc. Pedro Arce(CERN/CIEMAT) 1 Simulation Framework and XML Detector Description for the CMS Experiment ARCE Pedro.
Camera Parameters and Calibration. Camera parameters From last time….
S. Gibson FSI Offline Analysis 9 th October FSI Alignment: Offline Analysis Overview ATLAS Group, University of Oxford Stephen Gibson, Danny Hindson,
Kaori Maeshima (FNAL), Muon Alignment EDR: FEB. 28, Endcap Alignment EMU Alignment DAQ Muon Alignment EDR Feb. 28, 2002 Outline: 1.Components to.
Chamber Calibration Bench Status Barrel Muon Alignment Group 9 April 2003, J MocholíWorkshop on "LHC Physics with High-Pt Muons in CMS'‘, Bologna, Italy.
3.7. O THER G AME P HYSICS A PPROACHES Overview of other game engine physics approaches.
MUON Alignment DAQ (Overview), EDR Feb Kaori Maeshima MUON Alignment DAQ (overview) Often a question is asked: Do we have a single DAQ program.
1 CMS Tracker Alignment and Implications for Physics Performance Nhan Tran Johns Hopkins University CMS Collaboration SPLIT
US CMS DOE/NSF Review: May 8-10, Endcap Alignment Dick Loveless DOE/NSF Review 9 May 2001.
LBNE R&D Briefing May 12, 2014 LBNE R&D Briefing May 12, 2014 LArIAT and LBNE Jim Stewart LArIAT EPAG Chair BNL LBNE LARIAT-EPAG J. Stewart BNL T. Junk.
MUON_EDR-06 (Alignment) Enrique Calvo Alamillo February 28-March 1, 2002 Link Mechanics: Status.
The barrel reference system1 THE BARREL REFERENCE SYSTEM C.Guyot (Saclay) Goal: Provide a geometrical survey of the whole barrel muon spectrometer.
GE alignment- status, proposal N. Béni, Z.Szillási (ATOMKI, Debrecen, HU) G. Bencze, G. Endrőczi (Wigner RCP, Budapest, HU) GMM meeting 1.
Digital Image Correlation
Geometric Models & Camera Calibration
1 Tracking Reconstruction Norman A. Graf SLAC July 19, 2006.
Muon Endcap Alignment Analog Sensor Calibrations & Software Update Samir Guragain, Marcus Hohlmann Florida Tech October 2005 USCMS EMU meeting – Fermilab,
Generic Approaches to Model Validation Presented at Growth Model User’s Group August 10, 2005 David K. Walters.
Workshop on B/Tau Physics, Helsinki V. Karim ä ki, HIP 1 Software Alignment of the CMS Tracker V. Karimäki / HIP V. Karimäki / HIP Workshop.
K.Furukawa, Nov Database and Simulation Codes 1 Simple thoughts Around Information Repository and Around Simulation Codes K. Furukawa, KEK Nov.
Goal : Setup and monitor “chambers” with resolution of < 200  m Demonstrate System Redundancy Test Setup : 1 SLM Line 1 Transfer Line 1 Transfer Plate.
Goal : Setup and monitor “chambers” with resolution of  < 200  m Demonstrate System Redundancy Test Setup : 1 SLM Line (2 Laser Redundancy) 1 Transfer.
First Reconstruction Results on the Alignment of Muon Endcap Chambers in the CMS Experiment at CERN S. Guragain, G. Baksay, M. Hohlmann Florida Tech 74.
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,
Alignment Software from the ME perspective Marcus Hohlmann Florida Tech Muon Alignment meeting during CMS week - CERN, March 15, 2005.
HLT DT Calibration (on Data Challenge Dedicated Stream) G. Cerminara N. Amapane M. Giunta CMS Muon Meeting.
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.
Kaori Maeshima (FNAL), Alignment Workshop at CERN: May 17-18, Endcap Alignment Status of Offline Software Alignment CERN 17, 18 May 2001.
Why A Software Review? Now have experience of real data and first major analysis results –What have we learned? –How should that change what we do next.
CLIC Beam Physics Working Group CLIC pre-alignment simulations Thomas Touzé BE/ABP-SU Update on the simulations of the CLIC pre-alignment.
CMS Torino meeting, 4 th June, 2007 R. Castello on behalf of Torino Tracker’s group Tracker Alignment with MillePede.
Alignment Meeting, CERN, Sept 19, 2006O.Prokofiev 1 EMU Alignment System Analog Data Analysis for ME+1yME+4 Stations Run: Aug 25-28, 2006 Magnetic field.
Simulation of the CMS Endcap Alignment Scheme Using COCOA.
EMU Meeting, CERN, Sept 18-19, 2006O.Prokofiev 1 EMU Alignment System Analog Data Analysis for ME+1yME+4 Stations Run: Aug 25-28, 2006 Magnetic field up.
1 ATLAS Muon Spectrometer Alignment LHC Days in Split, 5-9 Oct J.Krstic, M.Milosavljevic Institute of Physics, Belgrade D.Fassouliotis,C.Kourkoumelis,
1 James N. Bellinger University of Wisconsin-Madison 15-March-2009 Hardware Alignment.
Status of physics analysis Fabrizio Cei On Behalf of the Physics Analysis Group PSI BVR presentation, February 9, /02/2015Fabrizio Cei1.
1 Research on laser tracker measurement accuracy and data processing Liang Jing IHEP,CHINA
CHEP ’06 GEANT4E 1 GEANT4E: Error propagation for track reconstruction inside the GEANT4 framework Pedro Arce (CIEMAT) CHEP 2006, Mumbai, 13-17th February.
Pierre-François Giraud, Muon Alignment Meeting1 Status of the barrel alignment system Pierre-François Giraud CERN.
This document is a working document and a base for discussions. Everybody who thinks to have better ideas is warmly invited to change it ! Muon alignment.
Alignment of the VDS Outline: The problem VDS Crucial: Coarse
Orbit Response Matrix Analysis
Why do we need to know the fields / map the magnets?
A simple model of the ILC alignment process for use in LET simulations
EMU Alignment DAQ Endcap Alignment Muon Alignment EDR Feb. 28, 2002
Martin Weber RWTH Aachen 1st LHC Detector Alignment workshop CERN
Bashar Mu’ala Ahmad Khader
AIDA Alignment Package
3.7. Other Game Physics Approaches
Plus Endcap Transfer Lines
Alignment of the Silicon Vertex Tracker (SVT)
Pedro Arce (CERN/CIEMAT)
Pedro Arce (CERN/CIEMAT) (on behalf of CMS collaboration)
University of Wisconsin-Madison
Wireless Mesh Networks
Use of GEANT4 in CMS The OSCAR Project
SCT Wafer Distortions (Bowing)
Propagation of Error Berlin Chen
Alignment, Scanning Malcolm Guthrie
Presentation transcript:

CHEP’06 COCOA 1 Cms Object-Oriented Code for Optical Alignment Pedro Arce (CIEMAT), Michael Case (U. California Davis) CHEP 2006, Mumbai, 13-17th February 2006

CHEP’06 COCOA 2 Optical alignment The CMS optical alignment system The problem of optical alignment and how to solve it COCOA Effect of misalignment in the reconstruction Alignment with tracks Commonalities and difference of the several alignment softwares Outline

CHEP’06 COCOA 3 SIMULATION: You are designing a new optical alignment system and you want to: Propagate errors: Calculate how much the errors of the calibrated parameters and the measurements affect the errors of the parameters we want to measure Study redundancies: How much errors changes if some measurement disappears Study range: When a measurement will get out of the range of the measuring device is some objects move The problem

CHEP’06 COCOA 4 RECONSTRUCTION: Optical system takes measurements (2D sensors, 1D sensors, tiltmeters, distancemeters)  results are not what expected by extrapolating measured and calibrated parameters. Why? Wrong rotation / position of some objects Wrong internal calibration of some objects wedge of a splitter internal calibration of a distancemeter deviation when traversing a sensor... Software is the same for Simulation and Reconstruction Only difference: for Simulation measurement is ideal, for Reconstruction measurement is real The problem (II)

CHEP’06 COCOA 5 Get the equations of how each measurement depends on all those parameters  positions, rotations, internal parameters M 1 = f 1 (p 1, p 2,…, p m ) M 2 = f 2 (p 1, p 2,…, p m ) M 1,…, M n = Measurments … p 1,…,p m = parameters (known and unknown) M n = f n (p 1, p 2,…, p m ) f i are non linear equations You know the measurements and some calibrated parameters, need to know the missing ones  Solve the system of equations: Non-linear least squares fit To solve a system of equations, you do not have to know the equations How to solve it

CHEP’06 COCOA 6 Only the derivatives are needed  Get the derivatives with a numerical method Reproduce a measurement with initial parameters (e.g. propagate a laser until the sensor) Move a parameter and see how the measurement value changes Repeat n times moving 1/2 i, until it converges Total CMS alignment system: parameters  big and sparse matrices  sparse matrix library (meschach C library) How to solve it (II)

CHEP’06 COCOA 7  General purpose software to simulate and reconstruct optical alignment systems composed of any combination of laser, x-hair laser, source, lens, pinhole, mirror, plate splitter, cube splitter, rhomboid prism, optical square, sensor2D, sensor1D, COPS, distancemeter, distance target, tiltmeter, ‘user defined’ Each object has internal parameters (planarity of a mirror, wedge between plates of a plate splitter, internal calibration of COPS...) User can define its own object: Tell COCOA how much the light ray will be shifted and deviated for each measurement  Reconstructs positions, angles or internal parameters of each object from the measurement values  Propagates the errors of the measurements and calibrations (including correlations) COCOA

CHEP’06 COCOA 8  System description in simple files Simple text files XML (CMS format) Tool available to trasalate automatically ASCII-XML  Interface with DAQ measurements Currently from text files Soon from POOL-ORACLE database  Interactive 3D view VRML (Virtual Reality Modeling Language) IGUANA visualisation of XML files Scan of a parameter and analysis of results Randomization of a parameter COCOA

CHEP’06 COCOA 9  Documentation: U Primer U User’s Guide U Advanced User’s Guide U Two examples explained with detail U dOxygen documentation COCOA

CHEP’06 COCOA 10  How it works: Describe the system in an input ASCII file Select which parameters are unknown and which are known For the known one write the values Input the measurements  software provides best values for unknown parameters (positions/rotations/internal parameters) compatible with measurements and propagate the errors from the measurements and the known parameters COCOA

CHEP’06 COCOA 11 // system composed of one laser, one periscope that holds a plate splitter and a mirror and two 2D sensors. GLOBAL_OPTIONS report_verbose 2 save_matrices 0 length_error_dimension 2 angle_error_dimension 2 PARAMETERS pos_laser 0 posZ_periscope 1 posZ_sensor 1.1 err_pos 100 err_ang 100 prec_sens2D 5 SYSTEM_TREE_DESCRIPTION object system laser periscope 2 sensor2D object periscope plate_splitter mirror SYSTEM_TREE_DATA system s laser laser // this is the laser centre X pos_laser 1000 unk Y pos_laser 1000 unk Z pos_laser 0. fix angles X 0 err_ang unk Y 0 err_ang unk Z 0 err_ang cal periscope peri centre X 0 err_pos cal Y 0.25 err_pos cal Z posZ_periscope err_pos cal angles X 0 err_ang cal Y 0 err_ang cal Z 0 err_ang cal An example input file

CHEP’06 COCOA 12 plate_splitter spli ENTRY { length shiftX fix length shiftY fix angle wedgeX cal angle wedgeY cal } centre X 0 err_pos cal Y err_pos cal Z cal angles X 0 err_ang cal Y 0 err_ang cal Z 0 err_ang cal mirror mirr ENTRY { none planarity cal } centre X 0 err_pos cal Y 0.25 err_pos cal Z 0. err_pos cal angles X 0 err_ang cal Y 0 err_ang cal Z 0 err_ang cal // now the two sensors sensor2D sens1 centre X 0 err_pos cal Y 0 err_pos cal Z posZ_sensor err_pos cal angles X 0 err_ang cal Y 0 err_ang cal Z 0 err_ang cal sensor2D sens2 centre X 0 err_pos cal Y 0.5 err_pos cal Z 0 err_pos cal angles X 0 err_ang cal Y 0 err_ang cal Z 0 err_ang cal MEASUREMENTS SENSOR2D s/laser & s/peri/spli:T & s/sens1 H 0.1 prec_sens2D V -0.1 prec_sens2D SENSOR2D s/laser & s/peri/spli:D & s/peri/mirr & s/sens2 H 0.2 prec_sens2D V -0.1 prec_sens2D

CHEP’06 COCOA 13 - Several test benches - Several design studies - Simulation of full CMS Link align. ment system (3000 parameters) - Simulation of full CMS Muon Endcap align. system (6500 parameters) - Reconstruction of ISR test: one full CMS muon alignment halfplane (3000 parameters) - To be used for the reconstruction of displacements at the CMS Magnet Test (May 2006) Use of COCOA

CHEP’06 COCOA 14 4 subsystems with quite different hardware - Align. internal Muon Barrel - Align. internal Muon Endcap - Align. Muon  Tracker - Align. Internal Tracker Muon Chambers suffer movements and deformations from magnetic field, gravity and temperature (  several mm)  Monitor Muon Chambers posi- tion relatively among them and with respect to the central Tracker (  150  m) The CMS optical alignment system

CHEP’06 COCOA 15  Barrel  18 forks (4 light sources each)  3 double cameras  3 single cameras on MAB+z  120 measurements  Endcap  2 x-hair lasers  7 COPS  transfer plate with 2 COPS  1 COPS on MAB +Z  1 COPS on fake MA -Z  47 measurements ‘ Proof of concept’ test of CMS alignment system: one full half-plane Input object parameters from calibrations Input object positions from survey Input measurements collected during August and September 2003  Link  2 laserboxes  laser level  10 2D sensors  2 tubes  4 distancemeters  4 tiltmeters  312 measurements Reconstruction of ISR test

CHEP’06 COCOA 16

CHEP’06 COCOA 17 AugustSeptember

CHEP’06 COCOA 18 Full CMS Link alignment system (2865 parameters): 20 minutes in Athlon 1.3 GHz Memory: 590 Mb Due to the size of matrices (long double precision) Time and memory scales as  (#param) 2 !  we cannot simulate full CMS (40k params) Split the system in N parts Time and memory will diminish by a factor N COCOA gives you the correlations and you can input the correlations for the next job Diminish the number of parameters Many parameters have a negligible effect in the final result Needs a thorough testing to avoid biasing Try other sparse matrix libraries Many parameters have a negligible effect in the final result Time and memory consumption

CHEP’06 COCOA 19 Optical alignment systems are used in several experiments Need a flexible software to simulate and reconstruct: Design ideas Design prototypes Test benches Full system COCOA is a general purpose alignment software developed as a Software Engineering project User just describes its system in ASCII files COCOA reconstructs the unknown parameters and propagate the errors COCOA soundness has been stressed during several years of use in CMS Summary