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
 
 fastsim
 
 fragment
 
 globaltag
 
 input
 
 l1
 
 l1Xml
 
 menu
 
 name
 
 online
 
 open
 
 output
 
 paths
 
 profiling
 
 timing
 
 type
 
 unprescale
 

Detailed Description

Definition at line 68 of file options.py.

Constructor & Destructor Documentation

def options.HLTProcessOptions.__init__ (   self)

Definition at line 69 of file options.py.

69 
70  def __init__(self):
71  self.menu = None # hlt menu
72  self.name = 'HLTX' # (*) if set, override the process name
73  self.type = 'GRun' # defines global options for 'GRun', 'HIon', 'PIon' or 'online' menus
74  self.data = True # run on data (true) or mc (false)
75  self.online = False # (*) run online (true) or offline (false)
76  self.globaltag = None # (*) if set, override the GlobalTag
77  self.l1 = None # (*) if set, override the L1 menu
78  self.l1Xml = None # (*) if set, override the L1 menu Xml
79  self.emulator = None # (*) if set, run (part of) the L1 emulator instead of taking the L1 results from the data
80  self.unprescale = False # (*) if set, unprescale all paths
81  self.open = False # if set, cms.ignore all filters, making all paths run on and accept all events
82  self.errortype = False # if set, change all HLTTriggerTypeFilter EDFilters to accept only error events (SelectedTriggerType = 0)
83  self.profiling = False # if set, instrument the menu for profiling measurements
84  self.timing = False # if set, instrument the menu for timing measurements (implies profiling)
85  self.paths = None # if set, include in the dump only the given paths (wildcards are supported)
86  self.input = None # (*) if set, run on a specific input file
87  self.events = 100 # (*) run on these many events
88  self.output = 'all' # (*) output 'all', 'minimal' or 'none' output modules
89  self.fragment = False # prepare a configuration fragment (true) or a whole process (false)
90  self.fastsim = False # prepare a configuration fragment suitable for FastSim
91 

Member Function Documentation

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

Definition at line 93 of file options.py.

93 
94  def __setattr__(self, name, value):
95  if name is 'menu' and type(value) is not ConnectionHLTMenu:
96  # format 'menu' as needed
97  object.__setattr__(self, name, ConnectionHLTMenu(value))
98  elif name is 'l1' and type(value) is not ConnectionL1TMenu:
99  # format '--l1' as needed
100  object.__setattr__(self, name, ConnectionL1TMenu(value))
101  elif name is 'l1Xml' and type(value) is not ConnectionL1TMenuXml:
102  # format '--l1Xml' as needed
103  object.__setattr__(self, name, ConnectionL1TMenuXml(value))
104  elif name is 'fastsim' and value:
105  # '--fastsim' implies '--fragment' and '--mc'
106  object.__setattr__(self, 'fastsim', True)
107  object.__setattr__(self, 'fragment', True)
108  object.__setattr__(self, 'data', False)
109  elif name is 'open' and value:
110  # '--open' implies '--unprescale'
111  object.__setattr__(self, 'open', True)
112  object.__setattr__(self, 'unprescale', True)
113  elif name is 'profiling' and value:
114  # '--profiling'
115  object.__setattr__(self, 'profiling', True)
116  elif name is 'timing' and value:
117  # '--timing' implies '--profiling'
118  object.__setattr__(self, 'timing', True)
119  object.__setattr__(self, 'profiling', True)
120  else:
121  object.__setattr__(self, name, value)

Member Data Documentation

options.HLTProcessOptions.data

Definition at line 73 of file options.py.

Referenced by cuy.FindIssue.__init__().

options.HLTProcessOptions.emulator

Definition at line 78 of file options.py.

options.HLTProcessOptions.errortype

Definition at line 81 of file options.py.

options.HLTProcessOptions.events

Definition at line 86 of file options.py.

options.HLTProcessOptions.fastsim

Definition at line 89 of file options.py.

options.HLTProcessOptions.fragment

Definition at line 88 of file options.py.

options.HLTProcessOptions.globaltag

Definition at line 75 of file options.py.

options.HLTProcessOptions.input

Definition at line 85 of file options.py.

options.HLTProcessOptions.l1

Definition at line 76 of file options.py.

options.HLTProcessOptions.l1Xml

Definition at line 77 of file options.py.

options.HLTProcessOptions.menu

Definition at line 70 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 71 of file options.py.

Referenced by dirstructure.Directory.__create_pie_image(), dqm_interfaces.DirID.__eq__(), dirstructure.Directory.__get_full_path(), dirstructure.Comparison.__get_img_name(), dataset.Dataset.__getFileInfoList(), cuy.divideElement.__init__(), cuy.plotElement.__init__(), cuy.additionElement.__init__(), cuy.superimposeElement.__init__(), cuy.graphElement.__init__(), dirstructure.Comparison.__make_image(), dirstructure.Directory.__repr__(), dqm_interfaces.DirID.__repr__(), dirstructure.Comparison.__repr__(), dirstructure.Directory.calcStats(), python.rootplot.utilities.Hist.divide(), python.rootplot.utilities.Hist.divide_wilson(), utils.StatisticalTest.get_status(), dirstructure.Directory.print_report(), python.rootplot.utilities.Hist.TGraph(), python.rootplot.utilities.Hist.TH1F(), and Vispa.Views.PropertyView.Property.valueChanged().

options.HLTProcessOptions.online

Definition at line 74 of file options.py.

options.HLTProcessOptions.open

Definition at line 80 of file options.py.

Referenced by Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.importConfig().

options.HLTProcessOptions.output

Definition at line 87 of file options.py.

options.HLTProcessOptions.paths

Definition at line 84 of file options.py.

options.HLTProcessOptions.profiling

Definition at line 82 of file options.py.

options.HLTProcessOptions.timing

Definition at line 83 of file options.py.

options.HLTProcessOptions.type

Definition at line 72 of file options.py.

Referenced by cuy.ValElement.__init__(), argparse.Action.__init__(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.inputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.outputEventContent(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.properties().

options.HLTProcessOptions.unprescale

Definition at line 79 of file options.py.