TWiki> LHCb Web>LHCbL0Trigger>L0MuonSoftware (revision 9)EditAttachPDF

L0Muon Software

L0Muon event model

see L0Muon event model

(top)

L0Muon emulator

The L0Muon emulator emulates the L0Muon trigger processing.

It is based on 2 main generic classes : Unit and Register which are defined in L0/ProcessorKernel package (LHCb project).

These classes are specialized in L0/L0MuonKernel where is implemented the L0Muon processing.

The emulator runs in L0MuonAlg. It is configured using the L0MuonKernel.xml file in the PARAM/ParamFilesParam.

  • L0Muon emulator event model diagram:
    L0MuonEventModel_emulator.gif

(top)

L0Muon banks decoding

The decoding runs in L0MuonCandidatesFromRaw. It is configured using the L0MuonKernel.xml file in the PARAM/ParamFiles package. The decoding also depends on L0/L0MuonKernel.

  • L0Muon decoding event model diagram:
    L0MuonEventModel_decoding.gif
  • The L0Muon bank content is described in EDMS818559.

(top)

L0Muon monitoring

to be completed

(top)

L0Muon data bases

2 separated data bases are used to describe the L0Muon (see EDMS818447) : The L0Muon condition data base contains information relative to the running condition.

L0Muon configuration DB
describes the L0Muon hardware architecture and components as well as some implementation details (boards, FPGAs, optical & internal links connections & content, ...).

There is one such a DB per quarter.

They are created the appCreateDB.py application in L0/L0mPy.

The L0Muon configuration DB is used to generate :

  • back plane inter-connection list used in the CA0 of the backplane
  • vhdl codes used in the PU FPGA
  • xml configuration files for emulator and decoding software

L0Muon cabling DB
describes the cabling between the muon ODEs and the L0Muon

Condition data base
Some parameters defined at run time are stored in the condition data base :
  • for each controller board (i.e. each quarter) :
    • Processor version
    • CU mask
    • SU mask
  • for each processing board :
    • Fields of interest (X and Y)
    • Optical link masks and values
    • Backplane masks
    • PU mask

Note : the processor version defines the version of :

  • the various FPGA firmwares
  • the LUTs with the PT information
  • the raw bank (integer value of the processor version)

(top)

L0Muon packages

LHCb project

L0/ProcessorKernel (CVS)
This package contains generic classes used by the L0Muon emulator and decoding software :
  • Register : contains a boost::dynamic_bitset.
  • TileRegister : special Register which contains in addition a list of MuonTileID associated to the bitset.
  • RegisterFactory : factory owning the registers. 3 different instances of the RegisterFactory may be created.
  • Unit : a Unit contains :
    • a list of pointers to registers used as inputs
    • a list of pointers to registers used as outputs
    • a list of pointer to 'child'-units (thus, the units forms a hierarchical strucuture)
    • a list of properties than can be defined at run time
    • a set of virtual methods where specialized units (see L0/L0MuonKernel) will perform specific tasks using the input registers and fill their output registers
      • initialize
      • preexecute
      • execute
      • postexecute
      • finalize
  • Property : generic class to set the Unit's properties
L0/L0MuonKernel (CVS)

Lbcom project

L0/L0Muon (CVS)
  • L0MuonAlg : algorithm to run the L0Muon emulator.
L0/L0MuonMonitoring

(top)

Additional packages

L0/L0mSQLite (CVS)
L0/L0mConf (CVS)
L0/L0MuonPyTools (CVS)
L0/ReportLab (CVS)
L0/L0mPy (CVS)
This package is used to fill the L0Muon configuration data base (see above).
L0/L0MuonKernelBuild (CVS)
L0/L0mCAO (CVS)
L0/L0mTestBench (CVS)
L0/L0Analysis (CVS)

top

-- JulienCogan - 02 Oct 2008

Topic attachments
I Attachment History Action Size DateSorted ascending Who Comment
GIFgif L0MuonEventModel_decoding.gif r3 r2 r1 manage 20.9 K 2008-10-03 - 12:42 JulienCogan L0Muon decoding event model diagram
GIFgif L0MuonEventModel_emulator.gif r3 r2 r1 manage 28.3 K 2008-10-03 - 12:43 JulienCogan L0Muon emulator event model diagram
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r9 - 2008-10-09 - JulienCogan
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback