CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
options.HLTProcessOptions Class Reference
Inheritance diagram for options.HLTProcessOptions:

Public Member Functions

def __init__
 
def __setattr__
 

Public Attributes

 data
 
 emulator
 
 errortype
 
 events
 
 fragment
 
 globaltag
 
 hilton
 
 input
 
 l1
 
 l1skim
 
 l1Xml
 
 menu
 
 name
 
 online
 
 open
 
 output
 
 parent
 
 paths
 
 prescale
 
 profiling
 
 timing
 
 type
 

Detailed Description

Definition at line 115 of file options.py.

Constructor & Destructor Documentation

def options.HLTProcessOptions.__init__ (   self)

Definition at line 116 of file options.py.

117  def __init__(self):
118  self.menu = None # hlt menu
119  self.name = 'HLTX' # (*) if set, override the process name
120  self.type = 'GRun' # defines global options for 'GRun', 'HIon', 'PIon' or 'online' menus
121  self.data = True # run on data (true) or mc (false)
122  self.online = False # (*) run online (true) or offline (false)
123  self.globaltag = None # (*) if set, override the GlobalTag
124  self.l1 = None # (*) if set, override the L1 menu
125  self.l1Xml = None # (*) if set, override the L1 menu Xml
126  self.l1skim = False # (*) if set, add snippet to process L1 skim files done with new L1, ignoring old L1
127  self.emulator = None # (*) if set, run (part of) the L1 emulator instead of taking the L1 results from the data
128  self.prescale = None # (*) if set, force the use of a specific prescale column. If set to "none", unprescale all paths
129  self.open = False # if set, cms.ignore all filters, making all paths run on and accept all events
130  self.errortype = False # if set, change all HLTTriggerTypeFilter EDFilters to accept only error events (SelectedTriggerType = 0)
131  self.profiling = False # if set, instrument the menu for profiling measurements
132  self.timing = False # if set, instrument the menu for timing measurements (implies profiling)
133  self.paths = None # if set, include in the dump only the given paths (wildcards are supported)
134  self.input = None # (*) if set, specify the input file(s) or dataset
135  self.parent = None # (*) if set, specify the parent input file(s) or dataset
136  self.events = 100 # (*) run on these many events
137  self.output = 'all' # (*) output 'all', 'minimal' or 'none' output modules
138  self.fragment = False # prepare a configuration fragment (true) or a whole process (false)
139  self.hilton = False # prepare a configuration for running with hilton-like modules
140 

Member Function Documentation

def options.HLTProcessOptions.__setattr__ (   self,
  name,
  value 
)

Definition at line 142 of file options.py.

References options.HLTProcessOptions.open.

143  def __setattr__(self, name, value):
144  if name is 'menu' and type(value) is not ConnectionHLTMenu:
145  # format 'menu' as needed
146  object.__setattr__(self, name, ConnectionHLTMenu(value))
147  elif name is 'l1' and type(value) is not ConnectionL1TMenu:
148  # format '--l1' as needed
149  object.__setattr__(self, name, ConnectionL1TMenu(value))
150  elif name is 'l1Xml' and type(value) is not ConnectionL1TMenuXml:
151  # format '--l1Xml' as needed
152  object.__setattr__(self, name, ConnectionL1TMenuXml(value))
153  elif name is 'open' and value:
154  # '--open' implies '--unprescale'
155  object.__setattr__(self, 'open', True)
156  object.__setattr__(self, 'prescale', "none")
157  elif name is 'prescale' and value is not None:
158  # '--open' overrides '--prescale', set the prescale value only if '--open' is not set
159  if not self.open:
160  object.__setattr__(self, 'prescale', value)
161  elif name is 'profiling' and value:
162  # '--profiling'
163  object.__setattr__(self, 'profiling', True)
164  elif name is 'timing' and value:
165  # '--timing' implies '--profiling'
166  object.__setattr__(self, 'timing', True)
167  object.__setattr__(self, 'profiling', True)
168  else:
169  object.__setattr__(self, name, value)

Member Data Documentation

options.HLTProcessOptions.data

Definition at line 120 of file options.py.

Referenced by cuy.FindIssue.__init__().

options.HLTProcessOptions.emulator

Definition at line 126 of file options.py.

