TWiki> LHCb Web>LHCbMuon>MuonDaqAnalysis (revision 3)EditAttachPDF

Welcome to the LHCb Muon DAQ analysis page

These page contain an introduction for the DAQ data analysis.

LHCb Online Page

Useful links & documentation



Data location

Data files taken with DAQ from Control Room are written in the directories:

  • LHCb acquisition: /daqarea/lhcb/data/2008/RAW/LHCb/PHYSICS/#runnumber
  • MUON acquisition (e.g. side C): /daqarea/lhcb/data/2008/RAW/MUONC/PHYSICS/#runnumber
20774 - 20778 * Some test data can be found on the online cluster in /group/muon/testdata or on castor /castor/


Run type Run number Run description Activity
Cosmics 22788 Taken with aligned Calo LHCb
Noise 22902 Just testing the acquisition on side C MUONC

Procedure for data analysis

Data Access

Lots of useful informations are kept in the data online page. To directly access data on the online cluster you need

  • First of all you should log onto the online cluster (e.g. linux: ssh -X
  • Then you should log into the plus01 machine: ssh plus01
Otherwise you can access data on castor
  • Data is copied to castor every hour. E.g. data under /daqarea/lhcb/data/2008/RAW/MUONC/PHYSICS/#runnumber can be found in castor: /castor/
    • To check if your favourite run is there try for example: rfdir /castor/
  • You can run either on raw or MDF files......
    • EventSelector.Input += {"DATAFILE='PFN:rfio:///castor/' TYP='POOL_ROOT' OPT='READ'"};
    • EventSelector.Input += {"DATA='rfio:///castor/' SVC='LHCb::MDFSelector'"};

Data Analysis

To run your favourite monitor you can start, on lxplus, using
  • setenvBrunel (default recommended)
  • getpack Muon/MuonMonitor (default again)
  • getpack Rec/Brunel (def)
  • compile Brunel after having added MuonMonitor to the requirements
  • You can now change the User_realdata.opts file to point to your raw data information.....
  • To run analysis you can just: $BRUNELROOT/slc_.../Brunel.exe $MUONMONITORROOT/options/gaudi_realdata.opts
This chain has been tested with Brunel_v32r5 + MuonMonitor v2r3 A monitor.root files is created!

LHCb Online Presenter

Instructions on how to run the LHCb Online Presenter and see Muon monitoring histograms

  • Read the documentation about running the presenter
  • login on some node on the LHCb online network (look here for instructions)
    • for Linux (pit account):
      • ssh -X
      • ssh plus
      • set the DIM node: DIM_DNS_NODE=$HOST; export DIM_DNS_NODE; [BASH]
      • start the presenter: /group/muon/scripts/runpresenter [BASH]
    • On lxplus
      • setenvOnline [head or your fav version]
      • getpack Online/Presenter [head or your fav version]
      • cd Online/Presenter/vXrX/cmt/
      • cmt config; source setup.csh; make
  • browse through the page tree on the left, look in "Muon Commissioning"
  • single click on your favourite page
If you see no histograms the presenter is not running and you can use it to monitor previous histos (runs)
  • From the Presenter, you can use Tools!History Mode, then click on the “file” menu
  • Then select MuonDAQMon-runXXXXX.root

-- AlessioSarti - 16 Jun 2008

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2008-06-16 - AlessioSarti
    • 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