Difference: LHCbCaloDAQ (1 vs. 8)

Revision 82008-07-25 - EricConte

Line: 1 to 1
 
META TOPICPARENT name="LHCbCalo"

How to : setting the online DAQ

Revision 72008-04-28 - OlivierDeschamps

Line: 1 to 1
 
META TOPICPARENT name="LHCbCalo"

How to : setting the online DAQ

Line: 12 to 12
 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 when needed.
A set of useful scripts are available in /group/calo/sw/scripts/
Changed:
<
<
The farm node hlte0601 and hlte0602 are allocated to the calorimeter project. Log on one of this machine (ssh hlte060x) via the gateway (ssh lbgw01.cern.ch).
>
>
The static farm node hlte0601 and hlte0602 are allocated to the calorimeter project during the commissioning phase. You can log on one of this machine (ssh hlte060x) via the gateway (ssh lbgw01.cern.ch).

Running the Event Builder, data storage and Orwell monitoring tasks

To run the Event Builder and monitoring tasks, users are supposed to proceed with the dynamic allocation available at the top level of the run control. Just allocate the storage and monitoring systems.
To visualize the monitoring histograms, the presenter can be launched by running the online script :

/group/online/presenter/presenter.sh

Don't forget to set the DIM_DNS_NODE variable to the node where histograms are produced.

-----

If, for some justified reason, you need to run in a static way, you can follow the instruction below. It allows to perform data taking and run the monitoring algorithm, in a standalone mode.
This procedure has to be considered as a temporarly solution that should works as long as static farm node are available.

In any case, migrate to the dynamic allocation procedure as soon as possible

 
Deleted:
<
<
The first action you have to do is to set the environment.
 

Setting the environment ( New procedure (january 2008))

Line: 62 to 78
 Before launching again the application (launchEB) don't forget to change the name of the output file in order to not overwrite existing data.
Changed:
<
<

using Orwell standalone

>
>

using Orwell in the offline mode

 

Installing Orwell on lxplus

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

Revision 62008-02-12 - OlivierDeschamps

Line: 1 to 1
 
META TOPICPARENT name="LHCbCalo"

How to : setting the online DAQ

Line: 66 to 66
 

Installing Orwell on lxplus

To install the Orwell project on your private area follow the standard cmt procedure :
Changed:
<
<
setenvOrwell v1r1
getpack Calib/Orwell v1r1
getpack Calib/CaloCalib v1r1
cd Calib/Orwell/v1r1/cmt
>
>
setenvOrwell v1r3
getpack Calib/Orwell v1r3
getpack Calib/CaloCalib v1r3
cd Calib/Orwell/v1r3/cmt
 source setup.(c)sh
cmt broadcast make
Line: 92 to 92
 You can run on the commissioning data with either the mdf format or the raw format (select ReadMDFFile.opts or ReadRawFile.opts in Orwell.opts)
Changed:
<
<
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.
>
>
Warning : when using commissioning data obtained with TELL1 firmware < v2r1 (which add an extra header word in the data bank body) you need to add some extra lines in the options files, e.g.
 HcalCalib.HcalReadoutTool.DetectorSpecificHeader = true;
Deleted:
<
<

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

Revision 52008-02-05 - OlivierDeschamps

Line: 1 to 1
 
META TOPICPARENT name="LHCbCalo"

How to : setting the online DAQ

Line: 9 to 9
 

Online software.

The LHCb software applications are installed on the online farm at the /sw/lib/lhcb/ location.
Changed:
<
<
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 common user_area is defined for calorimeter at /group/calo/sw/cmtuser where local copy of some applications (Online, Orwell, LHCb, DBase) are installed when needed.
 A set of useful scripts are available in /group/calo/sw/scripts/

The farm node hlte0601 and hlte0602 are allocated to the calorimeter project.

