CMS 3D CMS Logo

Public Member Functions | Public Attributes

options::HLTProcessOptions Class Reference

List of all members.

Public Member Functions

def __init__
def __setattr__

Public Attributes

 data
 emulator
 fastsim
 fragment
 globaltag
 input
 l1
 menu
 name
 online
 open
 output
 paths
 profiling
 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.

00053                     :
00054     self.menu       = None        #     hlt menu
00055     self.name       = None        # (*) if set, override the process name
00056     self.type       = 'GRun'      #     defines global options for 'GRun', 'HIon' or 'online' menus
00057     self.data       = True        #     run on data (true) or mc (false)
00058     self.online     = False       # (*) run online (true) or offline (false)
00059     self.globaltag  = None        # (*) if set, override the GlobalTag
00060     self.l1         = None        # (*) if set, override the L1 menu
00061     self.emulator   = None        # (*) if set, run (part of) the L1 emulator instead of taking the L1 results from the data
00062     self.unprescale = False       # (*) if set, unprescale all paths
00063     self.open       = False       #     if set, cms.ignore all filters, making all paths run on and accept all events
00064     self.profiling  = False       #     if set, instrument the menu for profiling measurements
00065     self.timing     = False       #     if set, instrument the menu for timing measurements (implies profiling)
00066     self.paths      = None        #     if set, include in the dump only the given paths (wildcards are supported)
00067     self.input      = None        # (*) if set, run on a specific input file
00068     self.output     = 'all'       # (*) output 'all', 'minimal' or 'none' output modules
00069     self.fragment   = False       #     prepare a configuration fragment (true) or a whole process (false)
00070     self.fastsim    = False       #     prepare a configuration fragment suitable for FastSim
00071 


Member Function Documentation

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

Definition at line 73 of file options.py.

00074                                     :
00075     if name is 'menu' and type(value) is not ConnectionHLTMenu:
00076       # format 'menu' as needed
00077       object.__setattr__(self, name, ConnectionHLTMenu(value))
00078     elif name is 'l1' and type(value) is not ConnectionL1TMenu:
00079       # format '--l1' as needed
00080       object.__setattr__(self, name, ConnectionL1TMenu(value))
00081     elif name is 'fastsim' and value:
00082       # '--fastsim' implies '--fragment' and '--mc'
00083       object.__setattr__(self, 'fastsim',    True)
00084       object.__setattr__(self, 'fragment',   True)
00085       object.__setattr__(self, 'data',       False)
00086     elif name is 'open' and value:
00087       # '--open' implies '--unprescale'
00088       object.__setattr__(self, 'open',       True)
00089       object.__setattr__(self, 'unprescale', True)
00090     elif name is 'profiling' and value:
00091       # '--profiling' implies implies '--no-output'
00092       object.__setattr__(self, 'profiling',  True)
00093       object.__setattr__(self, 'output',     'none')
00094     elif name is 'timing' and value:
00095       # '--timing' implies '--profiling' and '--no-output'
00096       object.__setattr__(self, 'timing',     True)
00097       object.__setattr__(self, 'profiling',  True)
00098       object.__setattr__(self, 'output',     'none')
00099     else:
00100       object.__setattr__(self, name, value)

Member Data Documentation

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.

Definition at line 52 of file options.py.