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/04/20 10:46] – [How to get the name of the lines] decianmstripping:stripping [2011/04/20 11:09] (current) – [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
-    print stream.name()"\t", stream.outputLocations(+    if(stream.name() == "Calibration"): 
-    for line in stream.lines : +        for line in stream.lines : 
-        print line.name(), "\t", line.outputLocation()+           print line.name(), "\t", line.outputLocation()
 </code> </code>
 ===== How to access the event ===== ===== How to access the event =====
stripping/stripping.1303289169.txt.gz · Last modified: 2011/04/20 10:46 by decianm