11 Sep 2007Tracking - Paul Dauncey1 Tracking Code Paul Dauncey, Imperial College London.

Slides:



Advertisements
Similar presentations
The Assembly Language Level
Advertisements

TRACK DICTIONARY (UPDATE) RESOLUTION, EFFICIENCY AND L – R AMBIGUITY SOLUTION Claudio Chiri MEG meeting, 21 Jan 2004.
Adding electronic noise and pedestals to the CALICE simulation LCWS 19 – 23 rd April Catherine Fry (working with D Bowerman) Imperial College London.
Drift Chambers at DESY and CERN Mike Green, Fabrizio Salvatore, Michele Faucci Giannelli.
Anne-Marie Magnan Imperial College London Tuesday, December18th 2007 Calice Software Review -- DESY -- A.-M. Magnan (IC London) 1 Tracking and ECAL reconstruction.
28 Feb 2006Digi - Paul Dauncey1 In principle change from simulation output to “raw” information equivalent to that seen in real data Not “reconstruction”,
Status of Tracking at DESY Paul Dauncey, Michele Faucci Giannelli, Mike Green, Hakan Yilmaz, Anne Marie Magnan, George Mavromanolakis, Fabrizio Salvatore.
March 6th, 2006CALICE meeting, UCL1 Position and angular resolution studies with ECAL TB prototype Introduction Linear fit method Results with 1, 2, 3,
1Calice-UK Cambridge 9/9/05D.R. Ward David Ward Compare Feb’05 DESY data with Geant4 and Geant3 Monte Carlos. Work in progress – no definitive conclusions.
© Imperial College LondonPage 1 Preliminary Studies of the Tracking Resolution at DESY Hakan Yilmaz.
17 May 2007LCWS analysis1 LCWS physics analysis work Paul Dauncey.
Anne-Marie Magnan Imperial College London Kobe, May 11th, 2007 Calice meeting --- Anne-Marie Magnan 1 Status of MC reconstruction MC Reconstruction Chain.
Tracking System at CERN 06 and 07 test beams Michele Faucci Giannelli.
29 Mar 2007Tracking - Paul Dauncey1 Tracking/Alignment Status Paul Dauncey, Michele Faucci Giannelli, Mike Green, Anne-Marie Magnan, George Mavromanolakis,
DATA PRESERVATION IN ALICE FEDERICO CARMINATI. MOTIVATION ALICE is a 150 M CHF investment by a large scientific community The ALICE data is unique and.
Pion test beam from KEK: momentum studies Data provided by Toho group: 2512 beam tracks D. Duchesneau April 27 th 2011 Track  x Track  y Base track positions.
1 Functions 1 Parameter, 1 Return-Value 1. The problem 2. Recall the layout 3. Create the definition 4. "Flow" of data 5. Testing 6. Projects 1 and 2.
David N. Brown Lawrence Berkeley National Lab Representing the BaBar Collaboration The BaBar Mini  BaBar  BaBar’s Data Formats  Design of the Mini 
Event Data History David Adams BNL Atlas Software Week December 2001.
11 Sep 2009Paul Dauncey1 TPAC test beam analysis tasks Paul Dauncey.
1 Calice UK Meeting 27/03/07David Ward Plans; timescales for having analysis results for LCWS Status of current MC/data reconstruction Reconstruction status;
26 Apr 2009Paul Dauncey1 Digital ECAL: Lecture 1 Paul Dauncey Imperial College London.
Organisation of the Beatenberg Trigger Workshop Ricardo Gonçalo Higgs WG Meeting - 22 Jan.09.
CaloTopoCluster Based Energy Flow and the Local Hadron Calibration Mark Hodgkinson June 2009 Hadronic Calibration Workshop.
August 26, 2003P. Nilsson, SPD Group Meeting1 Paul Nilsson, SPD Group Meeting, August 26, 2003 Test Beam 2002 Analysis Techniques for Estimating Intrinsic.
21 Jun 2010Paul Dauncey1 First look at FNAL tracking chamber alignment Paul Dauncey, with lots of help from Daniel and Angela.
7 May 2009Paul Dauncey1 Tracker alignment issues Paul Dauncey.
Feb. 7, 2007First GLAST symposium1 Measuring the PSF and the energy resolution with the GLAST-LAT Calibration Unit Ph. Bruel on behalf of the beam test.
Nigel Watson / BirminghamCALICE ECAL, UCL, 06-Mar-2006 Test Beam Task List - ECAL  Aim:  Identify all tasks essential for run and analysis of beam data.
1 Performance of a Magnetised Scintillating Detector for a Neutrino Factory Scoping Study Meeting Rutherford Appleton Lab Tuesday 25 th April 2006 M. Ellis.
19 July 2007Paul Dauncey - Software Review1 Preparations for the Software “Review” Paul Dauncey.
Positional and Angular Resolution of the CALICE Pre-Prototype ECAL Hakan Yilmaz.
© Imperial College LondonPage 1 Tracking & Ecal Positional/Angular Resolution Hakan Yilmaz.
CBM ECAL simulation status Prokudin Mikhail ITEP.
1ECFA/Vienna 16/11/05D.R. Ward David Ward Compare these test beam data with Geant4 and Geant3 Monte Carlos. CALICE has tested an (incomplete) prototype.
Photon reconstruction and matching Prokudin Mikhail.
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.
HEP Tel Aviv University LumiCal (pads design) Simulation Ronen Ingbir FCAL Simulation meeting, Zeuthen Tel Aviv University HEP experimental Group Collaboration.
3D Event reconstruction in ArgoNeuT Maddalena Antonello and Ornella Palamara 11 gennaio 20161M.Antonello - INFN, LNGS.
26 Apr 2009Paul Dauncey1 Digital ECAL: Lecture 3 Paul Dauncey, Imperial College London.
Beam Extrapolation Fit Peter Litchfield  An update on the method I described at the September meeting  Objective;  To fit all data, nc and cc combined,
ScECAL Beam FNAL Short summary & Introduction to analysis S. Uozumi Nov ScECAL meeting.
Calice Meeting Argonne Muon identification with the hadron calorimeter Nicola D’Ascenzo.
06/2006I.Larin PrimEx Collaboration meeting  0 analysis.
QM2004 Version1 Measurements of the  ->     with PHENIX in Au+Au Collisions at 200 GeV at RHIC PPG016 Figures with Final Approval Charles F. Maguire.
18 Sep 2008Paul Dauncey 1 DECAL: Motivation Hence, number of charged particles is an intrinsically better measure than the energy deposited Clearest with.
Feb. 3, 2007IFC meeting1 Beam test report Ph. Bruel on behalf of the beam test working group Gamma-ray Large Area Space Telescope.
M. Brooks, 28-Mar-02 Heavy/Light meeting 1 Muon Analysis Work Getting Code ready for first data pass - DONE Get ready for second pass on DSTs - muon identification.
Calibration algorithm and detector monitoring - TPC Marian Ivanov.
Object-Oriented Track Reconstruction in the PHENIX Detector at RHIC Outline The PHENIX Detector Tracking in PHENIX Overview Algorithms Object-Oriented.
9 Sep 2008Paul Dauncey1 Tracking software status Paul Dauncey.
1 Calice TB Review DESY 15/6/06D.R. Ward David Ward Post mortem on May’06 DESY running. What’s still needed for DESY analysis? What’s needed for CERN data.
23 Jan 2012 Background shape estimates using sidebands Paul Dauncey G. Davies, D. Futyan, J. Hays, M. Jarvis, M. Kenzie, C. Seez, J. Virdee, N. Wardle.
Rainer Stamen, Norman Gee
Michele Faucci Giannelli
Final CALICE OsC meeting: Status and summary of project
Update on the false-dead DC wire problem
C.Cheshkov 15/09/2005 Weekly Offline Meeting
Migration of reconstruction and analysis software to C++
MC ’04-’05 objectives                                                       
Beam Gas Vertex – Beam monitor
Tracking System at CERN 06 and 07 test beams
Integration and alignment of ATLAS SCT
Validating Magnets Using Beam
Chap. 7 Regularization for Deep Learning (7.8~7.12 )
M. Kezunovic (P.I.) S. S. Luo D. Ristanovic Texas A&M University
DESIGN OF EXPERIMENTS by R. C. Baker
COMP755 Advanced Operating Systems
° status report analysis details: overview; “where we are”; plans: before finalizing result.. I.Larin 02/13/2009.
Beam properties for run
Presentation transcript:

11 Sep 2007Tracking - Paul Dauncey1 Tracking Code Paul Dauncey, Imperial College London

11 Sep 2007Tracking - Paul Dauncey2 Motivation: ECAL position resolution From the analysis document submitted for LCWS These systematics were evaluated by Changing the relevant parameter in the reconstruction (or digitisation) Rerunning the relevant parts of the track reconstruction (and digitisation) Finding the resulting change to the position (and angle) resolution The reconstruction code was written specifically to support this

11 Sep 2007Tracking - Paul Dauncey3 Reconstruction code organisation Electronics to physical channel mapping Database constants to LCEvent Track finding and fitting in 1D Digitisation to make TDC values Combining two 1D tracks to a 2D track

11 Sep 2007Tracking - Paul Dauncey4 Critical features Data and MC share common input format TbTrackProducer does all “real” work TBTrackMapper code does “digital” mapping only (almost) TBTrackDigitiser puts data in the same format Database is used to store all parameters Reconstruction cuts as well as constants Ensures parameters will always be known in future All database values used are put into the LCEvent Isolates all database interactions from the rest of the reconstruction; very useful for independent code development Only TBTrackDbHandler interacts with database itself Other processors use the values found in the LCEvent Makes use of nice feature that database and event data are in same format

11 Sep 2007Tracking - Paul Dauncey5 Features for systematics studies Rerun on reconstructed data, not raw data Most of reconstruction untouched so don’t want to redo this Cannot run other reconstruction “wrongly” and get other changes which appear to be systematic under study Keeps processing time per run very short; few minutes Trivially reproducible Crucial to controlling changes during systematics studies Database constants and event data are both in LCEvent No issues of database being updated since reprocessing, etc. Does not require access to database All data in LCEvent so database not required after original reconstruction No knowledge required; no version-tagging, local copies, etc. Does not require writing new output files Original track collection replaced Rerun done on the fly and can be analysed in the same job

11 Sep 2007Tracking - Paul Dauncey6 Example of use Example: systematics due to alignment errors Run analysis with modified alignment and see effect on track resolution First processor (not normally run in reconstruction) Finds AlnConstants collection in LCEvent and modifies locally Deletes AlnConstants collection and replaces with modified version Also deletes TrackProjection collection of 1D tracks Technically nasty as LCEventImpl sets event data to be read-only; is this needed? Secondly, run TBTrackProducer exactly as previously Processor picks up modified AlnConstants values from LCEvent Produces identical format output as original with same collection name so all analysis code downstream works without modifications Similar if systematic requires digitisation First processor removes TBTrackTdcHits also in this case Run TBTrackDigitisation before TBTrackProducer

11 Sep 2007Tracking - Paul Dauncey7 Reconstruction requirements Not feasible to fully study all raw data “by hand” before a central reconstruction pass Studies which can be done on raw data Electronics to physical mapping can be checked on example runs A few runs can be used to get internal alignment and relative drift velocity Rough global positioning possible as defined by beam First reconstruction Assumes runs throughout run period have same alignment If alignment is time-dependent, then shows up as drop in efficiencies and/or worse resolution and/or lower number of matches to ECAL showers With reconstructed ECAL data; compare track projections to shower barycentres to get absolute scale of (equivalent of) drift velocity Second (and subsequent) reconstructions Put in time-dependent alignments (if needed) and correct for absolute drift velocity

11 Sep 2007Tracking - Paul Dauncey8 Reconstruction requirements (cont) Scattering contribution to track fit is energy-dependent Differ run-to-run so significant work to load database before reconstruction Actual matrices used calculated from MC so need simulation runs with a wide range of energies to work with For CERN; currently put to zero; extra inefficiencies at lowest energies Hooks available for fitting “backwards” (i.e. upstream) Used for determining beam spot size and angular divergence to put into Mokka generation Also can use beam spot, once known, as extra constraint on track fit Beam spot determination must have scattering as origin is so far upstream All this requires coordination of central reconstruction passes It is unrealistic to expect a single (or even two) reconstruction runs is enough Needs reconstruction pass start dates announced well in advance to prepare Need to allow time for several passes before next release of results

11 Sep 2007Tracking - Paul Dauncey9 MC digitisation Reseed random generator for every event Repeatable so minimise statistical fluctuations for systematic studies Currently from event number; better ideas? All parameters specified from database in SimConstants Rate of noise hits, intrinsic resolution of chambers, efficiency of chambers, alignment (to convert spatial position to TDC hit value) All information stored; digitisation is reproducible Needs at least one real data and MC reconstruction pass to know correct values to be used in MC Noise, resolution and efficiency have to be matched to real data These may depend on beam setting so potentially need different MC values for each run TBTrackProducer reconstruction code works on data and MC No potential biases due to different algorithms in data and MC

11 Sep 2007Tracking - Paul Dauncey10 Digitisation (cont) Mokka simulation has no “internal” chamber structure imposed Translation of hits to TDC values purely in TBTrackDigitisation Allows arbitrary alignment constants for MC to be chosen after Mokka; can be adjusted to agree with data without regeneration Only consistency requirement between Mokka and reconstruction geometry is in z position of chambers; these are not values which change Database alignment constants for MC digitisation and for MC reconstruction are separately specified Allows misalignment to be included in MC Run dependence means unrealistic to have parameters in steering files when reconstructing large samples of MC runs E.g. setting equivalent run number in steering file for every run  Need automated run number equivalence determined from MC file itself

11 Sep 2007Tracking - Paul Dauncey11 Conclusions Tracking is an example of a code arrangement which allows Easy and quick rerunning of reconstruction and digitisation Following first reconstruction, no database access is required Same code for almost all data and MC reconstruction This is one possible implementation model Serves as existence proof that this is feasible Not necessarily the best but some features could be reused Other aspects Several reconstruction passes will be required Timely generation and reconstruction of MC is needed for optimal reconstruction constants Data and MC reconstruction need to be produced in step to allow values to be tuned