test
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

 ctpps_2016
 
 fastSim
 
 internalUseEras
 
 pA_2016
 
 peripheralPbPb
 
 phase1Pixel
 
 Phase2
 
 phase2_common
 
 phase2_hgc
 
 phase2_muon
 
 phase2_tracker
 
 Phase2dev
 
 phase2dev_common
 
 phase2dev_hgc
 
 phase2dev_muon
 
 phase2dev_tracker
 
 Run1
 
 Run1_pA
 
 Run1_peripheralPbPb
 
 Run2_2016
 
 Run2_2016_pA
 
 Run2_2016_trackingLowPU
 
 Run2_2017
 
 Run2_25ns
 
 Run2_25ns_peripheralPbPb
 
 run2_25ns_specific
 
 Run2_50ns
 
 run2_50ns_specific
 
 run2_common
 
 run2_HF_2016
 
 Run2_HI
 
 run2_HI_specific
 
 stage1L1Trigger
 
 stage2L1Trigger
 
 trackingLowPU
 

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.run2_HF_2016 = cms.Modifier()
16  self.ctpps_2016 = cms.Modifier()
17  self.stage1L1Trigger = cms.Modifier()
18  self.stage2L1Trigger = cms.Modifier()
19  self.peripheralPbPb = cms.Modifier()
20  self.pA_2016 = cms.Modifier()
21  self.phase1Pixel = cms.Modifier()
22  # Implementation note: When this was first started, stage1L1Trigger wasn't in all
23  # of the eras. Now that it is, it could in theory be dropped if all changes are
24  # converted to run2_common (i.e. a search and replace of "stage1L1Trigger" to
25  # "run2_common" over the whole python tree). In practice, I don't think it's worth
26  # it, and this also gives the flexibilty to take it out easily.
27 
28  # Phase 2 sub-eras for stable features
29  self.phase2_common = cms.Modifier()
30  self.phase2_tracker = cms.Modifier()
31  self.phase2_hgc = cms.Modifier()
32  self.phase2_muon = cms.Modifier()
33  # Phase 2 sub-eras for in-development features
34  self.phase2dev_common = cms.Modifier()
35  self.phase2dev_tracker = cms.Modifier()
36  self.phase2dev_hgc = cms.Modifier()
37  self.phase2dev_muon = cms.Modifier()
38 
39 
40  # These eras are used to specify the tracking configuration
41  # when it should differ from the default (which is Run2). This
42  # way the tracking configuration is decoupled from the
43  # detector geometry to allow e.g. running Run2 tracking on
44  # phase1Pixel detector.
45  self.trackingLowPU = cms.Modifier()
46 
47  # This era should not be set by the user with the "--era" command, it's
48  # activated automatically if the "--fast" command is used.
49  self.fastSim = cms.Modifier()
50 
51  #
52  # These are the eras that the user should specify
53  #
54  # Run1 currently does nothing. It's useful to use as a no-operation era commands when scripting,
55  # but also retains the flexibility to add Run1 specific commands at a later date.
56  self.Run1 = cms.Modifier()
57  self.Run1_peripheralPbPb = cms.ModifierChain(self.Run1, self.peripheralPbPb)
58  self.Run1_pA = cms.ModifierChain(self.Run1, self.pA_2016)
59  # The various Run2 scenarios for 2015 startup.
60  self.Run2_25ns = cms.ModifierChain( self.run2_common, self.run2_25ns_specific, self.stage1L1Trigger )
61  self.Run2_50ns = cms.ModifierChain( self.run2_common, self.run2_50ns_specific )
62  self.Run2_HI = cms.ModifierChain( self.run2_common, self.run2_HI_specific, self.stage1L1Trigger )
63  self.Run2_25ns_peripheralPbPb = cms.ModifierChain( self.Run2_25ns, self.peripheralPbPb )
64  # Future Run 2 scenarios.
65  self.Run2_2016 = cms.ModifierChain( self.run2_common, self.run2_25ns_specific, self.stage2L1Trigger, self.run2_HF_2016, self.ctpps_2016 )
66  self.Run2_2016_pA = cms.ModifierChain( self.Run2_2016, self.pA_2016 )
67  self.Run2_2017 = cms.ModifierChain( self.Run2_2016, self.phase1Pixel )
68  # Scenarios further afield.
69  # Phase2 is everything for the 2023 (2026?) detector that works so far in this release.
70  self.Phase2 = cms.ModifierChain( self.phase2_common, self.phase2_tracker, self.phase2_hgc, self.phase2_muon )
71  # Phase2dev is everything for the 2023 (2026?) detector that is still in development.
72  self.Phase2dev = cms.ModifierChain( self.Phase2, self.phase2dev_common, self.phase2dev_tracker, self.phase2dev_hgc, self.phase2dev_muon )
73 
74  # Scenarios with low-PU tracking (for B=0T reconstruction)
75  self.Run2_2016_trackingLowPU = cms.ModifierChain(self.Run2_2016, self.trackingLowPU)
76 
77  # The only thing this collection is used for is for cmsDriver to
78  # warn the user if they specify an era that is discouraged from being
79  # set directly. It also stops these eras being printed in the error
80  # message of available values when an invalid era is specified.
83  self.stage1L1Trigger, self.fastSim,
84  self.run2_HF_2016, self.stage2L1Trigger,
85  self.peripheralPbPb, self.pA_2016,
86  self.phase1Pixel,
87  self.phase2_common, self.phase2_tracker,
88  self.phase2_hgc, self.phase2_muon,
90  self.phase2dev_hgc, self.phase2dev_muon,
91  self.trackingLowPU
92  ]
93 
94 eras=Eras()
phase2_common
Definition: Eras.py:28
Run1_pA
Definition: Eras.py:57
Run2_50ns
Definition: Eras.py:60
phase2_muon
Definition: Eras.py:31
run2_25ns_specific
Definition: Eras.py:11
phase1Pixel
Definition: Eras.py:20
phase2dev_common
Definition: Eras.py:33
run2_50ns_specific
Definition: Eras.py:12
run2_HI_specific
Definition: Eras.py:13
Run2_HI
Definition: Eras.py:61
phase2dev_muon
Definition: Eras.py:36
stage1L1Trigger
Definition: Eras.py:16
Run2_2016_trackingLowPU
Definition: Eras.py:74
Run1_peripheralPbPb
Definition: Eras.py:56
stage2L1Trigger
Definition: Eras.py:17
run2_HF_2016
Definition: Eras.py:14
internalUseEras
Definition: Eras.py:80
Definition: Eras.py:3
run2_common
Definition: Eras.py:10
phase2dev_tracker
Definition: Eras.py:34
Run2_25ns_peripheralPbPb
Definition: Eras.py:62
peripheralPbPb
Definition: Eras.py:18
Run2_2017
Definition: Eras.py:66
phase2_hgc
Definition: Eras.py:30
phase2dev_hgc
Definition: Eras.py:35
Run1
Definition: Eras.py:55
fastSim
Definition: Eras.py:48
trackingLowPU
Definition: Eras.py:44
def __init__
Definition: Eras.py:8
Phase2
Definition: Eras.py:69
Run2_2016
Definition: Eras.py:64
phase2_tracker
Definition: Eras.py:29
Run2_25ns
Definition: Eras.py:59
ctpps_2016
Definition: Eras.py:15
Phase2dev
Definition: Eras.py:71
pA_2016
Definition: Eras.py:19
Run2_2016_pA
Definition: Eras.py:65

