Adding a new feature extracting class to the trigger package


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

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

ssh -Y
ssh -Y pcgla09
cd cd TriggerWork
asetup AtlasP1HLT,,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

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:

Now trying to recompile and it works.


Next step? Previous step: setup: AdrianBuzatuAthenaTrigger02.

Major updates:

-- AdrianBuzatu - 24-Oct-2012

This topic: Sandbox > AdrianBuzatuAthenaTrigger > AdrianBuzatuAthenaTrigger03
Topic revision: r2 - 2013-01-14 - AdrianBuzatu
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