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
Last revisionBoth sides next revision
stripping:stripping [2011/04/20 10:46] – [How to get the name of the lines] decianmstripping:stripping [2011/04/20 11:09] – [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.
 +
 +From Stripping 13 on, you have to do something like:
 +
 <code python> <code python>
-from StrippingSettings.Stripping12 import streams +from StrippingSelections.Utils import buildStreams 
-_streams streams()+streams = buildStreams('Stripping13')
  
-for stream in _streams:+for stream in streams: 
 +    if(stream.name() == "Calibration"):
     print stream.name(), "\t", stream.outputLocations()     print stream.name(), "\t", stream.outputLocations()
     for line in stream.lines :     for line in stream.lines :
stripping/stripping.txt · Last modified: 2011/04/20 11:09 by decianm