diff --git a/19-turbo.md b/19-turbo.md index edacf4d..a08fa64 100644 --- a/19-turbo.md +++ b/19-turbo.md @@ -11,14 +11,15 @@ minutes: 30 > * Learn how to make new candidates from turbo candidate and other persisted objects > * Learn how to make an NTuple from these new candidates. -Online-offline reco the same -Online reconstructed candidates stored in raw event -Tesla pulls them out puts them back in the memory + * Online-offline reco the same + * Online reconstructed candidates stored in raw event + * Tesla pulls them out puts them back in the memory -The file used in the [lesson about the HLT ](05-hlt-intro.html) can also be -used for this lesson: `root://eoslhcb.cern.ch//eos/lhcb/user/r/raaij/Impactkit/00051318_00000509_1.turbo.mdst`. +| The file used in the [lesson about the HLT ](18-hlt-intro.html) can also be used for this lesson: +| `root://eoslhcb.cern.ch//eos/lhcb/user/r/raaij/Impactkit/00051318_00000509_1.turbo.mdst`. Python file that defines the data: + ~~~ {.python} # data.py from GaudiConf import IOHelper @@ -28,6 +29,7 @@ IOHelper('ROOT').inputFiles([prefix + fname], clear=True) ~~~ Basic script for making a turbo NTuple `turbo_intro.py` + ~~~ {.python} # DaVinci configuration from Configurables import DaVinci @@ -56,5 +58,5 @@ DaVinci().UserAlgorithms = [dtt] Then we run it! ```shell -lb-run DaVinci gaudirun.py turbo_persistreco.py data.py +lb-run DaVinci gaudirun.py turbo_intro.py data.py ``` diff --git a/20-persist-reco.md b/20-persist-reco.md index b99ba02..473f965 100644 --- a/20-persist-reco.md +++ b/20-persist-reco.md @@ -15,10 +15,11 @@ Now we want to use the PersistReco to make something more from the candidates, in this case a D* -> (D0 -> K pi) pi. Create a new script, `turbo_persistreco.py`, based on `turbo_intro.py` from the -previous lesson to contain your configuration. +[lesson about turbo ](19-turbo.html) to contain your configuration. There are some general options needed to configure DaVinci to recreate the particles created in the HLT. + ~~~ {.python} # Turbo with PersistReco from Configurables import DstConf, TurboConf @@ -31,8 +32,10 @@ them. > ## Persisted Particles {.challenge} > -> Use a GaudiPython script to find out which particles are persisted from the -> online reconstruction. +> Use a GaudiPython script inspired by +> [another lesson](http://lhcb.github.io/first-analysis-steps/05-interactive-dst.html) +> to find out which particles are persisted from the +> online reconstruction by exploring the transient event store. ~~~ {.python} # Get the D0 and the pions @@ -50,6 +53,7 @@ dst = CombineParticles( ~~~ To run our combination, we create a selection and a selection sequence. + ~~~ {.python} dst_sel = Selection( 'Sel_DstToD0pi',