How to read analyze the raw data on disk

Hypothesis :

The software assumes the following configuration :
  • Bank type = 10
  • TELL1 sourceID :
    • srcID=0 : Ctrl boards side C (Q3 & Q4)
    • srcID=1 : Proc boards Q4
    • srcID=2 : Proc boards Q3
    • srcID=3 : Proc boards Q1
    • srcID=4 : Proc boards Q2
    • srcID=5 : Ctrl boards side A (Q1 & Q2)

Connect to the machine where to run the MDF reading :

  • CPPM : marmuon4 with login cc ( ssh )
  • CERN : plus01 with login piyvduval ( ssh piyvduval@plus01 from a lbgw gateaway machine - see L0MuonHowToUsedMachines)

Set the environment using the dedicated script :


Run the software :

2 solutions :

Run the python script :

This option should be used to look at few events and make some dumps. -f [full data file name] -n [number of events to analyse (default is 1)]

Run the Gaudi application (standard C++ Gaudi framework) :

This option should be used if one wants to produce the "standard monitoring" histograms (and nothing more) on large data samples.

Gaudi.exe l0muon.opts

NB : l0muon.opts file contains the job options. There, one must specified :

  • the mdf file name to use (EventSelector.Input)
  • the histo output file name (HistogramPersistencySvc.OutputFile)
  • eventually, the number of event to process (ApplicationMgr.EvtMax)

To plot the histograms in a PDF file.
Once the histograms have been produced, they can be displayed and saved in a pdf file. To do so, type :

appDisplay [root file name (.root)]

This will create a file with the same name as the root file but with the .pdf extension.

Tips :

How to quickly browse the MDF file from the command line
od -x 'filename' | more

Edit | Attach | Watch | Print version | History: r13 < r12 < r11 < r10 < r9 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r13 - 2008-04-29 - 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-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback