ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/Configuration/python/processingUtilities.py
(Generate patch)

Comparing UserCode/OSUT3Analysis/Configuration/python/processingUtilities.py (file contents):
Revision 1.28 by ahart, Fri Jul 5 14:04:58 2013 UTC vs.
Revision 1.29 by ahart, Fri Jul 5 15:21:10 2013 UTC

# Line 141 | Line 141 | def add_stops (options, masses, ctaus, b
141                  options['labels'][topDatasetName] = "#tilde{t}#tilde{t}#rightarrowtt#nu#nu (#LTc#tau#GT = " + str (ctau) + " mm)"
142                  options['labels'][mixedDatasetName] = "#tilde{t}#tilde{t}#rightarrowbtl#nu (#LTc#tau#GT = " + str (ctau) + " mm)"
143  
144 < def add_channels (process, channels):
144 > def add_channels (process, channels, outputCommands = ["keep *"]):
145      suffix = ""
146      if osusub.batchMode:
147          suffix = "_" + str (osusub.jobNumber)
# Line 159 | Line 159 | def add_channels (process, channels):
159              SelectEvents = cms.vstring ("myFilterPath" + str (i))
160            ),
161            outputCommands = cms.untracked.vstring (
162 <            "keep *",
162 >            outputCommands
163            ),
164            dropMetaData = cms.untracked.string ("ALL")
165          )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines