TWiki> LHCb Web>LHCbVELO>VELOSoftware>SensorExclude (revision 2)EditAttachPDF

How to exclude sensors from the pattern recognition

This article describes how to exclude sensors from the pattern recognition using the component PatVeloFilterClusters in the Pat/PatVelo package. The clusters in the excluded sensors will not be used in the pattern recognition but they will remain in the TES. The algorithm works with both "standard LHCb PatRec" and Open/Halo track PatRec.


Make sure that you have a local version of PatVelo that includes PatVeloFilterClusters (v2r3 head or later). If not, getpack it! Recompile Brunel to make sure that everything works properly.


To use PatVeloFilterClusters you need to put it right after PatVeloLoadClusters in the Brunel run sequence.

The first step is therefore to locate in which options file you call PatVeloLoadClusters. If you can't find the options file in your Brunel options directory it's probably becuase it's called from Reco.opts, which is located somewhere else. If this is the case, look in your Brunel.opts file for the location of Reco.opts, and copy it to your local options directory. You also need to change the location of Reco.opts in the #include statement of Brunel.opts.

The next step is to edit Reco.opts (or whatever options file you are using to call PatVelo). Find the line where PatVeloLoadClusters is called and add PatVeloFilterClusters after it.

Before we continue it might be a good idea to make a test run with Brunel and verify that PatVeloFilterClusters actually is called.

If this works, the rest is very simple! Add the line

PatVeloFilterClusters.FilterSensors={i,j,k ... ,x,y,z};

to your main options file, where i,j,k etc are the sensor numbers you wish to exclude. To remove a module you have to enter the numbers i,i+64 where i is the module number. For example, if you want to exclude module 5 and sensor 95 the line should look like this:


That's it!

-- Aras Papadelis - 29 May 2006

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2006-05-30 - ArasPapadelis
    • 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-2020 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