Member Data Documentation

Eras.Eras.ctpps_2016

Definition at line 15 of file Eras.py.

Eras.Eras.fastSim

Definition at line 48 of file Eras.py.

Eras.Eras.internalUseEras

Definition at line 80 of file Eras.py.

Eras.Eras.pA_2016

Definition at line 19 of file Eras.py.

Eras.Eras.peripheralPbPb

Definition at line 18 of file Eras.py.

Eras.Eras.phase1Pixel

Definition at line 20 of file Eras.py.

Eras.Eras.Phase2

Definition at line 69 of file Eras.py.

Eras.Eras.phase2_common

Definition at line 28 of file Eras.py.

Eras.Eras.phase2_hgc

Definition at line 30 of file Eras.py.

Eras.Eras.phase2_muon

Definition at line 31 of file Eras.py.

Eras.Eras.phase2_tracker

Definition at line 29 of file Eras.py.

Eras.Eras.Phase2dev

Definition at line 71 of file Eras.py.

Eras.Eras.phase2dev_common

Definition at line 33 of file Eras.py.

Eras.Eras.phase2dev_hgc

Definition at line 35 of file Eras.py.

Eras.Eras.phase2dev_muon

Definition at line 36 of file Eras.py.

Eras.Eras.phase2dev_tracker

Definition at line 34 of file Eras.py.

Eras.Eras.Run1

Definition at line 55 of file Eras.py.

Eras.Eras.Run1_pA

Definition at line 57 of file Eras.py.

Eras.Eras.Run1_peripheralPbPb

Definition at line 56 of file Eras.py.

Eras.Eras.Run2_2016

Definition at line 64 of file Eras.py.

Eras.Eras.Run2_2016_pA

Definition at line 65 of file Eras.py.

Eras.Eras.Run2_2016_trackingLowPU

Definition at line 74 of file Eras.py.

Eras.Eras.Run2_2017

Definition at line 66 of file Eras.py.

Eras.Eras.Run2_25ns

Definition at line 59 of file Eras.py.

Eras.Eras.Run2_25ns_peripheralPbPb

Definition at line 62 of file Eras.py.

Eras.Eras.run2_25ns_specific

Definition at line 11 of file Eras.py.

Eras.Eras.Run2_50ns

Definition at line 60 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_HF_2016

Definition at line 14 of file Eras.py.

Eras.Eras.Run2_HI

Definition at line 61 of file Eras.py.

Eras.Eras.run2_HI_specific

Definition at line 13 of file Eras.py.

Eras.Eras.stage1L1Trigger

Definition at line 16 of file Eras.py.

Eras.Eras.stage2L1Trigger

Definition at line 17 of file Eras.py.

Eras.Eras.trackingLowPU

Definition at line 44 of file Eras.py.