4/9/2007RPC converter1/18 RPC bytestream converter: Brainstorming a summary of discussions involving M.Bianco, G.Cataldi, G.Chiodini, E.Gorini, A.Guida,

Slides:



Advertisements
Similar presentations
RPC & LVL1 Mu Barrel Online Monitoring during LS1 M. Della Pietra.
Advertisements

Sander Klous on behalf of the ATLAS Collaboration Real-Time May /5/20101.
1 The ATLAS Missing E T trigger Pierre-Hugues Beauchemin University of Oxford On behalf of the ATLAS Collaboration Pierre-Hugues Beauchemin University.
Inefficiencies in the feet region 40 GeV muons selection efficiency   Barrel – End Cap transition 10th International Conference on Advanced Technology.
Current status of LVL1 Muon-Endcap Trigger simulation Tadashi MAENO ( CERN ) for the developers of TGC simulation code TDAQ-week in LISBON ( 23th Oct.
20 Feb LVL1 muon trigger simulation meeting1 the OO codes for endcap muon trigger simulation Hisaya Kurashige KOBE Univ.
Stefania.Spagnolo, Dip. Fisica, Univ. Lecce CERN, Nov. 2006, ATLAS Trigger and Physics week Muon Event Filter Stefania Spagnolo Dip. Fisica, Univ. Lecce.
New muon EF trigger with offline supertools Sergio Grancagnolo INFN Lecce & Salento University.
RPC timing in simulation Current Situation MC Geant4 RPCSensitiveDetector.cxx Or RPCSensitiveDetectorCosmics.cxx RPC_Digitization RPC_digit_To_RDO RPC_RDO_To_Prep:
1 Raw Event : ByteStream implementation Muon Workshop, April 2002 A. Nisati, for the Muon Trigger group.
The digitization procedure occurs separately for each Muon technology, MDT, CSC, RPC and TGC. Here the main steps of each MuonHits to Muon Digits conversion.
The Pixel Detector ByteStream Converter M.Cobal (1), L. Santi (2) (1) University of Udine and INFN Trieste, Italy (2) University of Trieste and INFN Trieste,
Algorithm / Data-flow Interface
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.
The New TrigDecision Nicolas Berger, Till Eifert, Ricardo Gonçalo Physics Analysis Tools session ATLAS Software Workshop – Munich, March 2007.
14/November/2002 CF NSS2002 in Norfolk, Virginia, USA 1 The First Integration Test of the ATLAS End-cap Muon Level 1 Trigger System Introduction Overview.
Level 3 Muon Software Paul Balm Muon Vertical Review May 22, 2000.
The Region of Interest Strategy for the ATLAS Second Level Trigger
1 Gabriella Cataldi (INFN Lecce) Michela Biglietti (Universita’ di Napoli-Federico II) and the HLT.
1 Michela Biglietti (Universita’ di Napoli-Federico II) Gabriella Cataldi (INFN Lecce) and the HLT.
MOORE MOORE (Muon Object Oriented REconstruction) Track reconstruction in the Muon Spectrometer MuonIdentification MuonIdentification Reconstruction and.
Gnam Monitoring Overview M. Della Pietra, D. della Volpe (Napoli), A. Di Girolamo (Roma1), R. Ferrari, G. Gaudio, W. Vandelli (Pavia) D. Salvatore, P.
Trigger Requirements first thoughts from Alessandro Di Mattia, Giovanni Siragusa, Sergio Grancagnolo, Andrea Ventura, Michela Biglietti, Diana Scannicchio.
ATLAS ATLAS Week: 25/Feb to 1/Mar 2002 B-Physics Trigger Working Group Status Report
To make ByteStream Data There is a plan that the High Level Trigger (HLT) software uses the offline framework (Athena). HLT group wants to read in ByteStream.
TAU entered in various places. Manpower – Yan Benhammou++ (N. Guttman, N. Hod, E. Reinherz, A. Kreizel). Working on online Monitoring of TGC. Looking at.
1 “Steering the ATLAS High Level Trigger” COMUNE, G. (Michigan State University ) GEORGE, S. (Royal Holloway, University of London) HALLER, J. (CERN) MORETTINI,
Cern -April 24, 2007Atlas Data Quality Workshop M. Primavera1 Muon EF Data Quality Muon EF Data Quality M. Primavera - I.N.F.N. Lecce on behalf of Muon.
AMB HW LOW LEVEL SIMULATION VS HW OUTPUT G. Volpi, INFN Pisa.
Navigation Timing Studies of the ATLAS High-Level Trigger Andrew Lowe Royal Holloway, University of London.
Muon Trigger Slice Report Sergio Grancagnolo for the Muon Trigger group INFN-University of Lecce CERN Jan 23, 2007.
14/11/2007CERN - Muon Week1 Detector Description status and plans Laurent Chevalier Dapnia – Saclay Stefania Spagnolo Univ. del Salento and INFN Lecce.
4 Dec 2008G. Rakness (UCLA)1 Online Software Updates and RPC data in the RAT …including Pad Bit Mapping and Efficiency… Greg Rakness University of California,
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.
Artemis School On Calibration and Performance of ATLAS Detectors Jörg Stelzer / David Berge.
/MuID status report on behalf of the Moore/MuID group. Status in the releases ( Units Migrations DC1/G3 MuonGeoModel Migration DC2/G4) MuID updates Trig.
Muon Event Filter Status Report Sergio Grancagnolo for the muon EF working group INFN Lecce & Salento University.
Overlap Removal and Timing Optimization Studies Nicole Carlson, Northwestern University 8/8/07 Supervisor: Tomasz Bold.
CERN, 18 december 2003Coincidence Matrix ASIC PRR Coincidence ASIC modifications E.Petrolo, R.Vari, S.Veneziano INFN-Rome.
GAUDI Muon Software  Algorithms : Muon Digitization MuonL0Trigger MuonIdentification  Detector Description Database  Transient Detector Store  Detector.
MOORE MOORE (Muon Object Oriented REconstruction) Track reconstruction in the Muon Spectrometer MuonIdentification MuonIdentification Reconstruction and.
CWG4 – The data model The group proposes a time frame - based data model to: – Formalize the access to data types produced by both detector FEE and data.
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.
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.
Zhen YAN, Muon Offline DQ meeting, 05/10/2015 Signed off runs(express stream) since last Friday meeting Default defects:  MS_RPC_BA_ROD_PROBLEM_1  MS_RPC_BC_ROD_PROBLEM_1.
RpcPrepRawData 1 The conversion from the online RPC data structure (trigger-driven) to offline RpcPrepRawData is not trivial: generally, one online hit.
Trigger LVL1/LVL2 Makers. CERN, december 2001 Gabriella Cataldi-INFN Lecce Trigger (Level 2) Makers: MooiPatTrackSegmentMaker MooiPatTrackMaker MooTrigClusters.
27 March 2003RD Schaffer & C. Arnault CHEP031 Use of a Generic Identification Scheme Connecting Events and Detector Description in Atlas  Authors: C.
30/09/081 Muon Spectrometer Detector Description Outline: - Present situation - Dead Matter - Validation - GeoModel.. Laurent Chevalier, Andrea Dell’Acqua,
A Level-2 trigger algorithm for the identification of muons in the ATLAS Muon Spectrometer Alessandro Di Mattia on behalf of the Atlas TDAQ group Computing.
DT UPGRADE STRATEGY M.Dallavalle for the DT Collaboration 6/26/12 Muon IB1.
ATLAS The ConditionDB is accessed by the offline reconstruction framework (ATHENA). COOLCOnditions Objects for LHC The interface is provided by COOL (COnditions.
1 Plans for the Muon Trigger CSC Note. 2 Muon Trigger CSC Studies General performance studies and trigger rate evalution for the full slice Evaluation.
Integration with ATLAS DAQ Marcin Byszewski 23/11/2011 RD51 Mini week Marcin Byszewski, CERN1.
Status of Digitization, Testbeam Simulation, and Production ATLAS Muon Week -CERN, February 18th 2005 Daniela Rebuzzi – Pavia University and INFN.
1 TrigMoore: Status, Plans, Possible Milestones. 2 Moore in HLT- status and ongoing work Package under the CVS directory: Trigger/TrigAlgorithms/TrigMoore.
Muon identification in ATLAS Peter Kluit (NIKHEF).
2018/6/15 The Fast Tracker Real Time Processor and Its Impact on the Muon Isolation, Tau & b-Jet Online Selections at ATLAS Francesco Crescioli1 1University.
Controlling a large CPU farm using industrial tools
mmDAQ (Muon Atlas MicroMegas Activity – ATLAS R&D)
A new algorithm for the LVL1muon Trigger simulation
MuonGeoModel status of progress on main items
MOORE (Muon Object Oriented REconstruction) MuonIdentification
Update primary numbers active part
Muon Trigger Software Status
integration in HLT-status and prospects
Moore LVL2 interface and Moore status
M.Biglietti (Univ. Naples and INFN Naples)
Implementation of DHLT Monitoring Tool for ALICE
Preliminary design of the behavior level model of the chip
Presentation transcript:

4/9/2007RPC converter1/18 RPC bytestream converter: Brainstorming a summary of discussions involving M.Bianco, G.Cataldi, G.Chiodini, E.Gorini, A.Guida, M.Primavera, S.Spagnolo, INFN Lecce & Universita’ del Salento M.Biglietti INFN & Universita’ di Napoli + useful hints/guidance from A. DiMattia, S.Rosati Muon Week Nov-07

4/9/2007RPC converter2/18 Why, where, how to go Our guide lines:  Understand what we have  Optimize what we have  Understand what we want  Increase the functionality of what we have  Reach the best performance If leave we must leave for good!!! Important ATLAS’s note: RAw Data Objects Definition for the RPC chambers of the ATLAS Muon Spectrometer. Assamagan, Ketevi A; Di Mattia, A; Elsing, M; Grothe, M Nisati,A; Rosati, S; Schörner-Sadenius, T; Wengler, T ATL-DAQ ; Geneva : CERN, 27 Jun mult. p Assamagan, Ketevi ADi Mattia, AElsing, MGrothe, MNisati,ARosati, S Schörner-Sadenius, TWengler, T

4/9/2007RPC converter3/18 Summary  Muon ByteStream Converters Why, where, and why to go Decoding robustness and Error detection  RPC raw data and RPC prep raw data On-line hit (raw data) and offline (prep-raw data) Requirements  Some considerations + a proposal for RPC

4/9/2007RPC converter4/18 Understand what we have for PRD (used by EF and offline) MuonByteStream/RpcPRDCollByteStreamCnv + RpcPRDCollByteStreamTool (AlgTool) + RpcPRDColROD_Decoder (AlgTool) for RDO (used at LVL2) RpcPadContByteStreamCnv + RpcROD_Decoder.h MC path to PRD –MuonCnv/MuonRDOToPrepData/RpcRdoToRpcPrepData (Algorithm – access to full event)

4/9/2007RPC converter5/18 Understand what we have Algorithm driven: ask the region selector for a eta-phi region of interest Region selector: give the list of data collections identifiers Transients store: hold already read data collections (due to other Algs) Data access: 1.Bytestream: get the list of data collections 2.Data source organized in ROB’s (minimal data fragment provided by the data flow system): scan the RODs that might contain those data collections RPC example: running RpcPrepRawDataNtuple on 1 event with hits in rod’s with Id and Converter (RpcPRDColROD_Decoder:: fillcollection) called 360 times: one time for each data collection potentially in the configured rods: 6 rod’s for sector 5 and 6: , , 65005, , ,

4/9/2007RPC converter6/18 example const Muon::RpcPrepDataContainer* rpcPrds = 0; StatusCode sc = p_EventStore->retrieve(rpcPrds, “RPC_Measurements”) RpcPrepDataContainer::const_iterator RPCcoll; for (std::vector ::const_iterator idit = RPCids.begin(); idit != RPCids.end(); ++idit) { RPCcoll = rpcPrds->find(*idit); … } a list of data collections from the Region Selector activates the decoding void RpcPRDColROD_Decoder::fillCollection_v301(const std::vector & p32, COLLECTION& v, const uint32_t& sourceId ) const { … scan the input ROD (p32) looking for the pad fragment corresponding to a single requested data collection (v) to be filled } in practice: Current implementation ROD fragment PAD fragment CM fragment optional/redundant for debugging purposes Sector Logic fragment up to 8 PADs in a ROD up to 8 CMs in a PAD RPC byte-stream in ATL-COM-MUON (revised in 2006) bytestream  PRD converter

4/9/2007RPC converter7/18 ROD decoder … scans sequentially the input ROD to record a PRD for each hit in the CM / PAD corresponding to the requested data collection to skip, otherwise every CM hit decoded into an interesting datum is recorded as soon as read-out no size of fragments is recorded in fragment headers, to allow skipping a block of data looking for a single requested data collection (v) to be filled suppose two data collections v1, v2 are actually needed (selected by the region selector) scan the ROD for V1 meet fragments interesting for v2 => skip ! meet fragments involving v1 => decode and record scan the ROD for v2 … in practice: Current implementation

4/9/2007RPC converter8/18 offline data collection online data organization vs offline online data organization vs offline

4/9/2007RPC converter9/18 offline data collections > 3 Data collection data in a single PAD often strips in high p T and low p T layers are read by more than one pad > 3 Data collection data in a single PAD often strips in high p T and low p T layers are read by more than one pad sometimes high pT and low pT data collections requires reading and decoding more than one PAD sometimes high pT and low pT data collections requires reading and decoding more than one PAD online data organization vs offline online data organization vs offline

4/9/2007RPC converter10/18 Optimize what we have Room for improvements skip un-interesting data (jump to footer) involves changes in data format scan ROD for v1 and v2 at the same time involves better logic – changes in the base converter architecture ?? Go through the code and clean it-up: 1 avoid not useful loop 2 simplify the schema 3 Remove all printout in the data access loops 4 … … easy and probably the most important point easy and probably the most important point feasible ???

4/9/2007RPC converter11/18 Requirements Good performance with all ATLAS ROD configured make sure the current scheme is effective when the whole detector data is requested Good data access performance Good event filter performance Clean Reconstruction/Analysis input data collections (see next slide): remove cabling overlap resolve wired-or and logical-or phi ambiguity with eta tag unsolved phi-ambiguity tag trigger hits No duplicated path: simplicity – debugging – maintenance done in the MC path to PRD not in the byte-stream to PRD converter done in the MC path to PRD not in the byte-stream to PRD converter

4/9/2007RPC converter12/18 RPC Raw Data and Prep Raw Data On-line: RDO Offline: PrepRawData on-line hits different from off-line hits h.w. duplicated hits due to cabling overlap s.w duplicated hits due to wired-or and logical-or 3 types of trigger hits in the readout We can not forget this at any levels.

4/9/2007RPC converter13/18 Current use of converters in the muon sw Milestone data processing: –bytestream to prep data Cnv for MDT bytestream  RDO  prep data for RPC, TGC Trigger LVL2: –bytestream to rdo converter (OK) Trigger EF: –for M5 online + current and past technical run byte-stream to prep data Cnv for MDT bytestream  RDO  prep data for RPC, TGC, CSC (converting full event even when working in a region of interest) for rpc the reason is having clean RIO collections – no redundancies/ambiguities

4/9/2007RPC converter14/18 How and why ? RPC bytestream  RDO  prep data i.e. running the offline algorithm for RDO  PRD conversion which, as first step, activates the converter bytestream  RDO –converting full event even when working in a region of interest inefficient –the reason is having clean RPD collections – no redundancies /ambiguities missing in byte-stream to RPD converter –current byte-stream to prd converter does not solve overlaps/ambiguities because it scans sequentially the byte-stream and output a PRD for each relevant CM hit –data clean-up requires to apply some logic on top of raw hits (which must necessarily be organized and stored in some format) –the most natural and well tested format for that is the RDO

4/9/2007RPC converter15/18 The proposal for the EF, the algorithm (TrigMoore) requests rpc prd in a eta x phi region (RoI) –get from the region selector a list of data collection id(offline) in the RoI –get from cabling service (or related offline  online maps [to be sorted out]) the corresponding list of pad identifiers –retrieve from StoreGate the pad container and find (i.e. decode into RDO) each pad in the selected list  output is the RDO for the RoI i.e. just use the byte-stream to RDO converter –convert the RDO into RPD by applying the data cleanup logic now in the offline algorithm for RDO  PRD in the offline (re-use not duplicate code) MC and DATA –RpcRdoToRpcPrepData might delegate all the work to the new AlgTool used over the whole event embed all that into an AlgTool

4/9/2007RPC converter16/18 More schematically LIST OF data collection IDENTIFIERS RDO to PRD Tool new RDO to PRD Tool new LIST OF PAD’S new Bytestream  RDO standard Converter TRANSIENT EVENT STORE TRANSIENT EVENT STORE RDO PRD Data clean-up existing logic overall data request – empty list HLT applications or offline selective mode Offline event dump mode

4/9/2007RPC converter17/18 The proposal for RPC The scheme seems very close to ID data EF we don’t expects objections from the HLT side allows to share logic (and implementation) between HLT and offline limit use of converters to the well optimized case of byte-stream  RDO (copes with LVL2 latency!) –no more need for RPC Bytestream  PrepRawData Cnv might be worth using the same scheme for all technologies –no direct bytestream  PRD for TGC and CSC at the moment

4/9/2007RPC converter18/18 Decoding robustness and Error detection  ROD fragment information Which information can be used to improve: decoding robustness, performance, error detection … There is room to ask to ROD Firmware developer’s? The strategy should be common for all technologies  Error detection What you do when there is a error in the data format? Create a data error class for each technology Save error events in store gate