Adding a new feature extracting class to the trigger package

Introduction

First you have to ssh to a particular lxplus machine and follow the instructions from AdrianBuzatuAthenaTrigger01, then create a new feature extraction class as shown in AdrianBuzatuAthenaTrigger02. Here we start to add the b tagging code.

First step

Insert the offline b-tagging tool in the new class and validate it gets correctly instantiated. It's called "m_bTagTool" in "BjetBuilder.cxx". This file is here

https://svnweb.cern.ch/trac/atlasoff/browser/PhysicsAnalysis/JetTagging/JetTagAlgs/BTagging/trunk/src/BJetBuilder.cxx#L355

Ssh at CERN, go to the right folder and setup Athena.

ssh -Y lxplus.cern.ch
ssh -Y pcgla09
cd cd TriggerWork
asetup AtlasP1HLT,17.1.5.18,here
echo $AtlasArea

Now add the following include statement "#include "BTagging/BTagTool.h" in the following file

cd Trigger/TrigHypothesis/TrigBjetHypo/src
emacs -nw TrigBjetFexEF.cxx

Now we try to compile and it fails.

cd ../cmt
make

The solution is to add the following line in the "requirements" file from the cmt directory (add it in the private session).

emacs -nw requirements
use     BTagging                BTagging-*                      PhysicsAnalysis/JetTagging/JetTagAlgs

We use "BTagging" twice because we want to include "#include "BTagging/BTagTool.h". We use the path "PhysicsAnalysis/JetTagging/JetTagAlgs" from the URL given to us:

https://svnweb.cern.ch/trac/atlasoff/browser/PhysicsAnalysis/JetTagging/JetTagAlgs/BTagging/trunk/src/BJetBuilder.cxx#L355

Now trying to recompile and it works.

make

Next step? Previous step: setup: AdrianBuzatuAthenaTrigger02.


Major updates:

-- AdrianBuzatu - 24-Oct-2012

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2013-01-14 - AdrianBuzatu
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 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