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
 l1Xml
 menu
 name
 online
 open
 output
 paths
 profiling
 timing
 type
 unprescale

Detailed Description

Definition at line 67 of file options.py.


Constructor & Destructor Documentation

def options::HLTProcessOptions::__init__ (   self)

Definition at line 68 of file options.py.

00069                     :
00070     self.menu       = None        #     hlt menu
00071     self.name       = 'HLTX'      # (*) if set, override the process name
00072     self.type       = 'GRun'      #     defines global options for 'GRun', 'HIon' or 'online' menus
00073     self.data       = True        #     run on data (true) or mc (false)
00074     self.online     = False       # (*) run online (true) or offline (false)
00075     self.globaltag  = None        # (*) if set, override the GlobalTag
00076     self.l1         = None        # (*) if set, override the L1 menu
00077     self.l1Xml      = None        # (*) if set, override the L1 menu Xml
00078     self.emulator   = None        # (*) if set, run (part of) the L1 emulator instead of taking the L1 results from the data
00079     self.unprescale = False       # (*) if set, unprescale all paths
00080     self.open       = False       #     if set, cms.ignore all filters, making all paths run on and accept all events
00081     self.profiling  = False       #     if set, instrument the menu for profiling measurements
00082     self.timing     = False       #     if set, instrument the menu for timing measurements (implies profiling)
00083     self.paths      = None        #     if set, include in the dump only the given paths (wildcards are supported)
00084     self.input      = None        # (*) if set, run on a specific input file
00085     self.output     = 'all'       # (*) output 'all', 'minimal' or 'none' output modules
00086     self.fragment   = False       #     prepare a configuration fragment (true) or a whole process (false)
00087     self.fastsim    = False       #     prepare a configuration fragment suitable for FastSim
00088 


Member Function Documentation

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

Definition at line 90 of file options.py.

00091                                     :
00092     if name is 'menu' and type(value) is not ConnectionHLTMenu:
00093       # format 'menu' as needed
00094       object.__setattr__(self, name, ConnectionHLTMenu(value))
00095     elif name is 'l1' and type(value) is not ConnectionL1TMenu:
00096       # format '--l1' as needed
00097       object.__setattr__(self, name, ConnectionL1TMenu(value))
00098     elif name is 'l1Xml' and type(value) is not ConnectionL1TMenuXml:
00099       # format '--l1Xml' as needed
00100       object.__setattr__(self, name, ConnectionL1TMenuXml(value))
00101     elif name is 'fastsim' and value:
00102       # '--fastsim' implies '--fragment' and '--mc'
00103       object.__setattr__(self, 'fastsim',    True)
00104       object.__setattr__(self, 'fragment',   True)
00105       object.__setattr__(self, 'data',       False)
00106     elif name is 'open' and value:
00107       # '--open' implies '--unprescale'
00108       object.__setattr__(self, 'open',       True)
00109       object.__setattr__(self, 'unprescale', True)
00110     elif name is 'profiling' and value:
00111       # '--profiling' implies implies '--no-output'
00112       object.__setattr__(self, 'profiling',  True)
00113       object.__setattr__(self, 'output',     'none')
00114     elif name is 'timing' and value:
00115       # '--timing' implies '--profiling' and '--no-output'
00116       object.__setattr__(self, 'timing',     True)
00117       object.__setattr__(self, 'profiling',  True)
00118       object.__setattr__(self, 'output',     'none')
00119     else:
00120       object.__setattr__(self, name, value)

Member Data Documentation

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.

Definition at line 68 of file options.py.