Parameterization of the LHCb magnetic field map

Similar documents
Determination of the aperture of the LHCb VELO RF foil

HLT Hadronic L0 Confirmation Matching VeLo tracks to L0 HCAL objects

PATHFINDER A track finding package based on Hough transformation

Simulation study for the EUDET pixel beam telescope

Review for Mastery Using Graphs and Tables to Solve Linear Systems

PoS(EPS-HEP2017)492. Performance and recent developments of the real-time track reconstruction and alignment of the LHCb detector.

Grade 9 Math Terminology

Section 4.4: Parabolas

Magnet Alignment Challenges for an MBA Storage Ring*

Deeply Virtual Compton Scattering at Jefferson Lab

LHC-B. 60 silicon vertex detector elements. (strips not to scale) [cm] [cm] = 1265 strips

The Compact Muon Solenoid Experiment. Conference Report. Mailing address: CMS CERN, CH-1211 GENEVA 23, Switzerland

Using LoggerPro. Nothing is more terrible than to see ignorance in action. J. W. Goethe ( )

Tracking and Vertexing in 3D B-field

Algebra. Chapter 4: FUNCTIONS. Name: Teacher: Pd:

Fast pattern recognition with the ATLAS L1Track trigger for the HL-LHC

Visit the following websites to learn more about this book:

demonstrate an understanding of the exponent rules of multiplication and division, and apply them to simplify expressions Number Sense and Algebra

Warm-Up Exercises. Find the x-intercept and y-intercept 1. 3x 5y = 15 ANSWER 5; y = 2x + 7 ANSWER ; 7

Simulating the RF Shield for the VELO Upgrade

COMPUTER AIDED ENGINEERING DESIGN (BFF2612)

Edge and local feature detection - 2. Importance of edge detection in computer vision

OpenGL Graphics System. 2D Graphics Primitives. Drawing 2D Graphics Primitives. 2D Graphics Primitives. Mathematical 2D Primitives.

EUDET Telescope Geometry and Resolution Studies

Analogue, Digital and Semi-Digital Energy Reconstruction in the CALICE AHCAL

Muon Reconstruction and Identification in CMS

Curve Representation ME761A Instructor in Charge Prof. J. Ramkumar Department of Mechanical Engineering, IIT Kanpur

Points Lines Connected points X-Y Scatter. X-Y Matrix Star Plot Histogram Box Plot. Bar Group Bar Stacked H-Bar Grouped H-Bar Stacked

π ± Charge Exchange Cross Section on Liquid Argon

Edge detection. Convert a 2D image into a set of curves. Extracts salient features of the scene More compact than pixels

Lecture 8. Divided Differences,Least-Squares Approximations. Ceng375 Numerical Computations at December 9, 2010

MPM 1D Learning Goals and Success Criteria ver1 Sept. 1, Learning Goal I will be able to: Success Criteria I can:

Section 7.2 Volume: The Disk Method

ATLAS, CMS and LHCb Trigger systems for flavour physics

Full Offline Reconstruction in Real Time with the LHCb Detector

CS 4620 Final Exam. (a) Is a circle C 0 continuous?

Assignment 4: Mesh Parametrization

Section 18-1: Graphical Representation of Linear Equations and Functions

Functions. Copyright Cengage Learning. All rights reserved.

Smarter Balanced Vocabulary (from the SBAC test/item specifications)

Development of a Maxwell Equation Solver for Application to Two Fluid Plasma Models. C. Aberle, A. Hakim, and U. Shumlak

8 Piecewise Polynomial Interpolation

Integers & Absolute Value Properties of Addition Add Integers Subtract Integers. Add & Subtract Like Fractions Add & Subtract Unlike Fractions

arxiv:hep-ph/ v1 11 Mar 2002

Robust PDF Table Locator

A New Segment Building Algorithm for the Cathode Strip Chambers in the CMS Experiment

Segmentation and Grouping

GEANT4 is used for simulating: RICH testbeam data, HCAL testbeam data. GAUSS Project: LHCb Simulation using GEANT4 with GAUDI.

Alignment of the ATLAS Inner Detector tracking system

Best-Fit 3D Phase-Center Determination and Adjustment

CSC Computer Graphics

