Claudio Grandi INFN-Bologna CHEP 2000Abstract B 029 Object Oriented simulation of the Level 1 Trigger system of a CMS muon chamber Claudio Grandi INFN-Bologna.

Slides:



Advertisements
Similar presentations
Michigan State University 4/15/ Simulation for Level 2 James T. Linnemann Michigan State University NIU Triggering Workshop October 17, 1997.
Advertisements

M. D'Amato, M. Mennea, L.Silvestris INFN-Bari CMS Data Model 9-11 Aprile 2001, Catania I Workshop INFN Grid CMS DATA MODEL M. D’Amato, M. Mennea, L. Silvestris.
CMS HLT production using Grid tools Flavia Donno (INFN Pisa) Claudio Grandi (INFN Bologna) Ivano Lippi (INFN Padova) Francesco Prelz (INFN Milano) Andrea.
Andreas Morsch CERN/ALICE 3rd LHC Computing WorkshopMarseille, September 30, 1999 Base Classes for Simulation The ALICE Simulation Strategy Andreas Morsch.
20 Feb LVL1 muon trigger simulation meeting1 the OO codes for endcap muon trigger simulation Hisaya Kurashige KOBE Univ.
6/4/20151 Introduction LHCb experiment. LHCb experiment. Common schema of the LHCb computing organisation. Common schema of the LHCb computing organisation.
Upgrading the CMS simulation and reconstruction David J Lange LLNL April CHEP 2015D. Lange.
David Adams ATLAS DIAL Distributed Interactive Analysis of Large datasets David Adams BNL March 25, 2003 CHEP 2003 Data Analysis Environment and Visualization.
St Testing, Simulation and Monitoring (actually mostly simulation) Stephen Hillier Joint Meeting, Mainz, June 2001.
Reconstruction and Analysis on Demand: A Success Story Christopher D. Jones Cornell University, USA.
25/03/2003Simulation Application for the LHCb Experiment CHEP March 2003 Presented by: W. Pokorski / CERN Authors: I. Belyaev, Ph. Charpentier,
CHEP03 - UCSD - March 24th-28th 2003 T. M. Steinbeck, V. Lindenstruth, H. Tilsner, for the Alice Collaboration Timm Morten Steinbeck, Computer Science.
L.M.Barone – INFN Rome October 2000 ACAT FNAL Management of Large Scale Data Productions for the CMS Experiment Presented by L.M.Barone Università.
2/10/2000 CHEP2000 Padova Italy The BaBar Online Databases George Zioulas SLAC For the BaBar Computing Group.
Shuei MEG review meeting, 2 July MEG Software Status MEG Software Group Framework Large Prototype software updates Database ROME Monte Carlo.
Bologna, 10/04/2003 Workshop on LHC Physics with High P t Muon in CMS R.Travaglini – INFN Bologna Status of Trigger Server electronics Trigger boards TB.
Introduzione al Software di CMS N. Amapane. Nicola AmapaneTorino, Aprile Outline CMS Software projects The framework: overview Finding more.
Finnish DataGrid meeting, CSC, Otaniemi, V. Karimäki (HIP) DataGrid meeting, CSC V. Karimäki (HIP) V. Karimäki (HIP) Otaniemi, 28 August, 2000.
Requirements for a Next Generation Framework: ATLAS Experience S. Kama, J. Baines, T. Bold, P. Calafiura, W. Lampl, C. Leggett, D. Malon, G. Stewart, B.
Efficiency of the CMS Level-1 Trigger to Selected Physics Channels by: Corey Sulkko Faculty Mentor: prof. Darin Acosta Funded by: National Science Foundation.
5 May 98 1 Jürgen Knobloch Computing Planning for ATLAS ATLAS Software Week 5 May 1998 Jürgen Knobloch Slides also on:
ALICE Simulation Framework Ivana Hrivnacova 1 and Andreas Morsch 2 1 NPI ASCR, Rez, Czech Republic 2 CERN, Geneva, Switzerland For the ALICE Collaboration.
ALICE, ATLAS, CMS & LHCb joint workshop on
Fabiola Gianotti, 31/8/’99 PHYSICS and SOFTWARE ATLAS Software Week 31/8/’99 Fabiola Gianotti Software requirements of physics groups What should Detector.
Andreas Morsch, CERN EP/AIP CHEP 2003 Simulation in ALICE Andreas Morsch For the ALICE Offline Project 2003 Conference for Computing in High Energy and.
The ALICE Simulation Strategy Andreas Morsch For the ALICE Offline Group Joint STAR/ALICE Offline Meeting Brookhaven National Laboratory, Upton, NY April.
A Technical Validation Module for the offline Auger-Lecce, 17 September 2009  Design  The SValidStore Module  Example  Scripting  Status.
Introduction CMS database workshop 23 rd to 25 th of February 2004 Frank Glege.
Databases in CMS Conditions DB workshop 8 th /9 th December 2003 Frank Glege.
Introduction to CMSSW Framework Concepts Simulation & Reconstruction Liz Sexton-Kennedy January 10, 2008.
The CMS Simulation Software Julia Yarba, Fermilab on behalf of CMS Collaboration 22 m long, 15 m in diameter Over a million geometrical volumes Many complex.
Atlas CHEP‘2000 Padova, ITALY February 2000 Implementation of an Object Oriented Track Reconstruction Model into Multiple LHC Experiments.
June 29, 2000DOE/NSF USCMS Computing and Software Report. HLT Studies D. Acosta1 High-Level Trigger Studies Darin Acosta University of Florida DOE/NSF.
0 Fermilab SW&C Internal Review Oct 24, 2000 David Stickland, Princeton University CMS Software and Computing Status The Functional Prototypes.
September 2007CHEP 07 Conference 1 A software framework for Data Quality Monitoring in ATLAS S.Kolos, A.Corso-Radu University of California, Irvine, M.Hauschild.
07/10/99 Focus Meeting1 Review of application software services for LHC era Lucia Silvestris Lucia Silvestris Cern/CMC -Infn/Bari.
GLAST LAT Offline SoftwareCore review, Jan. 17, 2001 Review of the “Core” software: Introduction Environment: THB, Thomas, Ian, Heather Geometry: Joanne.
CHEP /21/03 Detector Description Framework in LHCb Sébastien Ponce CERN.
Computing R&D and Milestones LHCb Plenary June 18th, 1998 These slides are on WWW at:
Online Monitoring System at KLOE Alessandra Doria INFN - Napoli for the KLOE collaboration CHEP 2000 Padova, 7-11 February 2000 NAPOLI.
S t a t u s a n d u pd a t e s Gabriella Cataldi (INFN Lecce) & the group Moore … in the H8 test-beam … in the HLT(Pesa environment) … work in progress.
USCMS Physics, May 2001Darin Acosta1 Status Report of PRS/  D.Acosta University of Florida Current U.S. activities PRS/  Activities New PRS organization.
ATLAS Distributed Computing perspectives for Run-2 Simone Campana CERN-IT/SDC on behalf of ADC.
Vincenzo Innocente, CERN/EPUser Collections1 Grid Scenarios in CMS Vincenzo Innocente CERN/EP Simulation, Reconstruction and Analysis scenarios.
Object Oriented reconstruction of the CMS muon chambers CHEP February, Padova Annalina Vitelli - INFN Torino.
7 Feb 2000CHEP '00. CMS/ORCA. Abstract A108. D.Stickland1 Object Reconstruction for CMS Analysis The Design Implementation and Deployment of a Functional.
XTRP Software Nathan Eddy University of Illinois 2/24/00.
Hans Wenzel CDF CAF meeting October 18 th -19 th CMS Computing at FNAL Hans Wenzel Fermilab  Introduction  CMS: What's on the floor, How we got.
VI/ CERN Dec 4 CMS Software Architecture vs Hybrid Store Vincenzo Innocente CMS Week CERN, Dec
Object-Oriented Track Reconstruction in the PHENIX Detector at RHIC Outline The PHENIX Detector Tracking in PHENIX Overview Algorithms Object-Oriented.
FTK high level simulation & the physics case The FTK simulation problem G. Volpi Laboratori Nazionali Frascati, CERN Associate FP07 MC Fellow.
Mar 05 - hvdsOffline / HLT1  Athena SW Infrastructure  programming + applying tools wrt. dependencies between packages  developing + testing extra ideas.
GUIDO VOLPI – UNIVERSITY DI PISA FTK-IAPP Mid-Term Review 07/10/ Brussels.
KID - KLOE Integrated Dataflow
(on behalf of the POOL team)
CMS High Level Trigger Configuration Management
Migration of reconstruction and analysis software to C++
ALICE analysis preservation
Controlling a large CPU farm using industrial tools
Muon stopping target optimization
The ZEUS Event Store An object-oriented tag database for physics analysis Adrian Fox-Murphy, DESY CHEP2000, Padova.
An ODBMS approach to persistency in CMS
(CMS GEANT4 simulation)
Vincenzo Innocente CERN/EP/CMC
Raw Event Conversion Service in BOSS framework
Simulation and Physics
Mantis a framework and toolkit for Geant4 simulation in CMS
Use of GEANT4 in CMS The OSCAR Project
CMS Software Architecture
Use Of GAUDI framework in Online Environment
Presentation transcript:

