2 Getting Started.

Slides:



Advertisements
Similar presentations
Exclusive D s Semileptonic decays using kinematic fitting.
Advertisements

Measurement of the Branching fraction B( B  D* l ) C. Borean, G. Della Ricca G. De Nardo, D. Monorchio M. Rotondo Riunione Gruppo I – Napoli 19 Dicembre.
Current Status of Hadron Analysis Introduction Hadron PID by PHENIX-TOF  Current status of charged hadron PID  CGL and track projection point on TOF.
Overview of LHCb applications and software environment LHCb software tutorial - March
1 A Preliminary Model Independent Study of the Reaction pp  qqWW  qq ℓ qq at CMS  Gianluca CERMINARA (SUMMER STUDENT)  MUON group.
CERN Tutorial, September Job Options and Printing.
Job Options and Printing 1 LHCb software tutorial - September 2011.
David N. Brown Lawrence Berkeley National Lab Representing the BaBar Collaboration The BaBar Mini  BaBar  BaBar’s Data Formats  Design of the Mini 
Level 2 ID-tracking truth association Trigger AOD discussion 13 December 2006 Ricardo Gonçalo - RHUL.
Gaudi Framework Tutorial, April Algorithm Tools: what they are, how to write them, how to use them.
Gaudi Framework Tutorial, April Job Options and Printing.
LHCb Lausanne Workshop, 21st March /12 Tracking Software for DC’06 E. Rodrigues, NIKHEF LHCb Tracking and Alignment Workshop  To do list, and done.
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.
Vanya BELYAEV Vanya BELYAEV (Syracuse) Vanya BELYAEV Tutorial Gaudi/DaVinci/LoKi/Bender.
Argonne Jamboree January 2010 Esteban Fullana AOD example analysis.
Marco Cattaneo, 15-Sep OO software plans  Major milestone (presented last June) Fully functional SICB replacement by mid-2000  How to get there?
EGEE is a project funded by the European Union under contract IST “Interfacing to the gLite Prototype” Andrew Maier / CERN LCG-SC2, 13 August.
Refitting Tracks from DST E. Rodrigues, NIKHEF LHCb Tracking and Alignment Workshop, Lausanne, 8-9th November 2006  Motivations  Step-by-step …  Current.
A New Tool For Measuring Detector Performance in ATLAS ● Arno Straessner – TU Dresden Matthias Schott – CERN on behalf of the ATLAS Collaboration Computing.
BES III reconstruction software planning for Summer 2004 BES III reconstruction software planning for Summer 2004 Li Weidong
1 SICBDST and Brunel Migration status and plans. 2 Migration Step 1: SICBMC/SICBDST split  Last LHCb week: Split done but not tested  Software week.
1 Introduction Layout of tutorial Where to find documentation.
Bologna Tutorial, April Job Options and Printing.
April 6, 2000 LHCb Event Data Model Pavel Binko, Gloria Corti LHCb / CERN 1 LHCb Software week LHCb Event Data Model Pavel Binko Gloria Corti LHCb / CERN.
1 OO Muon Reconstruction in ATLAS Michela Biglietti Univ. of Naples INFN/Naples Atlas offline software MuonSpectrometer reconstruction (Moore) Atlas combined.
1 Offline Week, October 28 th 2009 PWG3-Muon: Analysis Status From ESD to AOD:  inclusion of MC branch in the AOD  standard AOD creation for PDC09 files.
DaVinciAssociators How to relate physics objects to MC truth.
1 Selection of non-triggering muons in J/ψ  μμ events for the calibration of the Muon System 1)Offline Selection:  use of Mass Constrained Global Fit.
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
Status of Analysis Software Kanglin He For Analysis Software Group.
4/12/05 -Xiaojian Zhang, 1 UIUC paper review Introduction to Bc Event selection The blind analysis The final result The systematic error.
CERN Tutorial, September Overview of LHCb applications and software environment.
Gaudi Framework Tutorial, Algorithm Tools: what they are and how to use them.
1 A (very) preliminary study of channel pp->h->ZZ->4mu via gg fusion with CMSSW Alessandro Giacobbe Cristina Botta Daniele Trocino Relatrice: Chiara Mariotti.
Bologna Tutorial, June Overview of LHCb applications and software environment.
Status of Analysis Tools in PandaROOT K. Götzen, GSI 1.
Marco Cattaneo, 3-June Event Reconstruction for LHCb  What is the scope of the project?  What are the goals (short+medium term)?  How do we organise.
News on Rho PANDA Collaboration Meeting, Bochum K. Götzen, GSI 1.
Marco Cattaneo, Milano, 27th September Brunel status and plans Status of commissioning Forthcoming improvements Conventions.
Starting Analysis with Athena (Esteban Fullana Torregrosa) Rik Yoshida High Energy Physics Division Argonne National Laboratory.
An AOD analysis example Esteban Fullana Torregrosa High Energy Physics Division Argonne National Laboratory.
HYDRA Framework. Setup of software environment Setup of software environment Using the documentation Using the documentation How to compile a program.
Susanna Costanza - Pavia Group PANDA C.M., Stockholm – June 14, 2010
AOD example analysis Argonne Jamboree January 2010
Measuring the B+→J/ψ (μμ) K+ Channel with the first LHC data in Atlas
Erik Devetak Oxford University 18/09/2008
The Generator Phase in Gauss
DecayTreeTuple – an update (v2r3p1)
Migration of reconstruction and analysis software to C++
P0D reconstruction/analysis update
MINERVA Z Mass Exercise
Physics Software Towards first Physics data Reconstruction Alignment
Eduardo Rodrigues, Chris Parkes University of Glasgow
Layout of tutorial Where to find documentation
Theoretical Motivation Analysis Procedure Systematics Results
Global PID MICE CM43 29/10/15 Celeste Pidcott University of Warwick
LHCb Software Tutorial
OO Muon Reconstruction in ATLAS
Check of Lambda Simulations in TOF-West
KLOE General Meeting - LNF March,
Data Analysis in Particle Physics
Data Persistency Solution for LHCb
SICB under CMT Why? What is CMT? How to work with CMT? Package layout
Update on LHCb Level-1 trigger
Introduction to Athena
Muon Group Software Report
2 Getting Started.
Contents First section: pion and proton misidentification probabilities as Loose or Tight Muons. Measurements using Jet-triggered data (from run).
2 Getting Started.
Layout of tutorial Where to find documentation
Presentation transcript:

