General processing path

To run Tesla over MC, you will first need to prepare the MC to run the HLT and remake the Selection Reports. The Tesla algorithm is then run. Normal DecayTreeTuple tools are then ran over the output of Tesla.

For the case of running over data in 2015, Tesla will be run and the resulting output will be ready for use with the normal DecayTreeTuple tools.

Detailed steps

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

SetupProject Moore v22r1p1 --build-env
getpack Hlt/HltRawData (take the offered version)
cp /afs/cern.ch/work/s/sbenson/public/forTeslaExtendedReps/HltSelReportsMaker* Hlt/HltRawData/src/
getpack Hlt/Moore
cd Hlt/Moore/cmt
cmt br cmt make
SetupProject Moore v22r1p1

2) The raw event must be restored to the format that Moore expects (direct to your DSTs).

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

3) The L0 must be re-simulated with the 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/

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

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

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

SetupProject DaVinci v36r0 --build-env
getpack Phys/Tesla head
getpack Phys/TeslaTools head
getpack Hlt/HltDAQ (take the offered version)
cp /afs/cern.ch/work/s/sbenson/public/forTeslaExtendedReps/HltSelReportsDecoder* Hlt/HltDAQ/src/
cd Hlt/HltDAQ/cmt
cmt br cmt make
SetupProject DaVinci v36r0

6) Finally, run the Tesla algorithm

gaudirun.py Turbo.py
Note that you can customise where you want the output on the DST (default '/Event/Tesla')

* Sample Turbo.py can be found in the options folder of Tesla

7) With your usual DaVinci scripts, direct your DecayTreeTuple to '/Event/Tesla/Particles' (or customised prefix). Requires the DaVinci environment with at least v36r0!!!

Edit | Attach | Watch | Print version | History: r16 | r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r9 - 2014-09-19 - 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