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

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


Member Function Documentation

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

Definition at line 93 of file options.py.

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

Member Data Documentation

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.

Definition at line 69 of file options.py.