2 Getting Started

DaVinci Packge DaVinci is a “shell” of Gaudi like, for example, Brunel. All package and directory structure is familiar. The “end-user” just programs Algorithms and Tools. All “familiar” services are available Job options. Histograming. Messaging. …… DaVinci takes care of data reading and package initializations that are of common use. DaVinci contains a library of tools that are of common need See next talks…. DaVinci Tutorial

Interface with Brunel Brunel writes a OO-DST (currently a ROOT file). DaVinci reads the OOT-DST. It is programmed fully in C++ It is based on the new Physics Event Model Generic tools (vertexer, Kinematic Filter, etc…) are in C++ “Everybody” should learn C++ (or at least a little) Brunel DaVinci ROOT Perform Analysis (vertexing, new particles, cuts, …) Subsystem reconstruction Global reconstruction (matching, PID) Particles ProtoParticles DaVinci Tutorial

ProtoParticles ProtoParticles are the starting point of the Physics Analysis ProtoParticles are the end product of the reconstruction They cannot be changed by the physics analysis ProtoParticles have all the links to the reconstruction information used to produce them They are LHCb specific and via this link can know about all detector related information They are heavy and most likely a moving class ProtoParticles have a list of valid particleID hypothesis with their probability. No particle ID is chosen at this point different analysis will want to do it differently ProtoParticles have charge and measured kinematic information A specific particleID is necessary to have all the four momentum components. DaVinci Tutorial

Particles and ProtoParticles A physics analysis does not interact “directly” with a ProtoParticle but with a Particle It is possible to navigate back to the originating ProtoParticle A Particle has ONE chosen particle ID A physics analysis starting from DST files have a pre-processing stage to make Particles from ProtoParticles according to some “picking” criteria. Different particles can originate from the same ProtoParticle e+ p+ m - m+ For ex: all pions with CL > 40% and all muons where muonID has the highest CL “1” “2” “3” “4” DaVinci Tutorial

Particles Particles originate either from ProtoParticles or from other Particles They contain detector independent information only GenParticles and MCParticles are uncorrelated classes. In order to use Particle Tools, an interface will be provided to populate Particle classes with GenParticles or MCParticles ParticleID particleID according to PDG convention double charge HepLorentzVector momentum HepSymMatrix covariance HepPoint3D pointOnTrack at which the momentum is given DaVinci Tutorial

Tools Needed A creator of Particles from ProtoParticles: PhysDesktop A Particle Filter Interface and several implemntations: PIDFilter KinematicalFilter ….. Vertexing algorithms, included constrained and unconstrained fit and the possibility to use the daughters in the vertexing. Tools to compute Geometrical variables Impact parameter Distance between vertexes and particles. …. Particle transporter: Transports a particle to a given z Particle stuffer: create “consistent” particles from daughters Decay finders and Channel Selection Algorithms. MCDecay finder Debugging tool Associators Tagging DaVinci Tutorial

(vertexing, PhysDesktop, etc…) Phys packages Phys DaVinci DaVinciSicb (will disappear soon) FlavourTagging DaVinciTest DaVinciAssociators DaVinciMCTools (Check with MC truth…) DaVinciTools (vertexing, PhysDesktop, etc…) DaVinciUser PhysSelections (User development…) DaVinci Tutorial

First Try Get the Gaudi Package Go to the cmt directory Execute Go to the job directory Execute (xxx the dbs verstion to use) (the current version will run the J/Psi K0s selection algorithm) getpack Phys/DaVinci v4r2 source setup.csh gmake DaVinci.job vxxx DaVinci Tutorial

Options File Important lines in DaVinci EventSelector.Input= ..., which selects the input file NTupleSvc.Output= ..., which selects the output ntuple file HistogramPersistencySvc.OutputFile= ..., which select the output hitogram file ApplicationMgr.TopAlg+= ... lines, which configure the algorithms to run. Selection cuts and other variables are steered in the corresponding algorithms DaVinci Tutorial

Developing an Algorithm An “end user” will usually develop algorithms that will user DaVinci Tools Algorithm::Algorithm{ declareProperty{“CutName”,cutVariable=defaultvalue); } Algorithm::initialize{ Initialize all needed tools and services; Histograms; Algorithm::execute{ Next slide Algorithm::finalize{ Final statistics Recommended to make all analysis variable cuts available in job options. DaVinci Tutorial

The Execute Member Function Create Particles from ProtoParticles according to some criteria (ex: all possible Kaons and Pions) (PhysDesktop) Note: it can also start from particles from a previous algorithm. Make possible particle combinations and vertex them (VertexingTools) Apply some cuts to the “new” particle candidate (ex: Inv mass, ch2 of vertex, etc…) If candidate is selected, create a new particle and vertex; give it a name and create all relations(for example a J/Psi) Filter particles and classify them in different “containers” in the transient store (ex: K+,K-,pi+,pi-) (ParticleFilter) Make sure the new particle is saved for use in the next algorithm DaVinci Tutorial

A “Possible” Example Bo J/Y f Two options: m+ K- m- A selection algorithm that makes vertexes of 4 particles with some cuts in the invariant mass of the lepton and Kaon Pairs Three algorithms called in sequence Bo Particle Make a 4 particle vertex with some constraints?? J/Y f Vertex m+ K- m- K+ DaVinci Tutorial

A “Possible” Example (cont’d) Bo All are particle pairs with “roughly” the same algorithmic sequence Select two particles with some PiD Make a vertex Cut in some mass window and some “Geometrical variables Use a swich for additional cuts in “decaying vertex point distance of daughters” Use the daughters for the B vertex J/Y f m+ K- m- K+ Can program a Select2ParticleDecay algorithm with carefully selected option DaVinci Tutorial

The Options Files The same algorithm could be configured for B p+p-... In DaVinci.opts file ApplicationMgr.TopAlg+={Slect2ParticleDecay/SelectJPsi}; ApplicationMgr.TopAlg+={Slect2ParticleDecay/SelectPhi}; ApplicationMgr.TopAlg+={Slect2ParticleDecay/SelectB0JPsiPhi}; SelectJPsi.opts, SelectPhi.opts and SelectB0JPsiPhi.opts SelectXXXXX.MassWindowLoose = zzz; SelectXXXXX.DaughterCandidates= {“Part1”,”Part2”}; SelecXXXXX.ZWindow = zzz; SelectXXXXX.Chi2UncFitCut = zzz; SelectXXXXX.ImpParamMother = zzz; ……………… SelectXXXXX.MotherPArticleName= {“Mother”}; The same algorithm could be configured for B p+p-... DaVinci Tutorial

Status and “Homework” DaVinci version v4r2 is available Try it and “learn” Plan that next version of DaVinci does not support Sicb anymore Nevertheless, the software you have written will not change Only the ProtoParticles will change. From then on everything remains the same As soon as different Physics Selection become “official”, they will be included in the PhysSelection package DaVinci Tutorial