General processing path

To create a new Hlt2 line for the Turbo stream, you will need to make sure the line contains the particles in the event (and calculates all the required information on them). Note that other particles in the event can be selected with another Turbo Hlt2 line if needed.

After the line has been made, a new settings file is required so that it is included when Moore runs. A new TCK is then required to test this(+). Then Moore can be re-run and the output processed by Tesla.

Detailed steps

1) We can first setup the Moore build that we need.

SetupProject Moore v23r4 --build-env
getpack Hlt/Hlt2Lines
getpack Hlt/HltSettings
getpack Hlt/Moore (take offered versions)
cd Hlt/Moore/cmt
cmt br cmt make
SetupProject Moore v23r4

2) Make the required Hlt2 lines specifying "Turbo = True" when making the line declaration, e.g.

        line = Hlt2Line(name
(Then "cmt make" in the Hlt/Hlt2Lines/cmt folder)

3) Add the lines to Hlt/HltSettings/python/HltSettings/

(Then "cmt make" in the Hlt/HltSettings/cmt folder)

4) Move the raw event in to a place that Moore expects it to be
  • Sample can be found at: /afs/

5) The L0 must be re-simulated with the L0 TCK we will use (direct to your DSTs).
  • Sample can be found at: /afs/

6) (If running the HLT from threshold settings then skip this step)

Make a PrivateTCK from the TurboTest threshold setting following the instructions on the linked dedicated Twiki.

  • Sample can be found at: /afs/

7) The Hlt is ready to be re-run producing our updated selection reports (direct to your DSTs).
or if running from threshold settings:

8) Need a customised DaVinci environment to run Tesla (in a clean session)

SetupProject DaVinci v36r4 --build-env
getpack Phys/Tesla
getpack Phys/TeslaTools
getpack Hlt/HltDAQ (take offered versions)
cd Phys/Tesla/cmt
cmt br cmt make
SetupProject DaVinci v36r4

9) Finally, run the Tesla algorithm
or if running from threshold settings:
Note particles will be placed according to the name of your HltLine, i.e. "/Event/Hlt2IncPhi/Particles".

  • Sample can be found in the options folder of Tesla

10) You can now direct DecayTreeTuple to '/Event/HLTLINENAME/Particles'. Requires the DaVinci environment with at least v36r2!!!

  • Sample can be found at: /afs/

11) Missing variables should be added to the RunningListTurboMissing page.

-- SeanBenson - 2014-12-08

This topic: LHCb > LHCbTrigger > LHCbTeslaProject > MakeLineForTurbo
Topic revision: r10 - 2015-02-03 - SeanBenson
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.
Ideas, requests, problems regarding TWiki? Send feedback