RAVE a Detector-independent Vertex Reconstruction Toolkit



Similar documents
Part 4 fitting with energy loss and multiple scattering non gaussian uncertainties outliers

Event display for the International Linear Collider Summer student report

A new inclusive secondary vertex algorithm for b-jet tagging in ATLAS

World-wide online monitoring interface of the ATLAS experiment

A J2EE based server for Muon Spectrometer Alignment monitoring in the ATLAS detector Journal of Physics: Conference Series

Recent SiD Tracking Studies at CU (and Ancient Outer Tracker Studies at SLAC)

Component-based Robotics Middleware

CMS data quality monitoring web service

Annealing Techniques for Data Integration

Vertex and track reconstruction with the ALICE Inner Tracking System

Capturing Real-Time Power System Dynamics: Opportunities and Challenges. Zhenyu(Henry) Huang, PNNL,

"FRAMEWORKING": A COLLABORATIVE APPROACH TO CONTROL SYSTEMS DEVELOPMENT

Top-Quark Studies at CMS

HEP data analysis using jhepwork and Java

Precision Tracking Test Beams at the DESY-II Synchrotron. Simon Spannagel DPG 2014 T88.7 Mainz,

AUTOMATED CONFERENCE CD-ROM BUILDER AN OPEN SOURCE APPROACH Stefan Karastanev

The Data Quality Monitoring Software for the CMS experiment at the LHC

PXL 2.1: Toolkit for Physics Analyses in the Elementary Particle Physics

Multi-objective Design Space Exploration based on UML

Building a Volunteer Cloud

SLANGTNG - SOFTWARE FOR STOCHASTIC STRUCTURAL ANALYSIS MADE EASY

IMPROVED NETWORK PARAMETER ERROR IDENTIFICATION USING MULTIPLE MEASUREMENT SCANS

Frequency Map Experiments at the Advanced Light Source. David Robin Advanced Light Source

Running a Program on an AVD

SERENITY Pattern-based Software Development Life-Cycle

A Process for ATLAS Software Development

RAPIDMINER FREE SOFTWARE FOR DATA MINING, ANALYTICS AND BUSINESS INTELLIGENCE. Luigi Grimaudo Database And Data Mining Research Group

EUTelescope: tracking software

Using EDA Databases: Milkyway & OpenAccess

TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAA

Real Time Tracking with ATLAS Silicon Detectors and its Applications to Beauty Hadron Physics

The accurate calibration of all detectors is crucial for the subsequent data

Easy configuration of NETCONF devices

ATLAS job monitoring in the Dashboard Framework

NUCLEONICA SOFTWARE DESIGN PATTERNS

Invenio: A Modern Digital Library for Grey Literature

A Tool for Evaluation and Optimization of Web Application Performance

Secondary vertex reconstruction from tracking data using the ZEUS-framework t 3-jet reconstruction from ZEUS-data at s = 318 GeV

Tracking/Vertexing/BeamSpot/b-tag Results from First Collisions (TRK )

WHAT IS SCADA? A. Daneels, CERN, Geneva, Switzerland W.Salter, CERN, Geneva, Switzerland. Abstract 2 ARCHITECTURE. 2.1 Hardware Architecture

An Interactive Visualization Tool for the Analysis of Multi-Objective Embedded Systems Design Space Exploration

Iranian J Env Health Sci Eng, 2004, Vol.1, No.2, pp Application of Intelligent System for Water Treatment Plant Operation.

2. IMPLEMENTATION. International Journal of Computer Applications ( ) Volume 70 No.18, May 2013

EUROPEAN ORGANIZATION FOR NUCLEAR RESEARCH THE INFORMATION SYSTEM FOR LHC PARAMETERS AND LAYOUTS

Configuration & Build Management

MEng, BSc Applied Computer Science

Use of ROOT in Geant4

Visualizing and Analyzing Massive Astronomical Datasets with Partiview

Deterministic Sampling-based Switching Kalman Filtering for Vehicle Tracking

Discrete Frobenius-Perron Tracking

Round Robin with Server Affinity: A VM Load Balancing Algorithm for Cloud Based Infrastructure

Web based monitoring in the CMS experiment at CERN

Track Trigger and Modules For the HLT

Data Mining mit der JMSL Numerical Library for Java Applications

Statistical Machine Learning

Verifying the IEC Configuration and Assessing the Communication Network during Commissioning

Pattern-Aided Regression Modelling and Prediction Model Analysis

IMPROVEMENT OF JET ENERGY RESOLUTION FOR SEGMENTED HCAL USING LAYER WEIGHTING TECHNIQUE

MEng, BSc Computer Science with Artificial Intelligence

Building native mobile apps for Digital Factory