options.HLTProcessOptions.errortype

Definition at line 129 of file options.py.

options.HLTProcessOptions.events

Definition at line 135 of file options.py.

Referenced by eventsfwlite.Events.__getattr__(), eventsfwlite.Events.__init__(), looper.Looper.loop(), and looper.Looper.process().

options.HLTProcessOptions.fragment

Definition at line 137 of file options.py.

options.HLTProcessOptions.globaltag

Definition at line 122 of file options.py.

options.HLTProcessOptions.hilton

Definition at line 138 of file options.py.

options.HLTProcessOptions.input

Definition at line 133 of file options.py.

options.HLTProcessOptions.l1

Definition at line 123 of file options.py.

Referenced by ZMuMuRochCorAnalyzer.DiMuon.leg1().

options.HLTProcessOptions.l1skim

Definition at line 125 of file options.py.

options.HLTProcessOptions.l1Xml

Definition at line 124 of file options.py.

options.HLTProcessOptions.menu

Definition at line 117 of file options.py.

Referenced by Vispa.Gui.WidgetContainer.WidgetContainer.mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer.mouseMoveEvent(), Vispa.Gui.WidgetContainer.WidgetContainer.showMenu(), and Vispa.Gui.WidgetContainer.WidgetContainer.toggleCollapse().

options.HLTProcessOptions.name

Definition at line 118 of file options.py.

Referenced by ElectronMVAID.ElectronMVAID.__call__(), dirstructure.Directory.__create_pie_image(), dqm_interfaces.DirID.__eq__(), dirstructure.Directory.__get_full_path(), dirstructure.Comparison.__get_img_name(), dataset.Dataset.__getDataType(), dataset.Dataset.__getFileInfoList(), cuy.divideElement.__init__(), cuy.plotElement.__init__(), cuy.additionElement.__init__(), cuy.superimposeElement.__init__(), cuy.graphElement.__init__(), dirstructure.Comparison.__make_image(), core.autovars.NTupleVariable.__repr__(), core.autovars.NTupleObjectType.__repr__(), core.autovars.NTupleObject.__repr__(), core.autovars.NTupleCollection.__repr__(), dirstructure.Directory.__repr__(), dqm_interfaces.DirID.__repr__(), dirstructure.Comparison.__repr__(), config.CFG.__str__(), counter.Counter.__str__(), average.Average.__str__(), core.autovars.NTupleObjectType.addSubObjects(), core.autovars.NTupleObjectType.addVariables(), core.autovars.NTupleObjectType.allVars(), dirstructure.Directory.calcStats(), validation.Sample.digest(), python.rootplot.utilities.Hist.divide(), python.rootplot.utilities.Hist.divide_wilson(), core.autovars.NTupleVariable.fillBranch(), core.autovars.NTupleObject.fillBranches(), core.autovars.NTupleCollection.fillBranchesScalar(), core.autovars.NTupleCollection.fillBranchesVector(), core.autovars.NTupleCollection.get_cpp_declaration(), core.autovars.NTupleCollection.get_cpp_wrapper_class(), core.autovars.NTupleCollection.get_py_wrapper_class(), utils.StatisticalTest.get_status(), production_tasks.Task.getname(), dataset.CMSDataset.getPrimaryDatasetEntries(), dataset.PrivateDataset.getPrimaryDatasetEntries(), VIDSelectorBase.VIDSelectorBase.initialize(), core.autovars.NTupleVariable.makeBranch(), core.autovars.NTupleObject.makeBranches(), core.autovars.NTupleCollection.makeBranchesScalar(), core.autovars.NTupleCollection.makeBranchesVector(), dirstructure.Directory.print_report(), dataset.BaseDataset.printInfo(), dataset.Dataset.printInfo(), production_tasks.MonitorJobs.run(), python.rootplot.utilities.Hist.TGraph(), python.rootplot.utilities.Hist.TH1F(), Vispa.Views.PropertyView.Property.valueChanged(), counter.Counter.write(), and average.Average.write().

options.HLTProcessOptions.online

Definition at line 121 of file options.py.

options.HLTProcessOptions.open

Definition at line 128 of file options.py.