ICS 161 Algorithms Winter 1998 Final Exam. 1: out of 15. 2: out of 15. 3: out of 20. 4: out of 15. 5: out of 20. 6: out of 15.

2.2 Graphs Of Functions. Copyright Cengage Learning. All rights reserved.

First results from the LHCb Vertex Locator

Plane wave in free space Exercise no. 1

Handout 4 - Interpolation Examples

Tropical Orthogonal Representations

9. Three Dimensional Object Representations

CMS Conference Report

Supplemental Material Deep Fluids: A Generative Network for Parameterized Fluid Simulations

Vocabulary Unit 2-3: Linear Functions & Healthy Lifestyles. Scale model a three dimensional model that is similar to a three dimensional object.

Simulation Study for EUDET Pixel Beam Telescope using ILC Software

Adding timing to the VELO

7 th Grade Accelerated Learning Targets Final 5/5/14

To sketch the graph we need to evaluate the parameter t within the given interval to create our x and y values.

Parameterization. Michael S. Floater. November 10, 2011

TO DUY ANH SHIP CALCULATION

CS 450 Numerical Analysis. Chapter 7: Interpolation

Tracking and Vertex reconstruction at LHCb for Run II

Track reconstruction of real cosmic muon events with CMS tracker detector

Explicit\Implicit time Integration in MPM\GIMP. Abilash Nair and Samit Roy University of Alabama, Tuscaloosa

1 Affine and Projective Coordinate Notation

This is called the vertex form of the quadratic equation. To graph the equation

Atlantis: Visualization Tool in Particle Physics

Computational Simulation of the Wind-force on Metal Meshes

Alignment of the ATLAS Inner Detector

Correlation of the ALEKS courses Algebra 1 and High School Geometry to the Wyoming Mathematics Content Standards for Grade 11

Shippensburg Math & Computer Day 2013 Individual Math Contest Solutions

ALGEBRA II A CURRICULUM OUTLINE

Sketching graphs of polynomials

CHAPTER 4. Numerical Models. descriptions of the boundary conditions, element types, validation, and the force

PITSCO Math Individualized Prescriptive Lessons (IPLs)

l ealgorithms for Image Registration

The Compact Muon Solenoid Experiment. CMS Note. Mailing address: CMS CERN, CH-1211 GENEVA 23, Switzerland

The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a

Mar. 20 Math 2335 sec 001 Spring 2014

Spatial Interpolation - Geostatistics 4/3/2018

UNIT 1: NUMBER LINES, INTERVALS, AND SETS

Section 1.4 Equations and Graphs of Polynomial Functions soln.notebook September 25, 2017

Charged Particle Reconstruction in HIC Detectors

Multiple variables data sets visualization in ROOT

Point Lattices in Computer Graphics and Visualization how signal processing may help computer graphics

Classroom Tips and Techniques: Maple Meets Marden's Theorem. Robert J. Lopez Emeritus Professor of Mathematics and Maple Fellow Maplesoft

6.2 Classification of Closed Surfaces

MEASUREMENT OF THE WAVELENGTH WITH APPLICATION OF A DIFFRACTION GRATING AND A SPECTROMETER

Chapter 3: Polynomials. When greeted with a power of a power, multiply the two powers. (x 2 ) 3 = x 6

Overview of the American Detector Models

Uncertainty simulator to evaluate the electrical and mechanical deviations in cylindrical near field antenna measurement systems

Integrated Math I. IM1.1.3 Understand and use the distributive, associative, and commutative properties.

Solve problems involving proportional reasoning. Number Sense and Algebra

Transcription:

Parameterization of the LHCb magnetic field map Adlène Hicheur, Géraldine Conti Ecole Polytechnique Fédérale de Lausanne, Lausanne, Switzerland E-mail: Adlene.Hicheur@cern.ch,geraldine.conti@epfl.ch Abstract. The LHCb warm magnet[1] has been designed to provide an integrated field of 4 Tm for tracks coming from the primary vertex. To insure good momentum resolution of a few per mil, an accurate description of the magnetic field map is needed. This is achieved by combining the information from a TOSCA-based simulation and data from measurements. The paper presents the fit method applied to both the simulation and data to achieve the requirements. It also explains how the corresponding software tool is integrated in the LHCb Gaudi software and shows the relation with the environment in which it is used. 1. Introduction Initial studies of the field map were done using a grid of values generated by a TOSCA simulation and measurements performed with Hall probes[2]. Comparisons have shown that, although the simulation accounts correctly for the measurements, some mismatch between simulated field and data can be observed in several regions and in particular, near the first Cherenkov light detector (RICH1) and in the magnet region. On the other hand, technical limitations related to the probes positioning did not allow obtaining measurements in the full acceptance. To derive a realistic field map covering all the regions, we implemented a three dimensional fit to the TOSCA field values, using a development in series of basis functions. The set of basis functions is optimized by the mean of a Gram-Schmidt orthogonalization procedure which keeps only the terms that significantly reduce the least square[3].we then compare the parameterization and the measurements and fit correction terms. Regions where no data is available are described by extrapolating the corrective functions. 2. Available input for the map determination The information we use to determine the field map comes from two sources: A TOSCA simulation relying on finite element calculations (figure 1) providing field values positioned on 1 cm cubic cells, resulting in about 18 numbers for each field component. Measurements performed in late 25 [2]. These measurements were taken by sixty Hall probes disposed into a two planes grid-configuration (figure 2) moving on a rail along the beam (z) axis. The grid could be moved in several positions in the transverse (xy) plane as well (figure 3).

Figure 1. TOSCA representation of the magnet, hadron calorimeter and muon shields, based on Finite Elements calculation method. 72 y(cm) 16 horizontal 8 x(cm) 8 v e r t i c a l 36 Hall probes Beam holes used to adjust the x and y coordinates of the planes 24 Figure 2. Planes supporting the Hall probes used for the magnetic field measurement. Figure 3. Drawing showing the Hall probes positions in the measurements planes and the rails system used for the transverse scan. 3. The fitting techniques To determine the field map, we have envisaged several approaches that are technically different in their implementation but are fundamentally correlated in their philosophy. 3.1. Three dimensional interpolation Given the set Ω sim of field values B sim provided by the simulation and the set Ω meas of measurements B meas, we first set up a global interpolation strategy in which we minimize the estimator: I = λ 1 (B sim ( x i ) f( x i )) 2 + λ 2 (B meas ( y j ) f( y j )) 2 (1) i,ω sim j,ω meas

λ 1 and λ 2 are weights (in the general case, they can be set to be position-dependent). f is a function build as follows: f( z) = c( k)φ( z L k) (2) k Z 3 c( k) are coefficients to be determined and φ( u) are Kernel functions used for the interpolation (typically three dimensional cubic splines). L is the typical cell size for which the interpolation is computed. To regularize the interpolation, a smoothing term is added to the criterion 1 to prevent local oscillation effects. Although the method is generic, it requires the simultaneous fit of a large number of c( k) coefficients (O(1 6 )). We thus decided to adopt a simplified strategy in which we proceed to a three dimensional polynomial fit. 3.2. Three dimensional fit In this method, we consider the following development: f( x i ) = l c l m l ( x i ) (3) c l are coefficients to be determined in the fit and m l are functions forming the fitting basis. For a simple polynomial basis, m l (x i, y i, z i ) is of the form x a i yb i zc i. In our case, we chose Chebychev monomials 1, the m l (x, y, z) functions being of the form T m (x)t n (y)t p (z), where T k (u) is the k th order Chebychev polynomial for the variable u. We recall the recurrence relation linking subsequent orders: T k+1 (u) = 2uT k (u) T k 1 (u) (4) T (u) = 1 T 1 (u) = u The goal is then to determine the optimized number of terms and c l coefficients in equation 3 such that following sum of squared residuals is minimized: S = i (f( x i ) B i ) 2 (5) After setting the maximum number of terms for each dimension, the procedure (see [3, 5] for the details) consists in two steps: Choice of the optimal combination of terms through a Graam-Schmidt orthogonalization procedure in which the functions are selected according to their minimization power in equation 5. Determination of the c l coefficients through a standard least square fit. To achieve the target precision, we were forced to divide the fitting volume into sub-regions. This can be seen as a compromise with respect to the full interpolation procedure (previous paragraph) for which each cell is a sub-region. With this, we reduce the number of coefficients by three orders of magnitude. 1 The Chebychev polynomials are known to be the best approximation polynomials for continuous functions. In particular, they minimize the nasty oscillation effects (called Runge s phenomenon) observed for high-order polynomial fit/interpolation [4].

