Software status

13
Software status Olivier Deschamps Calorimeter commissioning meeting 02/20/08

description

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) - PowerPoint PPT Presentation

Transcript of Software status

Page 1: Software status

Software status

Olivier Deschamps

Calorimeter commissioning meeting 02/20/08

Page 2: Software status

ORWELL projectORWELL project• new release (v1r3) available and installed at pitnew release (v1r3) available and installed at pit

• Include latest changes in LHCb v23r2Include 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 CaloCalib package • include L0-ADC (8bit) monitoring• few minor improvement + few bug fixes in histogram producing• add Yasmine’s TAE analysis code

• Orwell applicationOrwell application• add dependency to LBCOM project (contains L0 packages)

L0Calo and L0DU decoding/monitoring software start to be use currently at pit

Online software status

• Orwell release web pagehttp://lhcb-release-area.web.cern.ch/LHCb-release-area/DOC/orwell

• Instructions for users https://https://twiki.cern.ch/twiki/bin/view/LHCb/LHCbCaloDAQtwiki.cern.ch/twiki/bin/view/LHCb/LHCbCaloDAQ

Page 3: Software status

CaloCalib algorithm

• CaloCalib : CaloCalib : decode rawBank -> build 1D distributions/channel + summaries histodecode 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)

Page 4: Software status

ReadoutStatus monitoring

Ecal Hcal

TELL1 source ID TELL1 source ID

Other

Tell1Gen

Tell1Link

Tell1Sync

Empty

Missing

Incomplete

Corrupted

counter

Error Type :

• 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)

• New RawBankReadoutStatusMonitoring algorithm in DAQEvent generic monitoring of errors during rawBank decoding decoding algorithm/tools need to define the various status (done for CaloDAQ)

Page 5: Software status

• New base algorithm : CaloUtils/Calo2DviewNew base algorithm : CaloUtils/Calo2Dview• provide method to fill 2D display of calorimeter object• With variable bin size according to Calo area.• available methods :

2D Calo Display

• 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, L0CaloCandidateValue = 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

Page 6: Software status

• Calo2Dview is a generic base algorithmCalo2Dview is a generic base algorithm• can be used at many place (Monitoring Farm algos, Orwell, L0Calo, …)can be used at many place (Monitoring Farm algos, Orwell, L0Calo, …)• just need to make the algorithm inheriting from itjust need to make the algorithm inheriting from it

• Example of algorithm inheriting from Calo2DviewExample 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 viewViews =-1 & Refresh = 1 produce as many 2D view as there are eventsViews =1 & Refresh = 1 produce 1 view refreshed at each event (online monitoring default : pick-up the last event for display)

2D Calo 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)

Page 7: Software status

Few outputs of CaloDisplay algorithm

Ecal2D.Views = 1;Ecal2D.Refresh=1;

Ecal noise (single event)

Page 8: Software status

Few outputs of CaloDisplay algorithm

Ecal2D.Views = -1;Ecal2D.Refresh= 1 ; Ecal2D.L0View = True

Ecal/Hcal single cosmics with L0-ADC views

Page 9: Software status

Few outputs of CaloDisplay algorithm

EcalViews = -1;EcalRefresh=5; (accumulate 5 BX sequences)EcalDisplay.PinView = True

Ecal LED accumulating 5BX with PIN-ADC

Page 10: Software status

Few outputs of CaloDisplay algorithm

Ecal2D.Views = 1;Ecal2D.Refresh= -1 ;

Prs0 accumulating all events

Page 11: Software status

• Next LHCb release expected beg. of march 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 FEBTELL1 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

Next to come

Page 12: Software status

• Online environment Online environment • set of useful scripts installed on /group/calo/sw/scripts/set of useful scripts installed on /group/calo/sw/scripts/

• Detailed documentation : Detailed documentation : https://twiki.cern.ch/twiki/bin/view/LHCb/LHCbCaloDAQ

• Scripts recently improved :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 : To be done : • build default Calo page in presenter (with useful histo)build default Calo page in presenter (with useful histo)

• run Orwell histo production in the global commissioning framework run Orwell histo production in the global commissioning framework (work started with Markus to link Calo scripts)(work started with Markus to link Calo scripts)

• Online histo analysis (see Marie-Noelle’s talk)Online histo analysis (see Marie-Noelle’s talk) 5

Online software status

Page 13: Software status

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