Kristine L. Bell and Harry L. Van Trees. Center of Excellence in C 3 I George Mason University Fairfax, VA , USA kbell@gmu.edu, hlv@gmu.

Hybrid processing of SCADA and synchronized phasor measurements for tracking network state

Analecta Vol. 8, No. 2 ISSN

Optimisation of the ATLAS track reconstruction software for Run-2. A. Salzburger, CERN

Computer Aided Liver Surgery Planning Based on Augmented Reality Techniques

AN INTERACTIVE USER INTERFACE TO THE MOBILITY OBJECT MANAGER FOR RWI ROBOTS

2. Distributed Handwriting Recognition. Abstract. 1. Introduction

Image Processing Techniques applied to Liquid Argon Time Projection Chamber(LArTPC) Data

A Modular Approach to Teaching Mobile APPS Development

EcOS (Economic Outlook Suite)

Outline. Definitions. Course schedule

Kalman Filter Applied to a Active Queue Management Problem

Class-specific Sparse Coding for Learning of Object Representations

Advantage of Jquery: T his file is downloaded from

Jet Reconstruction in CMS using Charged Tracks only

Transcription:

RAVE a Detector-independent Reconstruction Toolkit Wolfgang Waltenberger, Winfried Mitaroff, Fabian Moser Institute of High Energy Physics, Austrian Academy of Sciences A-15 Vienna, Austria, EU Abstract A detector-independent toolkit for vertex reconstruction (RAVE 1 ) is being developed, along with a standalone framework (VERTIGO 2 ) for testing, analyzing and debugging. The core algorithms represent state-of-the-art for geometric vertex finding and fitting by both linear (Kalman filter) and robust estimation methods. Main design goals are ease of use, flexibility for embedding into existing software frameworks, extensibility, and openness. The implementation is based on modern object-oriented techniques, is coded in C++ with interfaces for Java and Python, and follows an open-source approach. A beta release is available. 1 Motivation and goals Experiments at high-energy particle colliders rely on precise track and vertex reconstruction, which must not compromise the high spatial resolution achieved by modern tracking detectors. Data analysis therefore requires new, sophisticated methods beyond the traditional least squares (Kalman filter) estimators, using robust, non-linear, mostly adaptive algorithms. In the data reduction chain, the early stages of local pattern recognition, track search and track fitting are highly detector-dependent, whereas the next stage geometric vertex reconstruction (finding and fitting) is almost fully detector-independent 3. Thus, it should neither be necessary nor desirable for each new detector collaboration to re-code vertex reconstruction from scratch, provided an adequate, reliable and easy-to-use toolkit would be available. Note, however, that vertex fitting with kinematic constraints may be subject to the requirements of a subsequent physics analysis. 1 RAVE = reconstruction (of vertices) in abstract versatile environments, 2 VERTIGO = vertex reconstruction toolkit and interface to generic objects. 3 at LHC, the overlaid events will have an impact on the frequency of outliers. 11 th Vienna Conf. on Instrumentation (VCI) 19 24 Feb. 27 vers. 12/6/7

2 Design and functionality The idea of a detector-independent library for vertex evaluation by robust algorithms dates back to 1995 [1], but its realization as a toolkit with high level of abstraction became feasible only after the advent of object-oriented software frameworks in the LHC-ILC era. This project was initiated in 23, and first parts of VERTIGO (the data harvester/seeder and visualiser tools) were developed and presented in 24 [2,3]. The RAVE toolkit The RAVE core is intended to collect the world-best algorithms available for all aspects of vertex reconstruction finding, fitting and kinematics. At present, it includes both vertex finding (a pattern recognition task a.k.a. track bundling), and vertex fitting (i.e. parameter estimation of the vertex position and associated smoothed track momenta, together with their covariance matrices). The algorithms had originally been developed for the CMS reconstruction software ORCA [4], and have recently been re-factored for being ported to a new framework (CMSSW). Source code compatibility between RAVE and CMSSW is desirable and will continue. Principal assets of the RAVE toolkit are robust reconstruction algorithms with estimators based on adaptive filters [5,6], thus down-weighting the influence of outlier tracks (large residuals w.r.t. the errors, or not belonging to the vertex being fitted); it also provides an adaptive multi-vertex fitter (MVF) [7], the performance of which is demonstrated below. A discussion of the algorithms supported by RAVE is given in [8]. Thanks to its simple API, the RAVE toolkit may be embedded into the software environment of any non-cms collider experiment with minimal effort: all that is neded is some glue code (adaptor classes) for interfacing to the framework s specifica, e.g. its track model. So far, RAVE has been successfully tested with the ILC software frameworks MarlinReco [9] (C++ based) and org.lcsim [9] (Java based, using a SWIG wrapper). More information about the API can be found also in [8]. Performance of RAVE The AdaptiveFitter (AVF) is a robust generalization of the Kalman filter, iteratively downweighting the contribution of outlier tracks to the objective function ( soft assignment ). The extra weights w i on the reduced residuals r i are calculated by a Fermi function with cutoff parameter r cut (Fig. 1). In addition, a deterministic annealing schedule with decreasing temperature T is introduced in order to avoid falling into local minima: 2

