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
 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.

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.unprescale = False       # (*) if set, unprescale all paths
00062     self.open       = False       #     if set, cms.ignore all filters, making all paths run on and accept all events
00063     self.timing     = False       #     if set, instrument the menu for timing measurements
00064     self.output     = 'all'       # (*) output 'all', 'minimal' or 'none' output modules
00065     self.fragment   = False       #     prepare a configuration fragment (true) or a whole process (false)
00066     self.fastsim    = False       #     prepare a configuration fragment suitable for FastSim
00067 


Member Function Documentation

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

Definition at line 69 of file options.py.

00070                                     :
00071     if name is 'menu' and type(value) is not ConnectionHLTMenu:
00072       # format 'menu' as needed
00073       object.__setattr__(self, name, ConnectionHLTMenu(value))
00074     elif name is 'l1' and type(value) is not ConnectionL1TMenu:
00075       # format '--l1' as needed
00076       object.__setattr__(self, name, ConnectionL1TMenu(value))
00077     elif name is 'fastsim' and value:
00078       # '--fastsim' implies '--fragment' and '--mc'
00079       object.__setattr__(self, 'fastsim',    True)
00080       object.__setattr__(self, 'fragment',   True)
00081       object.__setattr__(self, 'data',       False)
00082     elif name is 'open' and value:
00083       # '--open' implies '--unprescale'
00084       object.__setattr__(self, 'open',       True)
00085       object.__setattr__(self, 'unprescale', True)
00086     elif name is 'timing' and value:
00087       # '--timing' implies '--no-output'
00088       object.__setattr__(self, 'timing',     True)
00089       object.__setattr__(self, 'output',     'none')
00090     else:
00091       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.