1 / 13

Software status

Calorimeter commissioning meeting 02/20/08. Software status. Olivier Deschamps. Online software status. ORWELL project new release (v1r3) available and installed at pit Include latest changes in LHCb v23r2 Small bug fixed in decoding Prs/Spd TELL1 format (CaloDAQ)

Download Presentation

Software status

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Calorimeter commissioning meeting 02/20/08 Software status Olivier Deschamps

  2. Online software status • ORWELL project • new release (v1r3) available and installed at pit • Include latest changes in LHCb v23r2 • Small bug fixed in decoding Prs/Spd TELL1 format (CaloDAQ) • Include ReadoutStatus monitoring (DAQEvent) • New base algorithm to produce 2D display of Calo event (see next slides) • CaloCalib package • include L0-ADC (8bit) monitoring • few minor improvement + few bug fixes in histogram producing • add Yasmine’s TAE analysis code • Orwell application • add dependency to LBCOM project (contains L0 packages) •  L0Calo and L0DU decoding/monitoring software start to be use currently at pit • Orwell release web page • http://lhcb-release-area.web.cern.ch/LHCb-release-area/DOC/orwell • Instructions for users • https://twiki.cern.ch/twiki/bin/view/LHCb/LHCbCaloDAQ

  3. CaloCalib algorithm • CaloCalib : decode rawBank -> build 1D distributions/channel + summaries histo • add crate/FEB in histogram ID path • can run transparently on consecutive BX events •  Book/fill histo for adjacent BX when data are available (TAE mode) • Account for PedestalShift in PMT/PIN ratio (i.e. R=(PMT-PedShift)/(PIN-PinPedShift) • Store RawBankReadoutStatus on TES (decoding error monitoring – see next slide)

  4. ReadoutStatus monitoring • New RawBankReadoutStatusMonitoring algorithm in DAQEvent •  generic monitoring of errors during rawBank decoding •  decoding algorithm/tools need to define the various status (done for CaloDAQ) Error Type : Hcal Ecal Other Tell1Gen Tell1Link Tell1Sync Empty Missing Incomplete Corrupted counter TELL1 source ID TELL1 source ID • Tell1Sync error : offset to align TELL1 and CROC L0ID no set • Corrupted : due to error in bank header (CrateID=0) in ecTell7 • problem of transmission ? (see Patrick/Stephane talks)

  5. 2D Calo Display • New base algorithm : CaloUtils/Calo2Dview • provide method to fill 2D display of calorimeter object • With variable bin size according to Calo area. • available methods : • Booking • bookCalo2D(unit, title, calo); • calo : 0=Spd, 1=Prs, 2=Ecal, 3=Hcal • pre-booking is not mandatory (automatic booking when filling) • Filling • fillCalo2D(unit, CaloCellID, value [,title]); • fillCalo2D(unit,caloObject [,title]); • works with any CaloObject with CaloCellID attribute, i.e : • CaloADC, L0CaloADC, (MC)CaloDigit, MCCaloHit, L0PrsSpdHit, L0CaloCandidate • Value = ADC or Energy • Properties (options) • yourAlg.Threshold = 10 ; // threshold (default = -256) • yourAlg.PinView = true; // generate view for PIN-diode ADC (default = false) • yourAlg.Offset = 256; // fill with value + offset (default = 0) • yourAlg.ActualSize = false; // display as (column, row) (default = true, i.e. (x,y) in mm) • yourAlg.L0ClusterView = true; // show 2x2 clusters (default = false, i.e single cell) • // default = 2x2 cluster when caloObject = L0CaloCandidate

  6. 2D Calo Display • Calo2Dview is a generic base algorithm • can be used at many place (Monitoring Farm algos, Orwell, L0Calo, …) • just need to make the algorithm inheriting from it • Example of algorithm inheriting from Calo2Dview • CaloCalib/CaloDisplay (built with Orwell) • Built 2D representation for CaloADC : extensively used in online presenter • Useful for fast monitoring/debugging at pit • Main properties : • some examples : • Views = 1 & Refresh = -1  accumulate all events in a single 2D view • Views =-1 & Refresh = 1  produce as many 2D view as there are events • Views =1 & Refresh = 1  produce 1 view refreshed at each event • (online monitoring default : pick-up the last event for display) • EcalDisplay.Views = 10 ; // Number of 2D views (default = 1) • EcalDisplay.Refresh=1; // Refresh frequency (default = 1) • EcalDisplay.L0View= 1; // generate 2D view for L0-ADC (8 bits) (default=false)

  7. Few outputs of CaloDisplay algorithm Ecal noise (single event) Ecal2D.Views = 1; Ecal2D.Refresh=1;

  8. Few outputs of CaloDisplay algorithm Ecal2D.Views = -1; Ecal2D.Refresh= 1 ; Ecal2D.L0View = True Ecal/Hcal single cosmics with L0-ADC views

  9. Few outputs of CaloDisplay algorithm EcalViews = -1; EcalRefresh=5; (accumulate 5 BX sequences) EcalDisplay.PinView = True Ecal LED accumulating 5BX with PIN-ADC

  10. Few outputs of CaloDisplay algorithm Ecal2D.Views = 1; Ecal2D.Refresh= -1 ; Prs0 accumulating all events

  11. Next to come • Next LHCb release expected beg. of march • few minor fixes/improvement in Orwell related packages • condDB update : • Ecal PIN-diode readout update (C-side connection table from Irina) • Found yesterday that condDB FEBTELL1 description was not correct for Prs •  Rather : cabling did not correctly follow software description ! •  corrected condDB installed at pit •  pb : new condDB is not compatible with DC06 data 5

  12. Online software status • Online environment • set of useful scripts installed on /group/calo/sw/scripts/ • Detailed documentation : https://twiki.cern.ch/twiki/bin/view/LHCb/LHCbCaloDAQ • Scripts recently improved : • initial script to run : setupUser.sh : • built a local copy of Orwell options in user home directory (cmtuser/Orwell_hlte0602_v1r3) • can now support several users with different Orwell settings at the same time on different nodes • setup the environment and define many aliases: setupEB, launchEB, presenter … • To be done : • build default Calo page in presenter (with useful histo) • run Orwell histo production in the global commissioning framework • (work started with Markus to link Calo scripts) • Online histo analysis (see Marie-Noelle’s talk) 5

  13. Summary • New Orwell v1r3 released • include few new features helping for fast online debug • Recent Cosmics/LED data are fully compatible with Orwell v1r3 • Data more and more clean - almost free of DAQ problems (latest TELL1 f/w) •  no longer need for patched version of software to analyze it • Can be used to start developping ‘HLT cosmics’ trigger • Search for hardware problem (no longer hidden by DAQ problems) • Everybody can easily (must) have a look to the data using latest s/w • data bookkeeping : • https://twiki.cern.ch/twiki/bin/view/LHCb/LHCbCaloComData • Ntuples available at : • /castor/cern.ch/lhcb/online/point8/calo/ntp0208/ • /castor/cern.ch/user/o/odescham/data/commissioning/ntp0208/ • New twiki : few nice displays • https://twiki.cern.ch/twiki/bin/view/LHCb/LHCbCaloPropaganda

More Related