<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.physik.uzh.ch/lhcb/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.physik.uzh.ch/lhcb/feed.php">
        <title>LHCb Wiki Pages - gaudi</title>
        <description></description>
        <link>https://wiki.physik.uzh.ch/lhcb/</link>
        <image rdf:resource="https://wiki.physik.uzh.ch/lhcb/_media/wiki:dokuwiki.svg" />
       <dc:date>2026-05-30T02:06:41+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.physik.uzh.ch/lhcb/gaudi:addchrono?rev=1314103490&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.physik.uzh.ch/lhcb/gaudi:browsing-dst?rev=1273681957&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.physik.uzh.ch/lhcb/gaudi:declareproperty?rev=1233152878&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.physik.uzh.ch/lhcb/gaudi:gaudi?rev=1315317415&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.physik.uzh.ch/lhcb/gaudi:importnamespace?rev=1271423234&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.physik.uzh.ch/lhcb/gaudi:messagesvc?rev=1275997623&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.physik.uzh.ch/lhcb/gaudi:modifyparticletable?rev=1315985752&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.physik.uzh.ch/lhcb/gaudi:newversion?rev=1294840707&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.physik.uzh.ch/lhcb/gaudi:ntuple?rev=1259571672&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.physik.uzh.ch/lhcb/gaudi:outputlevel?rev=1268989549&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.physik.uzh.ch/lhcb/gaudi:puttingontes?rev=1283497909&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.physik.uzh.ch/lhcb/gaudi:removealgorithm?rev=1256983434&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.physik.uzh.ch/lhcb/gaudi:removepackage?rev=1260262042&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.physik.uzh.ch/lhcb/gaudi:troubleshooting?rev=1260262164&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.physik.uzh.ch/lhcb/gaudi:undefinedreference?rev=1260175759&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.physik.uzh.ch/lhcb/_media/wiki:dokuwiki.svg">
        <title>LHCb Wiki Pages</title>
        <link>https://wiki.physik.uzh.ch/lhcb/</link>
        <url>https://wiki.physik.uzh.ch/lhcb/_media/wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki.physik.uzh.ch/lhcb/gaudi:addchrono?rev=1314103490&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-08-23T12:44:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>addchrono</title>
        <link>https://wiki.physik.uzh.ch/lhcb/gaudi:addchrono?rev=1314103490&amp;do=diff</link>
        <description>Add Chronometry

Problem

While at the end of Brunel or DaVinci, the execution time of each individual algorithm is displayed in the TimingAuditor, this is not true for tools. To monitor the time for tools (it also works for algorithms), the follwing has to be implemented.</description>
    </item>
    <item rdf:about="https://wiki.physik.uzh.ch/lhcb/gaudi:browsing-dst?rev=1273681957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-05-12T16:32:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>browsing-dst</title>
        <link>https://wiki.physik.uzh.ch/lhcb/gaudi:browsing-dst?rev=1273681957&amp;do=diff</link>
        <description>Browsing a DST-File

If you want to inspect the contents of a DST-File GaudiPython might be helpful.

To use the following instructions you need to set up Panoramix and then start python
&gt; SetupPanoramix
&gt; python
In Python you can then use the following commands to inspect the first track 
of the first event.</description>
    </item>
    <item rdf:about="https://wiki.physik.uzh.ch/lhcb/gaudi:declareproperty?rev=1233152878&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-01-28T14:27:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>declareproperty</title>
        <link>https://wiki.physik.uzh.ch/lhcb/gaudi:declareproperty?rev=1233152878&amp;do=diff</link>
        <description>declareProperty

Idea

In your python options file, you may want to pass values to a certain used C++ class (e.g. in DaVinci in the TupleToolMCTruth you may want to switch on the association by Chi2 or not). 

Example

The following example treats the case, if you want to pass a string to your C++ class (to save output, for instance).</description>
    </item>
    <item rdf:about="https://wiki.physik.uzh.ch/lhcb/gaudi:gaudi?rev=1315317415&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-06T13:56:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>gaudi</title>
        <link>https://wiki.physik.uzh.ch/lhcb/gaudi:gaudi?rev=1315317415&amp;do=diff</link>
        <description>Gaudi

Job-Configuration

	*  OutputLevel - What where these numbers again?
	*  declareProperty - How to pass a value in the python-options to a C++ class.
	*  Import classes in options in a namespace - How to import classes which reside in a certain namespace in your options file
	*  Add the possibility for a nTuple - How to make your class ready for using an nTuple</description>
    </item>
    <item rdf:about="https://wiki.physik.uzh.ch/lhcb/gaudi:importnamespace?rev=1271423234&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-04-16T13:07:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>importnamespace</title>
        <link>https://wiki.physik.uzh.ch/lhcb/gaudi:importnamespace?rev=1271423234&amp;do=diff</link>
        <description>Import Classes in Namespace

How to

In your options file, you normally do:


from Configurables import myClass


However, if myClass is in a certain namespace, let's say myNamespace::myClass, then you have to do:


from Configurables import myNamespace__myClass</description>
    </item>
    <item rdf:about="https://wiki.physik.uzh.ch/lhcb/gaudi:messagesvc?rev=1275997623&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-08T11:47:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>messagesvc</title>
        <link>https://wiki.physik.uzh.ch/lhcb/gaudi:messagesvc?rev=1275997623&amp;do=diff</link>
        <description>How to format the output of a Gaudi job

Code

To format the output, you need to include something like:


MessageSvc().Format = &quot;% F%60W%S%7W%R%T %0W%M&quot;


