User Tools

Site Tools


davinci:tthitslongtrack

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
davinci:tthitslongtrack [2010/10/22 17:43] – created decianmdavinci:tthitslongtrack [2010/10/22 17:43] (current) decianm
Line 1: Line 1:
-====== How to cut on number of TT hits on long tracks ======+====== How to cut on number of TT hits on tracks ======
 ===== Problem ===== ===== 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. 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.
Line 6: Line 6:
 In your Combine Particles or wherever LoKi cuts can be applied, do: In your Combine Particles or wherever LoKi cuts can be applied, do:
 <code python> <code python>
-MyAlog.Preambulo += [ 'from LoKiTrigger.decorators import *' ] +MyAlgo.Preambulo += [ 'from LoKiTrigger.decorators import *' ] 
 ... ...
 Code =  '(TRCUT ( 2 < TrIDC ('isTT') )' Code =  '(TRCUT ( 2 < TrIDC ('isTT') )'
 </code> </code>
- +This will demand tracks with more than 2 TT hits.
  
  
davinci/tthitslongtrack.1287762188.txt.gz · Last modified: by decianm