Line: 15 to 14
  The farm node hlte0601 and hlte0602 are allocated to the calorimeter project. Log on one of this machine (ssh hlte060x) via the gateway (ssh lbgw01.cern.ch).
Added:
>
>
 The first action you have to do is to set the environment.
Changed:
<
<

Setting the environment

The cmt environment can then be set with :
>
>

Setting the environment ( New procedure (january 2008))

The environment is set running the following script :

source /group/calo/sw/scripts/setupUser.sh

This creates a local copy of the Orwell project in the user area at ($HOME/cmtuser/Orwell_$HOST_vXX/). Working in local user area allows several users to run Orwell simultaneously on different farm node with different options. In addition the script defines few aliases useful to run the Event Builder and the calorimeter monitoring tasks :

- setupEB : setup the Event Builder
- launchEB : launch the Event Builder tasks
- cleanall : close the Event Builder tasks and clean the memories
- presenter : launch the online presenter

Running the Event Builder and Orwell tasks

Before launching the application you may have to modify several options located in $ORWELLOPTS according to your prefered setup. All the options files the user can modify are prefixed with the 'user' word.

  • $ORWELLOPTS/userSrcIP.opts : set the IP sources addresses (TELL1s) of the incoming banks
  • $ORWELLOPTS/userODIN.opts : set the IP address for ODIN.
  • $ORWELLOPTS/userWriter.opts : set the output file name (MDF and RAW format). Note that data written in the /data/calo/ area are automatically transferred on Castor storage system.
  • $ORWELLOPTS/userPrescaler.opts : define the various output rate scaling (for MDF and RAW writing & for 2D display in normal and TAE mode)
  • $ORWELLOPTS/userTAE.opts : set the consecutive trigger window in RAW output (TAE mode). Warning the window MUST be consistent with the MEP factor
  • $ORWELLOPTS/userMEPBuffers.opts : define the number of MEP receiver buffers (default is 9)

The Orwell tasks (i.e. histogramming the calorimeter data) are defined in $ORWELLOPTS/OrwellOnline.opts and $ORWELLOPTS/MEPAnalyser.opts for the single BX mode and TAE mode, respectively.
The common sequence is defined in $ORWELLOPTS/OrwellSeq.opts

When you are happy with your setup just type the following commands to launch the Event Builder and Orwell tasks, typing the following aliases :

> setupEB

> launchEB

 
Changed:
<
<
source /group/calo/sw/scripts/setup.sh
>
>
You can display the various Orwell sequence histograms using the presenter :
 
Changed:
<
<
In addition this set up the Orwell environment and defines few aliases useful to run the Event Builder and the calorimeter monitoring tasks :
>
>
> presenter

 
Changed:
<
<
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 :
setupEB
launchEB

>
>
You can stop the application with :
 
Added:
>
>
> cleanall

 
Added:
>
>
Before launching again the application (launchEB) don't forget to change the name of the output file in order to not overwrite existing data.
 
Deleted:
<
<

Orwell

Running Orwell at pit

 
Added:
>
>

using Orwell standalone

 

Installing Orwell on lxplus

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

Revision 42007-12-11 - OlivierDeschamps

Line: 1 to 1
 
META TOPICPARENT name="LHCbCalo"

How to : setting the online DAQ

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

Changed:
<
<

Software description

The event builder

>
>

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 lbgw01.cern.ch). 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/setup.sh

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 :
setupEB
launchEB

 

Orwell

Added:
>
>

Running Orwell at pit

Installing Orwell on lxplus

To install the Orwell project on your private area follow the standard cmt 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 and there

You can run on the commissioning data 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.

 
Added:
>
>
The version v1r3 will be released by Xmas 2007.
  -- OlivierDeschamps - 29 Oct 2007 \ No newline at end of file

Revision 32007-11-08 - OlivierDeschamps

Line: 1 to 1
 
META TOPICPARENT name="LHCbCalo"

How to : setting the online DAQ

Added:
>
>

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

 

Software description

The event builder

 
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