How to.....

How to get the DaVinci package
The DaVinci package can be obtained as any other LHCb package via the getpack command.
For example on lxplus:

> getpack  Phys/DaVinci v2r0

To make the executable follow the standard CMT  procedures

How to control the application
DaVinci is controlled via jobOptions as any Gaudi application. In the  subdirectory options there is an example joboptions file

options/DaVinci.opts

is to be modified and customized. It includes DaVinciCommon.opts that defines the services and DLLs to be loaded and are common to any job. Default options for algorithms and tools in the DaVinciTools & DaVinciSicb libraries are loaded automatically, but can be overwritten in DaVinci.opts later on.

To run the L0 trigger simulation uncomment the corresponding line in DaVinci.opts

Comments in DaVinci.opts are provided to give an indication of how to modify the options.

An example of a script of how to run a job (both interactively and in batch) is provided in the subdirectory job

job/DaVinci.job

You must provide as argument the dbase version corresponding to the files you want to process. 

Three possibility are given to provide the jobOptions to a DaVinci application and are taken in the following order of priority:

  1. as an argument of the executable

lxplus> DaVinci.exe  myDaVinci.opts

  1. setting the JOBOPTPATH environment variable

> setenv JOBOPTPATH myDaVinci.opts

  1. using the default file in the application package

$DAVINCIROOT/options/DaVinci.opts