Claudio Grandi INFN-Bologna CHEP 2000Abstract B 029 Object Oriented simulation of the Level 1 Trigger system of a CMS muon chamber Claudio Grandi INFN-Bologna

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 Introduction CMS Level 1 Trigger is implemented using custom designed hardware Why is L1 Trigger simulation important: –test the hardware design –base to develop the High Level Trigger software –define data analysis strategies –(online monitoring of the hardware performances) L1 Trigger simulation code has to be integrated with the CMS simulation and reconstruction programs!

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 CMS detector at LHC

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 ORCA and CARF Object Reconstruction for CMS Analysis »see talk by D. Stickland –detector digitization –detector reconstruction –Level 1 trigger simulation –High Level Triggers software (HLT) –physics object reconstruction –analysis tools CMS Analysis and Reconstruction Framework »see talk by V.Innocente –persistent storage of data –reconstruction and analysis framework

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 Signal Zebra files with HITS HEPEVT ntuples CMSIM (GEANT3) MC Prod. Pile-up ORCA Digitization (merge signal and pile-up) Objectivity Database ORCA Prod. ORCA ooHit Formatter Objectivity Database Catalog import Simulation for HLT studies Level 1 Trigger simulation HLT Algorithms Reconstructed Objects HLT Grp Databases Objectivity Database Catalog import Objectivity Database Objectivity Database ytivitcejbOesabataD Mirrored Db’s (US,Russia,Italy...)

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 L1 Trigger of a muon chamber The TRACO builds tracks in a chamber correlating segments found in the R-  view quadruplets The Trigger Server selects the 2 best segments, suppress ghosts and passes the tracks to the Regional Trigger The BTI finds segments in a quadruplet and assigns the bunch crossing using a mean-timer technique

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 L1  -trigger packages in ORCA Interface to end user System setup Configuration Geometry etc... Trigger components simulation

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 Class diagram Objects seen by the user Activate themselves when the trigger output is asked for Chambers and trigger units are in 1-1 correspondence

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 Action on demand Modules register themselves at creation time and are invoked when required (implicit invocation architecture) Use the Dispatcher-Observer pattern –System setup: L1MuDTTrigSetup is a LazyObserver – Event processing: trigger components are LazyObserver Optimization of program flow. User code very simple!

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 Example of user code // Processing an event... L1MuDTTrigSetup* setup = Singleton ::instance(); L1MuDTTrig* dttrig = setup->DTTrig(); //define chamber (iwh,ist,ise) and BX (is) int iwh=…;int ist=…;int ise=…;int is=…; L1MuDTChambPhSegm* first = dttrig->chPhiSegm1(iwh,ist,ise,is); L1MuDTChambPhSegm* second = dttrig->chPhiSegm2(iwh,ist,ise,is); L1MuDTChambThSegm* theta = dttrig->chThetaSegm(iwh,ist,ise,is);

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 BTI simulation More than BTI chips in CMS, on average 35 are not empty in each event –do not instantiate BTI chips at setup time –instantiate BTI chips event by event if not empty The BTI trigger cards (1 per chamber) keep: –map of active BTI chips ( L1MuDTBtiChip ) –vector of output BTI triggers ( L1MuDTBtiTrig ) Reproduce the BTI behaviour as time flows: –run the BTI algorithm 26 times simulating the chip registers as they would appear before and after the expected triggering time

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 BTI interaction diagram When output is asked for When a new event is read in

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 TRACO simulation More than TRACO chips in CMS, on average 10 are not empty in each event –same situation as for the BTI’s The TRACO trigger cards keep: –map of active TRACO chips ( L1MuDTTracoChip ) –vector of output TRACO triggers ( L1MuDTTracoTrig ) Reproduce the TRACO behaviour as time flows: –run the TRACO algorithm 26 times using as input the BTI triggers found at the corresponding triggering time

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 Trigger Server simulation The Trigger Server chips are instantiated at setup time (250 for R-  view and 250 for R-  ) Reproduce the TS behaviour as time flows: –Algorithm is run 26 times using as input the TRACO triggers found at the corresponding triggering time R-  view algorithm implies a sorting of triggers: –example of use of bit-wise algebra: use ad hoc developed BitArray class for bit manipulation –sorting is done using BitArray::operator< R-  view algorithm is a bit packing of BTI’s output –use again BitArray methods

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 Persistency Persistency for MC information, raw data (including trigger) and reconstructed objects –Most CPU consuming processes are only run once! For the Fortran part of the chain use ZEBRA For the OO part of the chain use Objectivity/DB »see talk by L. Silvestris All Objectivity/DB (and ZEBRA) access is via CARF interfaces Use of Objectivity/DB is transparent to the simulation/reconstruction code and to the user program

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 Persistency Simulation is done in transient mode Transition to persistent mode is done at the end of the event processing Make a copy of the cache of the trigger card objects to its persistent representation When reading from the DB CARF copies the objects to the memory The corresponding C++ pointers are loaded into the cache of the trigger cards Analysis is done in transient mode

Claudio Grandi INFN-Bologna CHEP 2000 Abstract B 029 Summary Object technology is well suited to reproduce the behaviour of the different electronic devices –use custom developed class for bit manipulation OO code for L1 trigger simulation of a CMS muon chamber is fully integrated in ORCA, the CMS reconstruction and analysis program –uses reconstruction on demand –allows persistency in Objectivity/DB databases Code already used in 1999 Monte Carlo production