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 v23r2 --build-env
getpack Hlt/Hlt2Lines
getpack Hlt/HltSettings
getpack Hlt/Moore (take offered versions)
cd Hlt/Moore/cmt
cmt br cmt make
SetupProject Moore v23r2

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

        line = Hlt2Line(name
                        ,prescale=self.prescale
                        ,postscale=self.postscale
                        ,algos=algoList
                        ,Turbo=True
                       )
(Then "cmt make" in the Hlt/Hlt2Lines/cmt folder)

3) Add the lines to Hlt/HltSettings/python/HltSettings/TurboTest.py

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

4) Move the raw event in to a place that Moore expects it to be

gaudirun.py PrepMC.py
  • Sample PrepMC.py can be found at: /afs/cern.ch/work/s/sbenson/public/forTeslaExtendedReps/

5) The L0 must be re-simulated with the L0 TCK we will use (direct to your DSTs).

gaudirun.py ReRun_L0.py
  • Sample ReRun_L0.py can be found at: /afs/cern.ch/work/s/sbenson/public/forTeslaExtendedReps/

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 GenTCK.py can be found at: /afs/cern.ch/work/s/sbenson/public/forTeslaExtendedReps/

7) The Hlt is ready to be re-run producing our updated selection reports (direct to your DSTs).

gaudirun.py RemakeSelReports_NewLine.py
or if running from threshold settings:
gaudirun.py RemakeSelReports_THRESHOLD.py

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

SetupProject DaVinci v36r2 --build-env
getpack Phys/Tesla head
getpack Phys/TeslaTools head
getpack Hlt/HltDAQ head
cd Phys/Tesla/cmt
cmt br cmt make
SetupProject DaVinci v36r2

9) Finally, run the Tesla algorithm

gaudirun.py Turbo_NewLine.py
or if running from threshold settings:
gaudirun.py Turbo_THRESHOLD.py
Note particles will be placed according to the name of your HltLine, i.e. "/Event/Hlt2IncPhi/Particles".

  • Sample Turbo_NewLine.py(Turbo_THRESHOLD.py) 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!!!

gaudirun.py TupleToolsCheck_MC_Tutorial.py

  • Sample TupleToolsCheck_MC_Tutorial.py can be found at: /afs/cern.ch/work/s/sbenson/public/forTeslaExtendedReps/

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

-- SeanBenson - 2014-12-08

Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r9 - 2014-12-14 - SeanBenson
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb 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.
Ideas, requests, problems regarding TWiki? Send feedback