w i (r i, T) = e r2 i /2T e r2 i /2T + e r2 cut /2T = 1 1 + e (r2 i r2 cut )/2T Iterations (index k, omitted above) should start with an a-priori guess of w i,1. For k > 1, the w i,k = w i (r i,k 1, T k ), with T k T k 1 defined by the annealing schedule. For T, the Fermi function approximates the Heaviside function, and the assignment turns into a hard one (w i = 1 or ). The MultiFitter (MVF) is a generalized AVF, simultaneously fitting n vertices by soft assignment of each track to more than one vertex. The extra weights w ij on the reduced residuals r ij w.r.t. vertex j are w ij (r ij, T) = e r2 ij /2T nl=1 e r2 il /2T + e r2 cut /2T As an example, events were generated with a primary vertex (PV) at [,,] cm and one secondary vertex (SV) at [,,.2] cm; with the PV (SV) emitting a jet of 5 (3) tracks of total momentum [,25,25] ([-15,,2]) GeV and openening angle.5 (.5) rad, respectively. Gaussian track errors were simulated by the tracks covariance matrices. Thereafter, one PV track and one SV track were chosen to be swapped, i.e. assigned to the wrong vertex (Fig. 2 top). The two track bundles, each containing one wrongly assigned track, were submitted to a Kalman filter (KF), the AVF and the MVF. Resolutions of the reconstructed decay lengths are shown in Fig. 2 bottom, demonstrating the superior performance of the AVF w.r.t. the KF, and also improved performance of the MVF over the AVF. The VERTIGO framework The vertex reconstruction toolkit is complemented by a simple standalone framework, VERTIGO, for testing, analyzing and debugging core algorithms. Thanks to powerful persistency solutions, VERTIGO may also serve as an alternative for running RAVE without embedding it into another framework; for this purpose, emulation of detector specifica (like track propagator and magnetic field) is supported by the skin concept, introducing an intermediate layer between RAVE and VERTIGO proper. The VERTIGO framework provides interfaces and tools, either natively or as plugins, for input ( event generators ) and output ( observers ), see Fig 3. The most prominent ones are: Gun several tools for generating artificial events, including b-jet like secondary vertices; LCIO EvtGen interface for the ILC common data format LCIO [9]; 3

Data Harvester (output) and Seeder (input) an abstract and powerful persistency tool, based on STL mapping of heterogeneous objects, and supporting a wide range of data formats including simple CSV text, XML, HDF5, and the CERN data format ROOT. Histogrammer a tool based on the Data Harvester for analyzing and quality checking results of the RAVE fitters; Visualiser GUI to the RaveVis event display tool, following the MVC paradigm, deliberatly kept simple for the sake of detector independence, and based on Coin3D [1]; a snapshot is shown in Fig. 4. Optionally, the Visualiser, together with the Data Seeder, can be run as a standalone event display application without calling RAVE. More information about VERTIGO s features can be found in [8]. VERTIGO/RAVE has so far been tested with input data from CMS (Seeder, CMS skin), ILC detectors (LCIO, LDC and SiD skins), and a simple detector simulation by the LiC Tool [11] (CSV Seeder, simple skin). 3 Conclusions and outlook The RAVE vertex reconstruction toolkit and its companion standalone framework VERTIGO have successfully been tested with input data from CMS and ILC detectors, and on various platforms (Linux and CygWin, Mac OSX under work). Beta releases can be downloaded from our subversion repository [12]; they will also be hosted at HepForge [13]. The RAVE toolkit has recently been augmented by the CMSSW b-tagger, based on a likelihood-ratio method. This may eventually evolve into a generalpurpose flavour tagger. Work is under way for a link between RAVE and the topological vertex search algorithm ZvTop [14]. A completely re-coded C++ version has recently been released by the Oxford LCFI group, and a Java version exists at SLAC. Combining ZvTop with RAVE (e.g. as a seeder for the MVF) could improve its performance for complex topologies. A project to be started later this year aims at augmenting the RAVE toolkit with a kinematic fitter, using existing code which had originally been developed in 25 for ORCA. There is no intention to push RAVE beyond vertex finding and fitting, flavour tagging, and kinematics. For VERTIGO, we plan the addition of an interface (similar to LCIO EvtGen) for the BELLE data format Panther [15]. 4

Acknowledgements Thanks are due to the CMS vertexing circle for code shared with RAVE. Special thanks go to Meinhard Regler (founder and steady supporter of the Vienna school of data analysis ), and to Rudi Frühwirth for formulating a great part of the algorithms used. Last, but not least, to mention recent contributions by Bernhard Pflugfelder and Herbert-Valerio Riedel. References [1] R. Frühwirth et al.: Comp.Phys.Comm. 96 (1996) 189-28. [2] W. Mitaroff, W. Waltenberger: Proc. Int. Conf. on Linear Colliders (LCWS 4), Paris, 19-23 April 24, Ed. de l École Polytechnique, Palaiseau 25 vol. 1, p. 413, ISBN 2-732-1281-7. [3] W. Mitaroff et al.: Proc. Int. Conf. for Computing in High Energy and Nuclear Physics (CHEP 4), Interlaken (CH), 27 Sep. - 1 Oct. 24, CERN, Geneva 25 vol. 1, p. 272, CERN-25-2-V1. [4] T. Boccali et al., Proc. Int. Conf. for Computing in High Energy and Nuclear Physics (CHEP 3), La Jolla (USA), 24-28 March 23, SLAC, Menlo Park 23 ref. TULT12, SLAC-R-636 / econf C33241. [5] R. Frühwirth et al., Proc. Int. Conf. for Computing in High Energy and Nuclear Physics (CHEP 3), La Jolla (USA), 24-28 March 23, SLAC, Menlo Park 23 ref. TULT13, SLAC-R-636 / econf C33241. [6] R. Frühwirth et al.: Adaptive vertex fitting, Report CMS-NOTE-27-8, CERN, Geneva 27 (submitted to J.Phys.G). [7] R. Frühwirth, W. Waltenberger: Proc. Int. Conf. for Computing in High Energy and Nuclear Physics (CHEP 4), Interlaken (CH), 27 Sep. - 1 Oct. 24, CERN, Geneva 25 vol. 1, p. 28, CERN-25-2-V1. [8] W. Waltenberger, F. Moser: Proc. IEEE Nuclear Science Symposium (NSS 6), San Diego (USA), 29 Oct. - 4 Nov. 26, Report IEEE-NSS-Note-6-14 (also available on CD-ROM), IEEE 26. [9] http://www-flc.desy.de/ilcsoft/ http://lcsim.org/software/ http://lcio.desy.de/ [1] http://www.coin3d.org/ [11] M. Regler et al.: The LiC Detector Toy Program, Proc. 11 th Vienna Conf. on Instrumentation (VCI 7), 19-24 Feb. 27 Nucl.Instr.Meth. A (in print). 5

[12] http://stop.itp.tuwin.ac.at/websvn/ [13] http://www.hepforge.org/ [14] D.J. Jackson: Nucl.Instr.Meth. A 388 (1997) 247-253. http://www.physics.ox.ac.uk/lcfi/physics.html. [15] http:/belle.kek.jp/group/software/panther/ 2 Weight function w (r,t) weight 1 T.8 T=1.6.4.2 T=1 2 4 6 8 1 12 14 16 18 r 2 Fig. 1. Example of a Fermi function w i (r 2 i,t) with r cut = 3, and for T = {1,1,}, as used by the AVF. The objective function of the parameters β to be fitted is M( β) = n i=1 w i r 2 i ( β) min( β). Primary 2mm Secondary Primary 2mm swap Secondary Flightpath resolution, KVF 3 25 htemp Stats Entries 6916 Mean.1335 RMS.2598 Constant 262.6 ± 4.4 Mean.119 ±.16 Sigma.3729 ±.89 Flightpath resolution, AVF 5 4 htemp Stats Entries 9755 Mean.1993 RMS.2574 Constant 397.1 ± 6.2 Mean.1991 ±.2 Sigma.215 ±.24 Flightpath resolution, MVF 7 6 5 Stats Entries 9834 Mean.21 RMS.1639 Constant 636.8 ± 8.8 Mean.22 ±.1 Sigma.1373 ±.13 2 3 4 15 2 3 1 2 5 1 1.1.15.2.25.3 d[cm].1.15.2.25.3 d[cm].1.15.2.25.3 d[cm] Fig. 2. Performance of the multi-vertex fitter (MVF). 6

Test Events LCIO Files CMS Events Belle Events? Gun LCIO EvtGen Data Seeder VertigoEventGenerators VERTIGO CMS/LCIO/... Skin Tracks RAVE Vertices DATA FLOW Visual isation VertigoObservers Histo gramming Data Harvester Hdf/Root files Fig. 3. Functionality of the standalone framework VERTIGO. Fig. 4. The VERTIGO visualisation plug-in in action. 7