4. Fit regions Due to the complexity of the B field behaviour, several regions of parameterization have been defined. The boundary choice results from a compromise between three requirements : achieving the target precision, minimizing the number of regions and the number of terms in the parametererizations of each region. The choice of the cuts is driven by the field variations. Regions where the field gradients are big will be smaller and will require more terms in the parameterizations than the ones where the field variations are smoother. We have simplified the regions definitions by relying on the z coordinate only for the three B field components. We obtained fifteen regions (figure 4), with boundaries at z = 1, 15, 2, 24, 3, 41, 47, 51, 61, 67, 73, 8, 85 and 9 cm. The locations of these cuts do not systematically correspond to physical positions of subdetectors. Figure 4. Positions of the z cuts separating the fit regions (black lines) along with the delimitations of the upstream, magnet and downstream sectors (thick black lines). Inside the magnet, quick variations of the field are observed close to the magnet coils. In order to obtain parameterizations with a reasonable number of terms (up to O(15)), the region [y edge -3cm,y edge ] has been fitted separately. 5. Fit results The fit has been performed using the ROOT software [6]. The analytic caculations for the B x, B y and B z components show a very good matching with the TOSCA simulated values for all the sectors. The reached precision is O(1 3 ). Figure 5 shows examples of comparisons between TOSCA-based numbers and analytic values. The relative discrepancy between the parameterizations of the adjacent regions has been studied and found to be of the same order of the fit precision for each magnetic component. Matching with data is then performed by parameterizing (using the same basis of functions) the residuals between the analytic field determination and the measurements. Figure 6 shows examples of such residuals distributions. The final parameterization is derived by combining the initial one and the residual parameterization. Figure 7 shows the effect of correcting the parameterized simulation with the residuals. In the regions where no measurement is available, the idea is to extrapolate residual parameterizations, taking into account boundary conditions as well as constraints from Maxwell equations.

Bx.1.8 TOSCA simulated Bx Analytic Bx based on TOSCA By -.2 TOSCA simulated By Analytic By based on TOSCA.6 -.4.4 -.6.2 -.2 1 2 3 4 5 6 7 8 9 1 z -.8-1 2 4 6 8 1 z Bz.15 TOSCA simulated Bz.1 Analytic Bz based on TOSCA.5 -.5 -.1 -.15 -.2 -.25 1 2 3 4 5 6 7 8 9 1 z Figure 5. Plots of the variations as a function of z of the magnetic field components B x (for x = 4 cm, y = 4 cm), B y (for x = cm, y = cm) and B z (for x = 4 cm, y = 4 cm). Bx residuals(t), Magnet region By residuals(t), Magnet region Bz residuals(t), Magnet region.4.2 -.2 -.4 15 1 5 Y (cm) -5-1 15 2 51-2-15-1-5 X (cm).2.1 -.1 -.2 -.3 -.4 15 1 5 Y (cm) -5-1 15 2 51-2-15-1-5 X (cm).4.2 - -.2 -.4 -.6 15 1 5 Y (cm) -5-1 15 2 51-2-15-1-5 X (cm) Figure 6. Data-(Parameterized simulation) residuals for the three field components in the magnet region. This scheme is still under study. 6. Embedding in LHCb software The parameterized determination of the field vector for a given position has required the implementation of a service in the Gaudi framework [7]. This service must be initialized by configuration scripts, if any of the user algorithms requires the field. For a given position, the magnetic field components are obtained through the call to a generic method, fieldvector, which

-.85 -.9 By (T) -.95-1 -1.5 4 45 5 55 6 z (cm) Figure 7. Plot of the B y component as a function of z (for x = 1 cm, y = 4 cm). The filled circles represent the simulation while the triangles represent the final parameterization including the matching with data. The z slice 4 6 cm has been chosen to illustrate a region where the difference is easily visible. in turn calls the region determination method and finally the analytic calculation is performed. Figure 8 depicts the working principle of how the service is called by a generic Gaudi algorithm. Figure 8. Typical example of use of the parameterized field service by a user algorithm. The diagram shows the service methods flow when a call is done. 7. Validation tests To validate the parameterization of the field map, we implemented several tests in increasing order of complexity. We first compared the results for the field components between the parameterized determination and the one performed by a linear interpolation of the TOSCA grid values, as shown in figure 5. In a second step, we made the same comparison for the bending vector: B d l (6)

In this exercise, we generated a set of segments originating from the origin (,, ) (theoretical primary vertex ) with a random distribution of x (dx/dz) and y (dy/dz) slopes, within the LHCb acceptance, ±3 mrad and ±25 mrad, respectively. We then compute the component of the bending vector, for each segment, between the origin point and the coordinate (,,9) cm, i.e, after the magnet. Figure 9 shows the three components of the bending vector for the linear interpolation method and the parameterization. 4.17.5.5 Bdlx (T.m) 4.165 4.16 4.155 4.15 4.145 4.14 4.135 Bdly (T.m).4.3.2.1 -.1 -.2 -.3 -.4 Bdlz (T.m).4.3.2.1 -.1 -.2 -.3 -.4 4.13 -.25 -.2 -.15 -.1 -.5 -.5.1.15.2.25 ty -.5 -.25 -.2 -.15 -.1 -.5 -.5.1.15.2.25 ty -.5 -.25 -.2 -.15 -.1 -.5 -.5.1.15.2.25 ty Figure 9. Profile plots of the three bending vector components, as a function of the y slope of the generated segments. Dots and triangles represent the linear interpolation and parameterized representation, respectively. One can see that the two representations match in most cases except for the x component of the bending vector where a small discrepancy is observed for high values of the y slope: this corresponds to the high y region, mentioned in paragraph 4, where the field gradient is more important. After investigating, we were able to figure out that due to the smaller number of points used for the parameterization of this region, the resulting fit is less accurate. To solve that, we changed the y edge region definition such that it overlaps with the central region. Finally, we tested the analytic field description by using it in the track reconstruction and comparing it to the TOSCA linear interpolation. We ran on few B d J/ψK S events: figure 1 shows the results for the resolutions of track parameters. We can observe that the two field descriptions give similar results. Entries 4 35 3 25 2 15 1 5 -.4 -.2.2.4 momentum resolution Entries 4 35 3 25 2 15 1 5 -.5 -.4 -.3 -.2 -.1 -.1.2.3.4.5 X resolution Figure 1. Plots of the momentum and X track parameter resolutions at the vertex. The solid and dashed lines represent the histograms for the linear interpolation and parameterized representation, respectively.

8. Conclusion An analytic representation of the LHCb magnetic field map has been implemented. The optimized multidimensional fit applied to derive the parameterization allowed us to achieve the target precision. For the purpose of testing, this functional mapping has been ported to the framework of the LHCb software. With the validation tests, we were able to both tune the parameterization and check the quality of the tracking performance. The inclusion of corrections from real measurements has been successfully achieved in areas where the parameterized simulation and measurements overlap. Where no measurement is available, a correction scheme including constraints from Maxwell equations has been considered and is still being studied. References [1] LHCb Magnet, Technical Design Report, CERN/LHCC/2-7, December 1999. [2] Tests and Field Map of LHCb Dipole Magnet, M.Losasso et al., IEEE Transactions on Applied Superconductivity, Volume 16, Issue 2, pages 17-173, June 26. [3] H.Wind, Yellow Report 72-21, CERN, 1972. H.Wind, Yellow Report, EP/81-12, CERN, 1981. [4] C.Lanczos, Applied Analysis, Prentice-Hall, Inc., Engelwood Cliffs, NJ, 1956. [5] LHCb note 27-93, A.Hicheur, G.Conti (27). [6] R.Brun, F.Rademakers, ROOT - An Object Oriented Data Analysis Framework, Proceedings AIHENP 96 Workshop, Lausanne, Sep. 1996, Nucl. Inst. & Meth. in Phys. Res. A 389 (1997) 81-86. See also http://root.cern.ch/. [7] Barrand G. et al., GAUDI - A software architecture and framework for building LHCb data processing applications, Proceedings of CHEP 2.