Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Configuration
StandardSequences
python
Eras.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
class
Eras
(
object
):
4
"""
5
Dummy container for all the cms.Modifier instances that config fragments
6
can use to selectively configure depending on what scenario is active.
7
"""
8
def
__init__
(self):
9
# These eras should not be set directly by the user.
10
self.
run2_common
= cms.Modifier()
11
self.
run2_25ns_specific
= cms.Modifier()
12
self.
run2_50ns_specific
= cms.Modifier()
13
self.
run2_HI_specific
= cms.Modifier()
14
self.
stage1L1Trigger
= cms.Modifier()
15
16
# These are the eras that the user should specify
17
self.
Run2_25ns
= cms.ModifierChain( self.
run2_common
, self.
run2_25ns_specific
, self.
stage1L1Trigger
)
18
self.
Run2_50ns
= cms.ModifierChain( self.
run2_common
, self.
run2_50ns_specific
)
19
self.
Run2_HI
= cms.ModifierChain( self.
run2_common
, self.
run2_HI_specific
, self.
stage1L1Trigger
)
20
21
# The only thing this collection is used for is for cmsDriver to
22
# warn the user if they specify an era that is discouraged from being
23
# set directly. It also stops these eras being printed in the error
24
# message of available values when an invalid era is specified.
25
self.
internalUseEras
= [self.
run2_common
, self.
run2_25ns_specific
,
26
self.
run2_50ns_specific
, self.
run2_HI_specific
,
27
self.
stage1L1Trigger
]
28
29
eras=
Eras
()
Eras.Eras.Run2_50ns
Run2_50ns
Definition:
Eras.py:18
Eras.Eras.run2_25ns_specific
run2_25ns_specific
Definition:
Eras.py:11
Eras.Eras.run2_50ns_specific
run2_50ns_specific
Definition:
Eras.py:12
Config
Eras.Eras.run2_HI_specific
run2_HI_specific
Definition:
Eras.py:13
Eras.Eras.Run2_HI
Run2_HI
Definition:
Eras.py:19
Eras.Eras.stage1L1Trigger
stage1L1Trigger
Definition:
Eras.py:14
Eras.Eras.internalUseEras
internalUseEras
Definition:
Eras.py:25
Eras.Eras
Definition:
Eras.py:3
Eras.Eras.run2_common
run2_common
Definition:
Eras.py:10
Eras.Eras.__init__
def __init__
Definition:
Eras.py:8
Eras.Eras.Run2_25ns
Run2_25ns
Definition:
Eras.py:17
dbtoconf.object
list object
Definition:
dbtoconf.py:77
Generated for CMSSW Reference Manual by
1.8.5