which will display different types of output with a different length.
The details can be found at:</description>
    </item>
    <item rdf:about="https://wiki.physik.uzh.ch/lhcb/gaudi:modifyparticletable?rev=1315985752&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-14T07:35:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>modifyparticletable</title>
        <link>https://wiki.physik.uzh.ch/lhcb/gaudi:modifyparticletable?rev=1315985752&amp;do=diff</link>
        <description>Modifying the properties of particles in ParticleTable.txt

Idea

You can modify the properties of particles, which are stored in the DDDB under param/ParticleTable.txt. This can be useful e.g. in Gauss.

How (not) to

This example is for Gauss v40r2p3 and does not fully seem to work. In Gauss-Job.py (or similar) write:</description>
    </item>
    <item rdf:about="https://wiki.physik.uzh.ch/lhcb/gaudi:newversion?rev=1294840707&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-01-12T13:58:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>newversion</title>
        <link>https://wiki.physik.uzh.ch/lhcb/gaudi:newversion?rev=1294840707&amp;do=diff</link>
        <description>How to add a new version of a Gaudi software

Prerequisites

If you work locally, you first have to execute the lines described  here (up to install CMT environment).

Install new Version

(The following examples will all be for DaVinci)
Type


setenvDaVinci vXrYpZ</description>
    </item>
    <item rdf:about="https://wiki.physik.uzh.ch/lhcb/gaudi:ntuple?rev=1259571672&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-30T09:01:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ntuple</title>
        <link>https://wiki.physik.uzh.ch/lhcb/gaudi:ntuple?rev=1259571672&amp;do=diff</link>
        <description>How to make your GaudiAlgorithm / GaudiTool ready for an nTuple

Problem

Unlike a DaVinci-Algorithm (DVAlgorithm), Gaudi algorithms (most of the time) inherit from GaudiAlgorithm and tools from GaudiTools where the possiblity to create an nTuple (in an easy way) is not implemented.</description>
    </item>
    <item rdf:about="https://wiki.physik.uzh.ch/lhcb/gaudi:outputlevel?rev=1268989549&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-19T09:05:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>outputlevel</title>
        <link>https://wiki.physik.uzh.ch/lhcb/gaudi:outputlevel?rev=1268989549&amp;do=diff</link>
        <description>Output Levels

Idea

In the Gaudi-framework, there exist several layers of print-statements. According to the level which is set (f. ex. in an options-file), any message with this level or higher will be printed.

Normal Output Levels

	*  DEBUG (2)</description>
    </item>
    <item rdf:about="https://wiki.physik.uzh.ch/lhcb/gaudi:puttingontes?rev=1283497909&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-09-03T07:11:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>puttingontes</title>
        <link>https://wiki.physik.uzh.ch/lhcb/gaudi:puttingontes?rev=1283497909&amp;do=diff</link>
        <description>How to put a container on the TES

Idea

Sometimes it might be useful to make a copy of an existing container (with Particles, Tracks,...) and put it on the TES, to be used for a later algorithm.

Code (C++)

This can be done the following:


LHCb::Tracks* tracks = new LHCb::Tracks(); // Create the new container
for(loopOverOldContainer){
   tracks-&gt;insert( trackToCopy );
}
put( tracks, &quot;MyOutputLocation&quot; );</description>
    </item>
    <item rdf:about="https://wiki.physik.uzh.ch/lhcb/gaudi:removealgorithm?rev=1256983434&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-31T10:03:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>removealgorithm</title>
        <link>https://wiki.physik.uzh.ch/lhcb/gaudi:removealgorithm?rev=1256983434&amp;do=diff</link>
        <description>How to remove an Algorithm in an Options file

Problem

Suppose you want to remove an algorithm, for example the instance 'FitDownstream', which is a TrackEventFitter, in the sequence 'TrackDownstreamFitSeq'. For this, you write in your options file:</description>
    </item>
    <item rdf:about="https://wiki.physik.uzh.ch/lhcb/gaudi:removepackage?rev=1260262042&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-08T08:47:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>removepackage</title>
        <link>https://wiki.physik.uzh.ch/lhcb/gaudi:removepackage?rev=1260262042&amp;do=diff</link>
        <description>How to savely remove a package

Mind the following

Be careful in which order you clean things. With the old setup it didn't matter. If you want to remove a package don't do


rm -r Hat/Pack
cd $DAVINCIROOT/cmt ; cmt br make clean


This will not remove the package library from the InstallArea. Only the package knows how to clean its libraries. So do:</description>
    </item>
    <item rdf:about="https://wiki.physik.uzh.ch/lhcb/gaudi:troubleshooting?rev=1260262164&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-08T08:49:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>troubleshooting</title>
        <link>https://wiki.physik.uzh.ch/lhcb/gaudi:troubleshooting?rev=1260262164&amp;do=diff</link>
        <description></description>
    </item>
    <item rdf:about="https://wiki.physik.uzh.ch/lhcb/gaudi:undefinedreference?rev=1260175759&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-07T08:49:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>undefinedreference</title>
        <link>https://wiki.physik.uzh.ch/lhcb/gaudi:undefinedreference?rev=1260175759&amp;do=diff</link>
        <description>'Undefined Reference' while linking

Problem

Even if compiling an algorithm / tool may work without error, the linker may complain about 'undefined reference to `LHCb::aClass::aMethod(some parameters)'.

Solution

This error message occurs, if the .h-file is found, but the libraries in the path do not contain the binaries for the class. There are two possible reasons:</description>
    </item>
</rdf:RDF>
