User Tools

Site Tools


davinci:tthitslongtrack

How to cut on number of TT hits on tracks

Problem

Some of the long tracks don't have TT hits. However, it may be useful to distinguish in an analysis long tracks with and without TT hits.

Code

In your Combine Particles or wherever LoKi cuts can be applied, do:

MyAlgo.Preambulo += [ 'from LoKiTrigger.decorators import *' ] 
...
Code =  '(TRCUT ( 2 < TrIDC ('isTT') )'

This will demand tracks with more than 2 TT hits.

davinci/tthitslongtrack.txt · Last modified: 2010/10/22 17:43 by decianm