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
Eras.Eras Class Reference
Inheritance diagram for Eras.Eras:

Public Member Functions

def __init__
 

Public Attributes

 fastSim
 
 internalUseEras
 
 Run1
 
 Run2_2016
 
 Run2_25ns
 
 run2_25ns_specific
 
 Run2_50ns
 
 run2_50ns_specific
 
 run2_common
 
 Run2_HI
 
 run2_HI_specific
 
 stage1L1Trigger
 
 stage2L1Trigger
 

Detailed Description

Dummy container for all the cms.Modifier instances that config fragments
can use to selectively configure depending on what scenario is active.

Definition at line 3 of file Eras.py.

Constructor & Destructor Documentation

def Eras.Eras.__init__ (   self)

Definition at line 8 of file Eras.py.

8 
9  def __init__(self):
10  # These eras should not be set directly by the user.
11  self.run2_common = cms.Modifier()
12  self.run2_25ns_specific = cms.Modifier()
13  self.run2_50ns_specific = cms.Modifier()
14  self.run2_HI_specific = cms.Modifier()
15  self.stage1L1Trigger = cms.Modifier()
16  self.stage2L1Trigger = cms.Modifier()
17  # Implementation note: When this was first started, stage1L1Trigger wasn't in all
18  # of the eras. Now that it is, it could in theory be dropped if all changes are
19  # converted to run2_common (i.e. a search and replace of "stage1L1Trigger" to
20  # "run2_common" over the whole python tree). In practice, I don't think it's worth
21  # it, and this also gives the flexibilty to take it out easily.
22 
23  # This era should not be set by the user with the "--era" command, it's
24  # activated automatically if the "--fast" command is used.
25  self.fastSim = cms.Modifier()
26 
27  #
28  # These are the eras that the user should specify
29  #
30  # Run1 currently does nothing. It's useful to use as a no-operation era commands when scripting,
31  # but also retains the flexibility to add Run1 specific commands at a later date.
32  self.Run1 = cms.Modifier()
33  # The various Run2 scenarios for 2015 startup.
34  self.Run2_25ns = cms.ModifierChain( self.run2_common, self.run2_25ns_specific, self.stage1L1Trigger )
35  self.Run2_50ns = cms.ModifierChain( self.run2_common, self.run2_50ns_specific, self.stage1L1Trigger )
36  self.Run2_HI = cms.ModifierChain( self.run2_common, self.run2_HI_specific, self.stage1L1Trigger )
37  # Future Run 2 scenarios.
38  self.Run2_2016 = cms.ModifierChain( self.run2_common, self.run2_25ns_specific, self.stage2L1Trigger )
39 
40  # The only thing this collection is used for is for cmsDriver to
41  # warn the user if they specify an era that is discouraged from being
42  # set directly. It also stops these eras being printed in the error
43  # message of available values when an invalid era is specified.
46  self.stage1L1Trigger, self.fastSim ]
47 
48 eras=Eras()
Run2_50ns
Definition: Eras.py:34
run2_25ns_specific
Definition: Eras.py:11
run2_50ns_specific
Definition: Eras.py:12
run2_HI_specific
Definition: Eras.py:13
Run2_HI
Definition: Eras.py:35
stage1L1Trigger
Definition: Eras.py:14
stage2L1Trigger
Definition: Eras.py:15
internalUseEras
Definition: Eras.py:43
Definition: Eras.py:3
run2_common
Definition: Eras.py:10
Run1
Definition: Eras.py:31
fastSim
Definition: Eras.py:24
def __init__
Definition: Eras.py:8
Run2_2016
Definition: Eras.py:37
Run2_25ns
Definition: Eras.py:33

Member Data Documentation

Eras.Eras.fastSim

Definition at line 24 of file Eras.py.

Eras.Eras.internalUseEras

Definition at line 43 of file Eras.py.

Eras.Eras.Run1

Definition at line 31 of file Eras.py.

Eras.Eras.Run2_2016

Definition at line 37 of file Eras.py.

Eras.Eras.Run2_25ns

Definition at line 33 of file Eras.py.

Eras.Eras.run2_25ns_specific

Definition at line 11 of file Eras.py.

Eras.Eras.Run2_50ns

Definition at line 34 of file Eras.py.

Eras.Eras.run2_50ns_specific

Definition at line 12 of file Eras.py.

Eras.Eras.run2_common

Definition at line 10 of file Eras.py.

Eras.Eras.Run2_HI

Definition at line 35 of file Eras.py.

Eras.Eras.run2_HI_specific

Definition at line 13 of file Eras.py.

Eras.Eras.stage1L1Trigger

Definition at line 14 of file Eras.py.

Eras.Eras.stage2L1Trigger

Definition at line 15 of file Eras.py.