Difference: MakeLineForTurboSimplified (1 vs. 3)

Revision 32015-03-25 - SeanBenson

Line: 1 to 1
 
META TOPICPARENT name="LHCbTeslaProject"

General processing path

Line: 10 to 10
  1) We can first setup the Moore build that we need.
Changed:
<
<
SetupProject Moore v23r4 --build-env
>
>
SetupProject Moore
 getpack Hlt/Hlt2Lines getpack Hlt/HltSettings getpack Hlt/Moore (take offered versions) cd Hlt/Moore/cmt cmt br cmt make
Changed:
<
<
SetupProject Moore v23r4
>
>
SetupProject Moore
 

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

Line: 41 to 41
 ganga YOUR/DESIRED/FOLDER/ganga_process.py
Changed:
<
<
5) Need a customised DaVinci environment to run Tesla (in a clean session)
>
>
5) Need a DaVinci environment to run Tesla (in a clean session)
 
Changed:
<
<
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
>
>
SetupProject DaVinci
 

6) Finally, run the Tesla algorithm

gaudirun.py Turbo_THRESHOLD.py
Changed:
<
<
Note particles will be placed according to the name of your HltLine, i.e. "/Event/Hlt2IncPhi/Particles".
>
>
Note particles will be placed according to the name of your HltLine, i.e. "/Event/Turbo/Hlt2IncPhi/Particles".
 
  • Sample Turbo_THRESHOLD.py can be found in the options folder of Tesla
Changed:
<
<
7) You can now direct DecayTreeTuple to '/Event/HLTLINENAME/Particles'. Requires the DaVinci environment with at least v36r2!!!
>
>
7) You can now direct DecayTreeTuple to '/Event/Turbo/HLTLINENAME/Particles'. Requires the DaVinci environment with at least v36r5!!!
 
gaudirun.py TupleToolsCheck_MC_Tutorial.py

Revision 22015-02-03 - SeanBenson

Line: 1 to 1
 
META TOPICPARENT name="LHCbTeslaProject"

General processing path

Line: 10 to 10
  1) We can first setup the Moore build that we need.
Changed:
<
<
SetupProject Moore v23r2 --build-env
>
>
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
Changed:
<
<
SetupProject Moore v23r2
>
>
SetupProject Moore v23r4
 

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

Line: 43 to 43
  5) Need a customised DaVinci environment to run Tesla (in a clean session)
Changed:
<
<
SetupProject DaVinci v36r2 --build-env getpack Phys/Tesla head getpack Phys/TeslaTools head getpack Hlt/HltDAQ head
>
>
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
Changed:
<
<
SetupProject DaVinci v36r2
>
>
SetupProject DaVinci v36r4
 

6) Finally, run the Tesla algorithm

Revision 12014-12-14 - SeanBenson

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="LHCbTeslaProject"

General processing path

This tutorial is intended for those wishing to run the trigger from threshold settings. This makes life easier when developing Hlt2 lines as TCK generation is not required each time a change is made.

As for the other tutorial, a Turbo line is prepared and added to the "TurboTest.py" settings. The extended reports are then generated and Tesla is used to resurrect the decay chain from them.

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) Get scripts, update "ganga_process.py" as per your requirements and run the trigger:

cp -r /afs/cern.ch/work/s/sbenson/public/forTeslaExtendedReps/MakeLineForTurboSimplified YOUR/DESIRED/FOLDER
vi YOUR/DESIRED/FOLDER/ganga_process.py
ganga YOUR/DESIRED/FOLDER/ganga_process.py

5) 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

6) Finally, run the Tesla algorithm

gaudirun.py Turbo_THRESHOLD.py
Note particles will be placed according to the name of your HltLine, i.e. "/Event/Hlt2IncPhi/Particles".

  • Sample Turbo_THRESHOLD.py can be found in the options folder of Tesla

7) 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/

  • Note that the HltANNSvc needs to be told about the lines you need as we have not run the trigger with a TCK (see comments in the sample options).

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

-- SeanBenson - 2014-12-14

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback