User Tools

Site Tools


stripping:stripping

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
stripping:stripping [2011/02/18 13:17] decianmstripping:stripping [2011/04/20 10:46] – [How to get the name of the lines] decianm
Line 19: Line 19:
 </code> </code>
   * This will give you something like: ''StrippingDiMuonIncLine Dimuon/Phys/DiMuonIncLine'', where the first one is your line and the second one the location.   * This will give you something like: ''StrippingDiMuonIncLine Dimuon/Phys/DiMuonIncLine'', where the first one is your line and the second one the location.
 +<code python>
 +from StrippingSettings.Stripping12 import streams
 +_streams = streams()
  
 +for stream in _streams:
 +    print stream.name(), "\t", stream.outputLocations()
 +    for line in stream.lines :
 +        print line.name(), "\t", line.outputLocation()
 +</code>
 ===== How to access the event ===== ===== How to access the event =====
 To access the event, you have to set the correct path, f.ex:  To access the event, you have to set the correct path, f.ex: 
Line 34: Line 42:
 ===== How to test stripping lines on the GRID ===== ===== How to test stripping lines on the GRID =====
 First you have to make sure, the SDSTs as well as the RAW files are accessible and are staged in (as in the test-samples). First you have to make sure, the SDSTs as well as the RAW files are accessible and are staged in (as in the test-samples).
-In ganga then you can do the following:+In ganga then you can do the following (in addition to the usual things):
 <code python> <code python>
 j.inputdata = DaVinci().readInputData('/someDirectory/something_SDST.py') j.inputdata = DaVinci().readInputData('/someDirectory/something_SDST.py')
stripping/stripping.txt · Last modified: 2011/04/20 11:09 by decianm