CALORIMETRY SOFTWARE: Rick Wilkinson April 2005. Release Of Calo + CommonDet ● Trying to get it into ORCA_8_9_0 ● Will have: – Master/Slave readouts –

Slides:



Advertisements
Similar presentations
Special SC readout Dears Dave, Philippe and Irakli, I was told by Reyes that end of June there will be a meeting to finalize the trigger.
Advertisements

Software Summary Database Data Flow G4MICE Status & Plans Detector Reconstruction 1M.Ellis - CM24 - 3rd June 2009.
ECAL and HCAL Simulation Status Rick Wilkinson Fabio Cossutti.
Types of Data SimTracks: generated particles SimHits: energy depositions in a detector volume Digis: Single-channel pieces of the detector’s raw binary.
28 Feb 2006Digi - Paul Dauncey1 In principle change from simulation output to “raw” information equivalent to that seen in real data Not “reconstruction”,
Rick Wilkinson New CSC Geometry u GEANT Simulation uses DDD Geometry è Uses active gas volumes u Digitization/Reconstruction adds a C++ geometry è Adds.
Current ORCA Calorimetry design Rick Wilkinson Caltech.
ORCA Calorimetry Software Status and Plans ORCA Core Calo group: Rick Wilkinson Andre Holzner Homer Neal Oct. 21, 2004 Robert asks, “As an example, are.
Input Validation For Free Text Fields ADD Project Members: Hagar Offer & Ran Mor Academic Advisor: Dr Gera Weiss Technical Advisors: Raffi Lipkin & Nadav.
ECAL Digitization Rick Wilkinson May 25, ECAL Digitization CaloHitResponse CaloSamples (analog signal) EcalElectronicsSim EBDataFrame EEDataFrame.
CommonDet For Calorimetry New Features Grouping DAQ readouts done for HCAL DetLayers for track navigation not done, should be easy.needed? ECAL implementation.
ECAL Digitization in CMSSW: Philosophy  Try to reuse code as much as possible between systems  ECAL, HCAL, Preshower? CASTOR?  Keep things as simple.
HCAL Digitization Rick Wilkinson. Program Flow CaloHitResponse CaloSamples (analog signal) HcalElectronicsSim HBHEDataFrame (or HF, or HO) SimHits DetId= ,
Rick Wilkinson Calo Framework & HCAL Digitization Status Calo Framework & HCAL Digitization Status u Optimization using igprof u Time Slewing for HCAL.
ORCA Calorimetry Software Status and Plans ORCA Core Calo group: Rick Wilkinson Andre Holzner Homer Neal Nov. 29, 2004.
Overview We succeeded in using Slice Test DAQ code to take test beam data, combining chamber and trigger trackfinder data through an XDAQ Event Builder.
HCAL Digitization Rick Wilkinson 1. CMSSW HCAL Simulation Three gains are used as input –Calibration (GeV/fC) From DB gain, by channel –Electronics (fC/photoelectron)
29 Mar 2007Tracking - Paul Dauncey1 Tracking/Alignment Status Paul Dauncey, Michele Faucci Giannelli, Mike Green, Anne-Marie Magnan, George Mavromanolakis,
Paolo Meridiani – INFN Roma 1 1 Ecal Trigger Software in CMSSW P. Meridiani Ecal Trigger Workshop 28/04/2006.
Data Acquisition Software for CMS HCAL Testbeams Jeremiah Mans Princeton University CHEP2003 San Diego, CA.
1 Topics for this Lecture Software maintenance in general Source control systems (intro to svn)
Marco Cattaneo, 23rd February Status of the software migration  Migration strategy: Where we should be  Status: Where we are  Plans.
C Programming - Lecture 6 This lecture we will learn: –Error checking in C –What is a ‘wrappered function’? –What is a clean interface? –How to earn your.
1 HCAL Upgrade TP simulation studies Jane Nachtman (Iowa) – for the HCAL group Trigger Upgrade meeting April 28, 2010.
Program Development Life Cycle (PDLC)
Design and Programming Chapter 7 Applied Software Project Management, Stellman & Greene See also:
Designing with Procedures 1. Designing a Program with Procedures If the code for your program is going to be less than one page, normally don’t bother;
0 Status of Shower Parameterisation code in Athena Andrea Dell’Acqua CERN PH-SFT.
Application Profiling Using gprof. What is profiling? Allows you to learn:  where your program is spending its time  what functions called what other.
JANA and Raw Data David Lawrence, JLab Oct. 5, 2012.
Detector Diagnostics Calibration Analysis Ped/LED/Laser RadDam Analysis Detector Optimization Lumi Detector Performance Monitoring DQM On/Offline Prompt.
24/06/03 ATLAS WeekAlexandre Solodkov1 Status of TileCal software.
Muon Software Tutorial Rick Wilkinson Caltech. The Basics Q: Is there a Muon class? A : No. A muon is just a RecTrack, the same class as the Tracker uses.
Model View Controller A Pattern that Many People Think They Understand, But Has A Couple Meanings.
Some Thoughts about Hits, Geometry etc Rob Kutschke, Hans Wenzel Fermilab March 13, 2007.
1 Implementing LEAP2A using the Argotic library in.NET Andrew Everson Extensions for Argotic version can be downloaded from:
Introduction What is detector simulation? A detector simulation program must provide the possibility of describing accurately an experimental setup (both.
WATERFALL DEVELOPMENT MODEL. Waterfall model is LINEAR development lifecycle. This means each phase must be completed before moving onto the next!!! WHAT.
Status of the LAr OO Reconstruction Srini Rajagopalan ATLAS Larg Week December 7, 1999.
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.
M1G Introduction to Programming 2 3. Creating Classes: Room and Item.
SiPM Readback Noise Tagging & HCAL Calibration Dayton Thorpe July 8, 2010.
(1) Test Driven Development Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University of Hawaii Honolulu.
Status of Reconstruction in sidloi3 Ron Cassell 5/20/10.
Activity related CMS RPC Hyunchul Kim Korea university Hyunchul Kim Korea university 26th. Sep th Korea-CMS collaboration meeting.
Calorimeter Simulation Infrastructure Norman Graf Arlington ‘03.
Prospects for Integrating Veloroot into GAUDI D. Steele - 24/11/1999.
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.
CMS week1 Agenda Sarah Eno: Status of project Volker Drollinger: jet energy scale and top mass Ritua Kinnunen: Higgs mass resolution E. Doroshkevic:
UK LVL1 Meeting, RAL, 31/01/00Alan Watson 1 ATLAS Trigger Simulations Present & Future? What tools exist? What are they good for? What are the limitations?
Detector SimOOlation activities in ATLAS A.Dell’Acqua CERN-EP/ATC May 19th, 1999.
Overview of EMU Software Rick Wilkinson. Slice Test DAQ We succeeded in using Slice Test DAQ code to take test beam data, combining chamber and trigger.
Today… Modularity, or Writing Functions. Winter 2016CISC101 - Prof. McLeod1.
VI/ CERN Dec 4 CMS Software Architecture vs Hybrid Store Vincenzo Innocente CMS Week CERN, Dec
This was written with the assumption that workbooks would be added. Even if these are not introduced until later, the same basic ideas apply Hopefully.
L1Calo DBs: Status and Plans ● Overview of L1Calo databases ● Present status ● Plans Murrough Landon 20 November 2006.
TDD Unit tests from a slightly different point of view Katie Dwyer.
Rainer Stamen, Norman Gee
CLAS12 DAQ & Trigger Status
Modifications to the DRS4’s code
on behalf of ATLAS LAr Endcap Group
Tracker Upgrade Simulations Software Harry Cheung (Fermilab)
Remaining Online SW Tasks
Testbeam comparisons arXiv:
HCAL Configuration Issues
Vincenzo Innocente CERN/EP/CMC
CSC Digi & RecHit Validation
Herbert G. Mayer, PSU CS Status 8/2/2013
Integration Reading: McConnell, Code Complete, Ch. 29
Presentation transcript:

CALORIMETRY SOFTWARE: Rick Wilkinson April 2005

Release Of Calo + CommonDet ● Trying to get it into ORCA_8_9_0 ● Will have: – Master/Slave readouts – Full backwards-compatibilty, both code and data – Cell-by-cell digitization – Support for HCAL calibration – Lots of cleanup/refactoring/bug fixes ● Will not have: – Testbeam support (important) – Cell-by-cell RecHit building (important) – Supercrystals (needed?) – Tracker-style navigation (needed?)

BUGS: CRYSTALS IN ECALPLUSHCALTOWERS ● Robert Harris found a serious bug: EcalPlusHcalTowers don't always get 25 crystals! – Crystals get assigned to the nearest HCAL tower, based on position ● How can we fix? – Smarter algorithm? – Explicit mapping ● XML mappings discussed later Tower Max Num Crystals * * * * *

BUGS: TRIGPRIMS ● Philippe found that TrigPrims always run after digis, so after digi zero-suppression! ● Fixed in DetUnits HEAD, and a big motivation to get this version released. ● Not totally dummy-proof, though. – Nothing stopping you from making zero- suppressed digis, then running TrigPrims.

BUGS: SELECTIVE READOUT SETUP ● Setup dependencies are too fragile! SelectiveReadout needs EcalBarrel, EcalEndcap, and EcalTower to be there before it's built. – Doesn't work otherwise, maybe because EcalBarrel/EcalEndcap depend on EcalTower, too? Not sure. ● Works if you wait as long as you can before building the SelectiveReadoutTowerMap. Wait for events to start coming in. – Singleton, so overhead should be negligible – Fixed in release, HEAD. ● Vincenzo says the right way to do it is to make everything a LazyObserver, with check()s in every public method! – Should we bother, or just limp along until the EDM rewrite?

NEW FEATURES: INDIVIDUAL DIGITIZATION ● Implemented a mechanism to digitize cells one-by-one – Performance 50% slower than CaloBulkDigitizer. Not sure why. – Refactored CaloFrontEndResponse, so will break some test programs. ● Some complications in HCAL Because of ganged channels, some active volumes don't have readouts. Those channels are no longer DetUnits CaloHitLoader moves hits to correct active volume Not done yet for CaloRecHits, where it would be really useful

NEW FEATURE: Decoupling ECAL & HCAL ● ECAL Geometry loading is slow, so we need a way to run HCAL jobs without ECAL & vice versa. ● Coupling comes in two places: – Setting up SelectiveReadout for DataFrames & RecHits ● Solved for DataFrames by moving setup into EcalSelectiveReadout library ● Not solved for RecHits, because it might make sense to redo RecHits in CommonDet style first – CaloTrigRec library, which sets up EcalTrigPrim & HcalTrigPrim ● Solved by eliminating CaloTrigRec library, and moving setup into EcalTrigPrim & HcalTrigPrim

CALIBRATION – First of all, ORCA code needs an interface to accept and use the appropriate constants – HCAL required rewrite of the whole digitization procedure! ● Can this be done for ECAL? – HCAL Solution inappropriate for ECAL ● HCAL has only two constants, ECAL has six ● Requires me to make some code changes – Trying to get an actual test case, using testbeam data, has been hard. ● Need to fix testbeam reading in DetUnit-based Calorimetry ● Need to define CMS's interface to databases! – CERN/POOL people like generic objects, POOL:AttributeList – Fermilab people like strongly-typed objects, with automatic code generation. – Vincenzo has an EDM design, which everyone seems to like.

HCAL GEOMETRY ● Sunanda made some realism fixes to newest prerelease: – Needed for testbeam – Made depth segmentation more realistic – Fixed incorrect eta boundaries – Seems like this will break old datasets! ● I'm moving HCAL DDD parsing out of ORCA, into common routines he provided in Profound. ● Also, I'm trying to reorganize the HCAL geometry into some regular structures. – Requires rewriting HCAL navigation – Complications at overlap of HE & HF HcalTowerType etaMin etaMax nDepthSegments depths nPhiSegments

EcalPlusHcalTowers and HO ● JetMET people find that the outer HCAL layer shouldn't be used on most towers, because it just adds noise. It should only be used as a tail-catcher for high energy deposits – Same electronics as other channels, but amplified by the lower sampling factor of the detector itself ● This requires adding a field for HO energy in the EcalPlusHcalTower class. – Modifies schema! – Vincenzo says ROOT/POOL can handle schema change ● I need to test this – Tony says no re-running production, though.

ECAL Endcap Trigger Tower Mapping ● Currently in flat file ● ECAL experts (Seez, Baffioni, Berthon) point out that it really should go in DDD/XML ● Vladimir has a prototype already! ● Good to have an example for our other mapping problems – EcalPlusHcalTowers – Electronics (see next slide)

Electronics Mapping ● How do testbeams define which cell goes with which readout in the electronics? ● This information needs to go in ORCA – Would be used immediately for mapping CommonDet's MasterReadouts cells ● How should we implement? – Eventually will be in the configuration database – Michael Case says it would be easy to put this information into an SQL Lite DB, and used in all ORCA jobs. – Or should we go with flat file? XML? – Volunteers?

EDM ● Jeremy Mans has come up with a design for how Calo data will be stored/handled in new EDM. ● Pretty urgent. Slice test coming up! ● Document being written