Referenced by options.HLTProcessOptions.__setattr__(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.importConfig().

options.HLTProcessOptions.output

Definition at line 136 of file options.py.

options.HLTProcessOptions.parent

Definition at line 134 of file options.py.

Referenced by BeautifulSoup.PageElement._invert(), Vispa.Gui.ConnectableWidget.ConnectableWidget.addMenuEntry(), Vispa.Views.LineDecayView.LineDecayContainer.applyFilter(), Vispa.Views.BoxDecayView.BoxDecayContainer.arrangeUsingRelations(), Vispa.Views.BoxDecayView.BoxDecayContainer.autolayoutAlgorithm(), Vispa.Gui.ZoomableScrollableWidgetOwner.ZoomableScrollableWidgetOwner.autosizeScrollArea(), Vispa.Views.BoxDecayView.BoxDecayContainer.autosizeScrollArea(), Vispa.Gui.PortWidget.PortWidget.connectionPoint(), Vispa.Main.StartupScreen.StartupScreen.createDescriptionWidget(), Vispa.Views.BoxDecayView.BoxDecayContainer.dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer.dataAccessor(), Vispa.Views.LineDecayView.DecayLine.dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer.delete(), Vispa.Views.LineDecayView.DecayNode.delete(), Vispa.Views.LineDecayView.DecayLine.delete(), Vispa.Gui.VispaWidget.VispaWidget.delete(), Vispa.Gui.VispaWidget.VispaWidget.dragWidget(), Vispa.Share.ImageExporter.ImageExporter.exportImageDialog(), Vispa.Views.LineDecayView.DecayLine.extendedSize(), argparse.HelpFormatter._Section.format_help(), python.rootplot.argparse.HelpFormatter._Section.format_help(), edmIntegrityCheck.PublishToFileSystem.get(), Vispa.Gui.VispaWidget.VispaWidget.keyPressEvent(), Vispa.Gui.MenuWidget.MenuWidget.leaveEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget.leaveEvent(), Vispa.Gui.PortWidget.PortWidget.moduleParent(), Vispa.Gui.WidgetContainer.WidgetContainer.mouseDoubleClickEvent(), Vispa.Gui.VispaWidget.VispaWidget.mouseDoubleClickEvent(), Vispa.Gui.PortConnection.PointToPointConnection.mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget.mousePressEvent(), Vispa.Views.LineDecayView.ParticleWidget.mousePressEvent(), Vispa.Views.LineDecayView.DecayNode.move(), Vispa.Views.LineDecayView.LineDecayContainer.noDecorationsMode(), Vispa.Views.LineDecayView.LineDecayContainer.operationId(), Vispa.Views.LineDecayView.DecayLine.paint(), Vispa.Gui.VispaWidget.VispaWidget.paintEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget.positionizeMenuWidget(), edmIntegrityCheck.PublishToFileSystem.publish(), Vispa.Views.LineDecayView.DecayLine.qtLineStyle(), Vispa.Views.WidgetView.WidgetView.restoreSelection(), Vispa.Views.WidgetView.WidgetView.select(), Vispa.Gui.PortConnection.PointToPointConnection.select(), Vispa.Gui.VispaWidget.VispaWidget.select(), Vispa.Views.LineDecayView.LineDecayContainer.select(), Vispa.Views.LineDecayView.LineDecayContainer.sizeHint(), Vispa.Views.LineDecayView.LineDecayContainer.tabController(), Vispa.Views.BoxDecayView.BoxDecayContainer.toggleCollapsed(), Vispa.Views.LineDecayView.DecayNode.unite(), Vispa.Views.PropertyView.PropertyView.valueChanged(), Vispa.Views.BoxDecayView.BoxDecayContainer.widgetByObject(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner.widgetDoubleClicked(), and Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner.widgetDragged().

options.HLTProcessOptions.paths

Definition at line 132 of file options.py.

options.HLTProcessOptions.prescale

Definition at line 127 of file options.py.

options.HLTProcessOptions.profiling

Definition at line 130 of file options.py.

options.HLTProcessOptions.timing

Definition at line 131 of file options.py.

options.HLTProcessOptions.type

Definition at line 119 of file options.py.

Referenced by cuy.ValElement.__init__(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.inputCommands(), core.autovars.NTupleVariable.makeBranch(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.outputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.properties(), and core.AutoHandle.AutoHandle.ReallyLoad().