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

Detailed Description

Definition at line 51 of file options.py.

Constructor & Destructor Documentation

def options.HLTProcessOptions.__init__ (   self)

Definition at line 52 of file options.py.

52 
53  def __init__(self):
54  self.menu = None # hlt menu
55  self.name = None # (*) if set, override the process name
56  self.type = 'GRun' # defines global options for 'GRun', 'HIon' or 'online' menus
57  self.data = True # run on data (true) or mc (false)
58  self.online = False # (*) run online (true) or offline (false)
59  self.globaltag = None # (*) if set, override the GlobalTag
60  self.l1 = None # (*) if set, override the L1 menu
61  self.unprescale = False # (*) if set, unprescale all paths
62  self.open = False # if set, cms.ignore all filters, making all paths run on and accept all events
63  self.timing = False # if set, instrument the menu for timing measurements
64  self.output = 'all' # (*) output 'all', 'minimal' or 'none' output modules
65  self.fragment = False # prepare a configuration fragment (true) or a whole process (false)
66  self.fastsim = False # prepare a configuration fragment suitable for FastSim
67 

Member Function Documentation

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

Definition at line 69 of file options.py.

69 
70  def __setattr__(self, name, value):
71  if name is 'menu' and type(value) is not ConnectionHLTMenu:
72  # format 'menu' as needed
73  object.__setattr__(self, name, ConnectionHLTMenu(value))
74  elif name is 'l1' and type(value) is not ConnectionL1TMenu:
75  # format '--l1' as needed
76  object.__setattr__(self, name, ConnectionL1TMenu(value))
77  elif name is 'fastsim' and value:
78  # '--fastsim' implies '--fragment' and '--mc'
79  object.__setattr__(self, 'fastsim', True)
80  object.__setattr__(self, 'fragment', True)
81  object.__setattr__(self, 'data', False)
82  elif name is 'open' and value:
83  # '--open' implies '--unprescale'
84  object.__setattr__(self, 'open', True)
85  object.__setattr__(self, 'unprescale', True)
86  elif name is 'timing' and value:
87  # '--timing' implies '--no-output'
88  object.__setattr__(self, 'timing', True)
89  object.__setattr__(self, 'output', 'none')
90  else:
91  object.__setattr__(self, name, value)

Member Data Documentation

options.HLTProcessOptions.data

Definition at line 56 of file options.py.

options.HLTProcessOptions.fastsim

Definition at line 65 of file options.py.

options.HLTProcessOptions.fragment

Definition at line 64 of file options.py.

options.HLTProcessOptions.globaltag

Definition at line 58 of file options.py.

options.HLTProcessOptions.l1

Definition at line 59 of file options.py.

options.HLTProcessOptions.menu

Definition at line 53 of file options.py.

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

options.HLTProcessOptions.name

Definition at line 54 of file options.py.

Referenced by python.rootplot.utilities.Hist.TGraph(), python.rootplot.utilities.Hist.TH1F(), and python.Vispa.Views.PropertyView.Property.valueChanged().

options.HLTProcessOptions.online

Definition at line 57 of file options.py.

options.HLTProcessOptions.open

Definition at line 61 of file options.py.

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

options.HLTProcessOptions.output

Definition at line 63 of file options.py.

options.HLTProcessOptions.timing

Definition at line 62 of file options.py.

options.HLTProcessOptions.type

Definition at line 55 of file options.py.

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

options.HLTProcessOptions.unprescale

Definition at line 60 of file options.py.

Referenced by confdb.HLTProcess.customize().