Difference: CodeNewsForStripping21 (15 vs. 16)

Revision 162014-10-21 - StefanoPerazzini

Line: 1 to 1
 
META TOPICPARENT name="TWiki.WebPreferences"
-- StefanoPerazzini - 31 May 2014
Line: 166 to 166
 .ParticleCombiners.update( { "" : "LoKi:VertexFitter"} ) %ENDSYNTAX%
Changed:
<
<
However, these settings will not affect any CommonParticles eventually used as input to the stripping lines. In order to do that, the default vertex fitter has to be changed at a deeper level with the following instructions.
  • Getpack the head of Phys/DaVinciKernel
  • Within this package, find all the places where OfflineVertexFitter (or LoKi::VertexFitter since this is the new default one) appears, so far these were
    <!-- SyntaxHighlightingPlugin -->
./src/Lib/DVCommonBase.icpp:    { ""     , "PropertimeFitter"     },
       ./Kernel/DefaultDVToolTypes.h:    static const std::string VertexFitter     = "OfflineVertexFitter:PUBLIC";
       ./Kernel/DefaultDVToolTypes.h:    static const std::string ParticleCombiner = "OfflineVertexFitter:PUBLIC";
       ./Kernel/DefaultDVToolTypes.h:    static const std::string ParticleReFitter = "OfflineVertexFitter:PUBLIC";
       ./Kernel/DVCommonBase.h: *      MyAgl.VertexFitters = { "" : "OfflineVertexFitter" ,
       ./src/Lib/DVCommonBase.icpp:    { "Offline"       , "OfflineVertexFitter:PUBLIC"    },
       ./src/Lib/DVCommonBase.icpp:    { "Offline"          , "OfflineVertexFitter:PUBLIC"    },
       ./src/Lib/DVCommonBase.icpp:    { "Offline"       , "OfflineVertexFitter:PUBLIC"    },
       ./src/Lib/DVCommonBase.icpp:    { "Vertex"        , "OfflineVertexFitter:PUBLIC"    },
       
<!-- end SyntaxHighlightingPlugin -->
In the current HEAD of DaVinci you will already find the equivalent LoKi fitters as default.
>
>
IMPORTANT: the default vertex fitter in the CommonParticles will be the LoKi one. Since CommonParticles are algorithms common for all the stripping lines they will use the default code, without the possibility for the users to change it.

However, if users want to deeply test the effects of migrating completely from one vertex fitter to the other they will have to follow this recipes:

  • If you want to use the LoKi::VertexFitter as default, use the DaVinci HEAD from the nightlies. Be sure to use the ROOT5 based binaries (lhcb-no-reflex branch of the nightlies):
    <!-- SyntaxHighlightingPlugin -->
SetupProject DaVinci HEAD --nightly lhcb-no-reflex
      
<!-- end SyntaxHighlightingPlugin -->
SetupProject DaVinci HEAD --nightly lhcb-no-reflex --build-env
      getpack Phys/DaVinciKernel r178222
      SetupProject DaVinci HEAD --nightly lhcb-no-reflex
      cd Phys/DaVinciKernel/cmt
      cmt make clean; cmt make
      cd ../../..
      SetupProject DaVinci HEAD --nightly lhcb-no-reflex
      getpack Phys/DaVinciPVTools head
      cd Phys/DaVinciPVTools/cmt
      cmt make clean; cmt make
      cd ../../..
      SetupProject DaVinci HEAD --nightly lhcb-no-reflex
      getpack Phys/JetAccessories head
      cd Phys/JetAccessories/cmt
      cmt make clean; cmt make
      SetupProject DaVinci HEAD --nightly lhcb-no-reflex
      
<!-- end SyntaxHighlightingPlugin -->
 
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