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
stripping:stripping [2011/02/18 13:17] – [How to test stripping lines on the GRID] decianmstripping:stripping [2011/04/20 11:09] (current) – [How to get the name of the lines] decianm
Line 20: Line 20:
   * 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.
  
 +From Stripping 13 on, you have to do something like:
 +
 +<code python>
 +from StrippingSelections.Utils import buildStreams
 +streams = buildStreams('Stripping13')
 +
 +for stream in streams:
 +    if(stream.name() == "Calibration"):
 +        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: 
stripping/stripping.1298031479.txt.gz · Last modified: 2011/02/18 13:17 by decianm