1 Vertexing How To (and flavour tagging/vertex charge!) Ben Jeffery Oxford University (on behalf of the LCFI collaboration)

Slides:



Advertisements
Similar presentations
ILC Software and Physics Workshop, Cambridge, 4 th April 2006Overview of the LCFI Vertex PackageSonja Hillert (Oxford)p. 0 Overview of the LCFI Vertex.
Advertisements

Towards a C++ based ZVTOP Ben Jeffery (Oxford) LCFI Collaboration ZVTOP Introduction Motivation Progress Plans & Release Schedule.
LCUK Meeting, 26 th September 2006Sonja Hillert (Oxford)p. 0 LCFI Simulation and Physics Studies LCUK Meeting, Durham, 26 th September 2006 Sonja Hillert.
Taikan Suehara et al, ILC Tokusui Workshop, 17 Dec page 1 Taikan Suehara (Kyushu) Tomohiko Tanabe (Tokyo) LCFIPlus status and plan.
LCFI physics studies meeting, 28 th June 05 Sonja Hillertp. 1 Report from ILC simulation workshop, DESY June Aim of workshop: preparation for Snowmass;
Ties Behnke, Vasiliy Morgunov 1SLAC simulation workshop, May 2003 Pflow in SNARK: the next steps Ties Behnke, SLAC and DESY; Vassilly Morgunov, DESY and.
LCFI Collaboration meeting, 8 May 2007Sonja Hillert p. 0 Some input distributions from LC-PHSM most sensitive input variables for the flavour.
Org.lcsim ILC Reconstruction and Analysis Tony Johnson SLAC March 2005.
LCFI Collaboration Meeting, RAL, 6 th March 2007Sonja Hillert (Oxford)p. 0 WP 1 – Simulation and Physics Studies Overview of recent progress LCFI Collaboration.
1 Ghost Trackers If there’s something strange (or charm or bottom) in your neighbourhood… Dave Jackson Oxford University / RAL LCFI Collaboration 28 th.
Lcsim A Java-based Reconstruction package for Particle Physics Tony Johnson on behalf of Norman Graf SLAC Scientific Computing Workshop June
1 Higgs Self-Coupling Analysis – How To Tim Barklow SLAC October 25, 2007.
LCIO A persistency framework for LC detector simulation studies Frank Gaede, DESY, IT 4 th ECFA/DESY LC Workshop Amsterdam April 1 st -4 th 2003.
E. Devetak - LCWS t-tbar analysis at SiD Erik Devetak Oxford University LCWS /11/2008 Flavour tagging for ttbar Hadronic ttbar events ID.
ALCPG Simulation Status and Plans ECFA LC Workshop, Durham Sep. 2, 2004 Norman Graf (SLAC)
ALCPG Simulation Status and Plans ACFA LC Workshop, Taipei Nov. 10, 2004 Norman Graf (SLAC)
2007 International Linear Collider Workshop, DESY, 2 nd June 2007Sonja Hillert (Oxford) p. 0 The LCFIVertex package Sonja Hillert (Oxford) on behalf of.
LCWS 2004, ParisSonja Hillert, University of Oxfordp. 1 Flavour tagging performance analysis for vertex detectors LCWS 2004, Paris Sonja Hillert (Oxford)
Org.lcsim Reconstruction and Analysis framework for ILC Detectors Tony Johnson SLAC July 2006.
Implementing a dual readout calorimeter in SLIC and testing Geant4 Physics Hans Wenzel Fermilab Friday, 2 nd October 2009 ALCPG 2009.
20 June 2005Sonja Hillertp. 1 A M J J A S O N D J F M FY 05 / 06 FY 06 / 07 FY 07 / 08FY 08 / 09FY 09 / GEANT work 1.2 charge generation.
The LCFI Vertex Package Details and Testing Ben Jeffery Oxford University on behalf of the LCFI collaboration.
1 Realistic top Quark Reconstruction for Vertex Detector Optimisation Talini Pinto Jayawardena (RAL) Kristian Harder (RAL) LCFI Collaboration Meeting 23/09/08.
Status of LCFIVertex K. Ikematsu, A. Miyamoto (KEK) H. Ono (Nippon Dental University) Y. Takubo, K. Yoshida (Tohoku University) T. Suehara, T. Tanabe (University.
BeamCal Simulations with Mokka Madalina Stanescu-Bellu West University Timisoara, Romania Desy, Zeuthen 30 Jun 2009 – FCAL Meeting.
Using JAS3 for LCD Analysis Tony Johnson 20 th May 2003.
E. Devetak – CERN CLIC1 LCFI: vertexing and flavour-tagging Erik Devetak Oxford University CERN-CLIC Meeting 14/05/09 Vertexing Flavour Tagging Charge.
Sim/Recon DBD Editors Report Norman Graf (SLAC) Jan Strube (CERN) SiD Workshop SLAC, August 22, 2012.
ECFA ILC workshop, Valencia, 9 th November 2006Sonja Hillert (Oxford)p. 0 Overview of the LCFI Vertex Package ILC workshop, Valencia, 6 – 10 November 2006.
RAVE – a detector-independent vertex reconstruction toolkit W. Waltenberger, F. Moser, W. Mitaroff Austrian Academy of Sciences Institute of High Energy.
Vertex 2008, Utö Island, Sweden, 30 th July 2008Sonja Hillertp. 0 The LCFIVertex package Sonja Hillert (University of Oxford) Vertex th International.
LCFI Package and Flavour 3TeV Tomáš Laštovička Institute of Physics AS CR CLIC WG3 Meeting 9/6/2010.
Vertex finding and B-Tagging for the ATLAS Inner Detector A.H. Wildauer Universität Innsbruck CERN ATLAS Computing Group on behalf of the ATLAS collaboration.
1 Calorimetry Simulations Norman A. Graf for the SLAC Group January 10, 2003.
CBM ECAL simulation status Prokudin Mikhail ITEP.
Vertex Detector Review, Fermilab, 25 th October 2007Sonja Hillert (Oxford) p. 0 LCFI Report to the ALCPG 2007 Vertex Detector Review Sonja Hillert (Oxford.
LCIO A persistency framework and data model for the linear collider CHEP 04, Interlaken Core Software, Wednesday Frank Gaede, DESY -IT-
ILC Software and Tools workshop LAL-Orsay, 3 rd May 2007Sonja Hillert (Oxford) p. 0 The LCFIVertex package Sonja Hillert (Oxford) on behalf of the LCFI.
Benchmarking Tracking & Vertexing Andrei Nomerotski (Oxford) SiD Tracking Meeting, 7 December 2007.
Jet Tagging Studies at TeV LC Tomáš Laštovička, University of Oxford Linear Collider Physics/Detector Meeting 14/9/2009 CERN.
Ties Behnke: Event Reconstruction 1Arlington LC workshop, Jan 9-11, 2003 Event Reconstruction Event Reconstruction in the BRAHMS simulation framework:
1 Software tools in Asia Akiya Miyamoto KEK 18-March-2005 Simulation and Reconstruction Session LCWS2005 Representing acfa-sim-j activity M.C.Chang 1,K.Fujii.
E. Devetak - IOP 081 Anomalous – from tools to physics Erik Devetak Oxford - RAL IOP 2008 Lancaster‏ Anomalous coupling (Motivation – Theory)
TILC08 workshop, Sendai 4 th March 2008Sonja Hillert (Oxford) p. 0 LCFI Vertex Package: Parameter Optimisation Sonja Hillert (Oxford) on behalf of the.
LCFI Oversight Committee Meeting, 12 th July 2006Sonja Hillert (Oxford)p. 0 WP 1 – Simulation and Physics Studies LCFI Oversight Committee Meeting, 12.
1 Studies of Heavy Flavour Jet Tagging with ZVTOP in JAS3 Overview Jet flavour tagging in JAS3 Cosθ dependence Primary vertex momentum Use of neutral energy.
E. Devetak - SiD Meeting RAL 081 Anomalous – from tools to physics Erik Devetak Oxford - RAL SiD 04/2008 Abingdon‏ Anomalous coupling (Motivation.
ILD Optimisation Meeting, 21 st May 2008Sonja Hillert (Oxford)p. 0 LCFIVertex: suggestions for input to DST files  Introduction  Minimal flavour tag.
Sonja Hillert, University of Oxford 2 nd ECFA LC workshop, Durham, 2 nd September 2004 p. 0 Recent results on vertex charge reconstruction Sonja Hillert.
1 SLAC simulation workshop, May 2003 Ties Behnke Mokka and LCDG4 Ties Behnke, DESY and SLAC MOKKA: european (france) developed GEANT4 based simulation.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
ECAL Interaction layer PFA Template Track/CalCluster Association Track extrapolation Mip finding Shower interaction point Shower cluster pointing Shower.
1 LCFIVertex tutorial – Neural Net Tagging Mark Grimes – University of Bristol (Orsay ) On behalf of the LCFI Collaboration.
SiD Benchmarking Status
GEANT4 for Future Linear Colliders
Erik Devetak Oxford University 18/09/2008
Erik Devetak Oxford University SiD Workshop 24/02/2009
Comments from MarlinReco users in Asia
Tools for optimising and assessing the performance
slicPandora: slic + pandoraPFANew
ILC Software Meeting, Orsay 05/07
Individual Particle Reconstruction
Linear Collider Simulation Tools
Mar 2-7 Sendai Satoru Uozumi (Kobe University)
Jupiter and Satellites
2 Getting Started.
2 Getting Started.
Linear Collider Simulation Tools
Java Analysis Studio and the hep.lcd classes
ZHH Analysis preliminary results on different detector models
Presentation transcript:

1 Vertexing How To (and flavour tagging/vertex charge!) Ben Jeffery Oxford University (on behalf of the LCFI collaboration)

2 Outline Two vertexing algorithms, flavour tagging and vertex charge measurement are available from the LCFI Vertex Package Current release runs in the Marlin framework, but can be driven with input from MarlinReco and org.lcsim as all interfaces are LCIO Use of package directly from java in development (proof of principle demonstrated) The questions I hope to answer: –Where’s all this documented? –How do I make the input to vertexing? –How do I make vertices and tags? –How do I access the vertices and tags? –How do I look at the vertices? –Where are the known potential slip-ups?

3 What’s in the package? Ten modular parts (Processors in Marlin, drivers in org.lcsim): In run order: ♦ TrueJetFlavour- Determine MC flavour and charge of reconstructed jets ♦ RPCut- Select ReconstructedParticles based on Track parameters, number of hits etc. ♦ PerEventIPFitter- Find the event IP ♦ ZVTOPZVRES- Find secondary vertices topologically ♦ ZVTOPZVKIN- Find secondary vertices kinematically ♦ FlavourTagInputs- From vertices and tracks calculate discriminating variables for the neural net ♦ FlavourTag- Calculate network output (tag value) ♦ VertexCharge- Calculate charge of decaying hadron (next release) ♦ LCFIAIDAPlot- Create AIDA file with many diagnostic plots (next release) ♦ NeuralNetTrainer- Train networks The example steering files combine these to make the Hawking’s bc tagging procedure (LC- PHSM ) parameters for these from previous Brahms study. Documentation is in “LCFIVertex/doc” in the form of doxygen generated web pages, the Processor class pages are a good starting point. There are also several extra pages of explanatory prose under “related pages” Code and docs at:

4 Combining the processors Flow diagram for example steering In “LCFIVertex/steering” Boxes = Processors Ellipses = LCIO Collections Example steering files split into modular chunks: 1.truejetflavour.xml 2.ipfit.xml 3.zvres.xml 4.fti.xml 5.ft.xml But first we need an input….

5 Vertexing Event Generation Detector Simulation Digitisation PFA Tracking Jet Finding Tagging Vertexing Analysis Vertexing at the bottom of the reconstruction food chain! –Very sensitive to quality of input tracks –Correct track covariance matrices particularly important –Need to understand tracking and digitisation codes well Many thanks to the responsive MarlinReco and org.lcsim developers (esp Alexei Raspereza and Norman Graf) Vertexing and tagging performed on jet basis so good jet finding also needed Now possible using input from both MarlinReco and org.lcim through the magic of LCIO Will detail process with MarlinReco input, then mention details of using org.lcsim input

6 Making Tracks (Mokka/MarlinReco) The output from Mokka needs to go through several stages in MarlinReco to produce input suitable for the vertexing. An example steering file to perform the simplest reconstruction with cheated tracks and clusters is included in the vertex package: “LCFIVertex/steering/cheattracks+jetfind.xml” bin/cvsweb.cgi/~checkout~/LCFIVertex/steering/cheattracks%2bjetfind.xml?rev=1.1;content- type=text%2Fplain;cvsroot=marlinrecohttp://www-zeuthen.desy.de/lc-cgi- bin/cvsweb.cgi/~checkout~/LCFIVertex/steering/cheattracks%2bjetfind.xml?rev=1.1;content- type=text%2Fplain;cvsroot=marlinreco Full tracking is available with FullLDCTracking see “MarlinReco/doc/FullLDCTracking_Manual.pdf” bin/cvsweb.cgi/~checkout~/MarlinReco/doc/FullLDCTracking_Manual.pdf?rev=1.1;content- type=text%2Fplain;cvsroot=marlinrecohttp://www-zeuthen.desy.de/lc-cgi- bin/cvsweb.cgi/~checkout~/MarlinReco/doc/FullLDCTracking_Manual.pdf?rev=1.1;content- type=text%2Fplain;cvsroot=marlinreco Both work well with some caveats: Digitisation PFA Tracking Jet Finding

7 Only the cvs head of MarlinReco gives quality tracks for vertexing from both TrackCheater and LDCFullTracking. Only LDC01Sc currently fully supported –Issues with TPC digitisation and VXD ladders SatoruJetFinderProcessor has limit of 300 particles –Low momentum cut used as un-ideal work around Geometry information from GEAR xml file must be correct –MokkaGEAR improvements in cvs head to automate this Very active development, tests of vertexing software lead to several bug fixes – mostly to do with track covariance matrices Making Tracks (Mokka/MarlinReco) Fake high impact parameter tracks TrackCheater Bug Fix

8 Finding the truth and the IP Now we have jets we start using the vertex package: Jets are reconstructed objects so determination of MC flavour and charge needs a little work TrueAngularJetFlavourProcessor Matches direction of MC heavy flavour and jets Output to LCIntVec collection of PDG codes of initial parton and its charge Some versions of Mokka have broken MC tree information: onwards known to work Need to find IP before finding secondaries PerEventIPFitter Tear down fitter of event tracks Output to Vertex collection Long run time (fixed in imminent release) Fit Tracks Reached probability threshold? Remove track with highest chi squared Input Tracks Done yes no Jet MC B

9 Find secondary vertices ZVRES is the standard for vertexing in the package. Many previous talks explaining principles Input is collection of ReconstructedParticle jets and an IPVertex (default is a manually set IP) Output is three collections: –VertexFound vertices –ReconstructedParticleTracks in vertices –ReconstructedParticleDecay chain –For details of how these work see my Orsay workshop talk: resId=1&materialId=slides&confId= resId=1&materialId=slides&confId=1446 Badly formed tracks can cause very long execution times (fix planned) Primary vertex in ZVTOP result is a copy of the input IP, not the one produced by the algorithm

10 Running the neural net The LCFloatVec is read in and fed to a neural net FlavourTagProcessor Output is collection of LCFloatVec, named in the run header Trained nets can be downloaded from special cvs at None yet trained on ILC full simulation Hawkings method calls for 9 different nets – explained in LC-PHSM Calculating discriminating variables for flavour tag The vertices (if any) and tracks are used to calculate a set of discriminating variables – see Orsay talks for details FlavourTagInputsProcessor Output is a collection of LCFloatVec, named in the run header.

11 General Comments So if you have a recent Mokka file all this should be as simple as: Marlin cheattracks+jetfind.xml Marlin truejetflavour.xml Marlin ipfit.xml Marlin zvres.xml Marlin fti.xml Marlin ft.xml Of course these could be combined in one steering file. Currently LDC VXD00 geometry hard coded into fiducial cut (fix using GEAR in development) V0’s are cheated, and there is no treatment of photon conversions yet. As the processors use LCIO run header information “SkipNEvents” in Marlin causes problems as the header can be skipped.

12 How do I get at the vertex and tagging information? With standard LCIO calls This is explained in the documentation at: pnp.physics.ox.ac.uk/~hillert/VP/LCFIVertex-v00-01/LCIO.htmlhttp://www- pnp.physics.ox.ac.uk/~hillert/VP/LCFIVertex-v00-01/LCIO.html It’s as easy as this in your analysis processor’s processEvent(): –plus a little in the processHeader() lcio::LCCollection* pInputs=pEvent->getCollection( _FlavourTagInputsCollectionName ); LCFloatVec* FTInputs = dynamic_cast ( pInputs->getElementAt(0) ); double SecProb = (*FTInputs)[IndexOf["SecondaryVertexProbability"]]; double VertexMass = (*FTInputs) [IndexOf[“PTCorrectedMass"]]; Getting at tracks in vertices is a tiny bit more work – a code example is at the link above.

13 Bridging the Atlantic Using the package from within Java is being developed. (JNI) Currently can be used in Marlin with org.lcsim generated LCIO file as input! Only need to install Marlin + LCFIVertex (MarlinReco not needed) Currently only tested with org.lcsim.mc.fast.tracking.MCFastTracking See example in JAS (Help -> Examples -> org.lcsim) Use head version of org.lcsim - generates LCRelations needed to use MCParticle information Minimal changes to example steering needed Rename input collections to match those generated by org.lcsim Disable cut based on sub-detector hit numbers array as it is not filled – hence out of array bounds crash (fix planned) In future will need GEAR file of vertex detector geometry for fiducial cut – should be simple conversion from compact.xml

14 Bridging the Atlantic - display Whether the reconstruction was performed in org.lcsim, Marlin or a mix the physics analysis can be performed in JAS and visualised using WIRED4: org.lcsim tracking/Marlin vertexing vertices in the most recent release of WIRED4

15 LCFIVertex Bridging the Atlantic - Comparison Studies The possibilities afforded by LCIO enable running the same events in both EU and US frameworks with the same vertexing code. Identical analysis using the ReconstructedParticles from both frameworks Can choose c++ or java for analysis stdhep java / USc++ / EU slicmokka org.lcsimMarlinReco LCFIVertex JAS/AIDA GEAR compact.xml w/ GeomConverter

16 Release Schedule and future plans Soon after this workshop –Kalman fitter from CBM experiment to replace slow iterative fitter –Bug fixes –Documentation update –Separate VertexCharge processor –New comprehensive diagnostic plot processor Beyond –GEAR for fiducial cut –V0, photon conversion treatment –Charge dipole technique

17 Backup Slides

18 Storage Of Vertexing Result ZVTOP Produces “Decay Chains” – sets of one or more vertices eg: IP In LCIO each Vertex has an accompanying ReconstructedParticle which represents the decaying particle. This holds kinematic information. Each ReconstructedParticle points to its “startVertex”. 23 Accompanying Reconstructed Particle Vertex Reconstructed Particle (track) 4567 IP 1

19 Storage Of Vertexing Result IP If these are in the same event they share the IP Vertex: ReconstructedParticle representing decay chain points to all tracks in that chain (one for each jet) Result is three collections: Vertices DecayChainTracks DecayChains Code examples of accessing this information are in the documentation Accompanying Reconstructed Particle Vertex Reconstructed Particle (track) Reconstructed Particle (decay chain) IP 23 1

20 Fast MC Testing Initially needed to run identical results through legacy FORTRAN code (embedded in fast MC SGV) and Marlin vertex package. LCIO’s FORTRAN interface made this very easy: LCIO Tracks + FORTRAN Result SGV Vertex Package within Marlin LCIO Tracks + FORTRAN Result Marlin Result Just add a couple of header files to the SGV code – enabled detailed debugging of ZVTOP. Interface code given SGV author (Mikael Berggren) and has since been used for other studies.