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 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.


Now run a trigger test. It is completely automatic, as you don't even have to worry about the input file, as it is taken automatically. The final part of the test is a regression test with a reference, meaning that the final outcome will be a bad exit code even if the job itself was perfectly fine (to avoid this confusion you can simply check the log file)

cd .. --test AthenaTrigRDO_MC_pp_v4_tight_mc_prescale --run AthenaTrigRDO_MC_pp_v4_tight_mc_prescale --conf TriggerTest.conf

Next step? Previous steps: setup: AdrianBuzatuAthenaTrigger01 and AdrianBuzatuAthenaTrigger02.

Major updates:

-- AdrianBuzatu - 24-Oct-2012

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

    Sandbox 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