You are here: TWiki> CALO Web>LHCbCalo>LHCbCaloDAQ (revision 4)
create new tag
, view all tags

How to : setting the online DAQ

This page contains the information that basic commissionners have to know to configure and run the DAQ in the calibration farm.

Online software.

The LHCb software applications are installed on the online farm at the /sw/lib/lhcb/ location.
A common user_area is defined for calorimeter at /group/calo/sw/cmtuser where local copy of some applications (Online, Orwell, LHCb, DBase) are installed.

A set of useful scripts are available in /group/calo/sw/scripts/

The farm node hlte0601 and hlte0602 are allocated to the calorimeter project. Log on one of this machine (ssh hlte060x) via the gateway (ssh The first action you have to do is to set the environment.

Setting the environment

The cmt environment can then be set with :

source /group/calo/sw/scripts/

In addition this set up the Orwell environment and defines few aliases useful to run the Event Builder and the calorimeter monitoring tasks :

setupEB : set the Event Builder
launchEB : launch the Event Builder tasks
launchMoni : launch the Event Builder + Orwell histogramming production
cleanall : close the Event Builder tasks
Presenter : launch the online presenter

Running the Event Builder

Before launching the Event Builder you may have to modify several options located in $ORWELLOPTS according to your setup

  • $ORWELLOPTS/EBCaloSetup.opts define the ethernet interface (eth0), the IP sources addresses (TELL1s/ODIN-FE) of the incoming banks and ODIN IP
  • $ORWELLOPTS/MEPRxSvc.opts define the number of open MEP receiver buffers (default is 5)
  • $ORWELLOPTS/ReadMBM.opts define the output rate scaling for the MDF output file
  • $ORWELLOPTS/DiskWR.opts define the path of the output MDF file
  • $ORWELLOPTS/RawWriter.opts define the output rate scaling and path of the RAW output file
  • $ORWELLOPTS/MEPAnalyser.opts modify the consecutive trigger window in RAW output (TAE)

When you are happy with your setup just type the following commands to launch the Event Builder :


Running Orwell at pit

Installing Orwell on lxplus

To install the Orwell External link mark project on your private area follow the standard cmt External link mark procedure :

setenvOrwell v1r1
getpack Calib/Orwell v1r1
getpack Calib/CaloCalib v1r1
cd Calib/Orwell/v1r1/cmt
source setup.(c)sh
cmt broadcast make

you can then run the application with the usual command line :

cd ../options
../$CMTCONFIG/Orwell.exe [options_file]

The following options files are pre-defined :

Orwell.opts : histograms provider (CaloCalib/CaloCalib)
OrwellNtp.opts : monitoring ntuple provider (CaloCalib/CaloNtpMonitor)

Please read, understand and modify the options file according to your need.
The histogram/ntuple settings are included from $CALOCALIBROOT/options/
Some detail on how to configure CaloCalib can be found here External link mark and there External link mark

You can run on the commissioning data External link mark with either the mdf format or the raw format (select ReadMDFFile.opts or ReadRawFile.opts in Orwell.opts)

Warning : most of the commissioning data stored so far have been obtained with TELL1 firmware < v2r1 which add an extra header word in the data bank body. In this case you need to add some extra lines in the options files, e.g.
HcalCalib.HcalReadoutTool.DetectorSpecificHeader = true;

NB : Only the version v1r1 of Orwell is available in the release area so far. I you want to install the most recent version, just do :

setenvOrwell v1r2
edit the cmt/project.cmt file and replace the line 'ORWELL ORWELL_v1r2' with 'ONLINE ONLINE_v4r0'
then follow the same instructions as above for version v1r1.

The version v1r3 will be released by Xmas 2007.

-- OlivierDeschamps - 29 Oct 2007

Edit | Attach | PDF version | Print version |  | Raw View | Raw edit | Backlinks | History: r8 | r6 < r5 < r4 < r3 | More topic actions...
Topic revision: r4 - 2007-12-11 - OlivierDeschamps

Edit Attach

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.
Ideas, requests, problems regarding TWiki? Send feedback