User Tools

Site Tools


search:dst

Differences

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

Link to this comparison view

search:dst [2012/03/27 14:05] – created nchiapsearch:dst [2012/03/28 11:02] (current) nchiap
Line 8: Line 8:
 </code> </code>
  
 +At the start of the dst-exploerer a short help gets printed. You find it below for reference.
  
 +<code>
 +   1) exploring (r,s,m,fm)DSTs:
 +
 +       >>> ls('/Event')
 +       >>> ls('/Event/Charm')
 +       >>> ls('/Event/Charm/Phys')
 +       >>> ls('/Event/Charm/Phys/D2KKK')
 +
 +    2) getting particles from TES and loop over them :
 + 
 +       >>> Ds = get('/Event/Charm/Phys/D2KKK')
 +       >>> for D in Ds : print D.decay()
 +
 +    3) go to the next event:
 +
 +       >>> run(1)
 +       >>> ls('/Event')
 +
 +    4) loop over events in search for ``valid'' data
 +
 +       >>> Ds, evt = seekForData('/Event/Charm/Phys/DstarForPromptCharm/Particles' )
 +
 +    5) loop in search for event with certain Stripping Decision:
 +
 +       >>> ok, evt = seekStripDecision('.*Lam.*' )
 +</code>
search/dst.1332849946.txt.gz · Last modified: by nchiap