CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
FSSwitches Namespace Reference

Functions

def SwitchToCascade
 
def SwitchToIOHit
 
def SwitchToOIHit
 
def SwitchToOIHitCascade
 
def SwitchToOIState
 

Function Documentation

def FSSwitches.SwitchToCascade (   process)

Definition at line 17 of file FSSwitches.py.

17 
18 def SwitchToCascade(process):
19  # Make three individual seeders
20  process.hltL3TrajectorySeedOIS = TSG.l3seeds("OIState")
21  process.hltL3TrajectorySeedOIHC = TSG.l3seeds("OIHitCascade")
22  process.hltL3TrajectorySeedIOHC = TSG.l3seeds("IOHitCascade")
23 
24  # Make one TrackCand for each seeder
26  process.hltL3TrackCandidateFromL2OIS = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
27  process.hltL3TrackCandidateFromL2OIS.src = "hltL3TrajectorySeedOIS"
28  process.hltL3TrackCandidateFromL2OIHC = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
29  process.hltL3TrackCandidateFromL2OIHC.src = "hltL3TrajectorySeedOIHC"
30  process.hltL3TrackCandidateFromL2IOHC = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
31  process.hltL3TrackCandidateFromL2IOHC.src = "hltL3TrajectorySeedIOHC"
32 
33  # Make one Track for each TrackCand
34  process.hltL3TkTracksFromL2OIS = process.hltL3TkTracksFromL2.clone()
35  process.hltL3TkTracksFromL2OIS.src = "hltL3TrackCandidateFromL2OIS"
36  process.hltL3TkTracksFromL2OIHC = process.hltL3TkTracksFromL2.clone()
37  process.hltL3TkTracksFromL2OIHC.src = "hltL3TrackCandidateFromL2OIHC"
38  process.hltL3TkTracksFromL2IOHC = process.hltL3TkTracksFromL2.clone()
39  process.hltL3TkTracksFromL2IOHC.src = "hltL3TrackCandidateFromL2IOHC"
40 
41  # Make one L3Muons for each Track
42  process.hltL3MuonsOIS = process.hltL3Muons.clone()
43  process.hltL3MuonsOIS.L3TrajBuilderParameters.tkTrajLabel = "hltL3TkTracksFromL2OIS"
44  process.hltL3MuonsOIHC = process.hltL3Muons.clone()
45  process.hltL3MuonsOIHC.L3TrajBuilderParameters.tkTrajLabel = "hltL3TkTracksFromL2OIHC"
46  process.hltL3MuonsIOHC = process.hltL3Muons.clone()
47  process.hltL3MuonsIOHC.L3TrajBuilderParameters.tkTrajLabel = "hltL3TkTracksFromL2IOHC"
48 
49  process.hltL3MuonsOICombined = cms.EDProducer(
50  "L3TrackCombiner",
51  labels = cms.VInputTag(
52  cms.InputTag("hltL3MuonsOIS"),
53  cms.InputTag("hltL3MuonsOIHC"),
54  )
55  )
56 
57  process.l3MuonsAllCombined = cms.EDProducer(
58  "L3TrackCombiner",
59  labels = cms.VInputTag(
60  cms.InputTag("hltL3MuonsOIS"),
61  cms.InputTag("hltL3MuonsOIHC"),
62  cms.InputTag("hltL3MuonsIOHC")
63  )
64  )
65 
66  process.l3TkFromL2Combination = cms.EDProducer(
67  "L3TrackCombiner",
68  labels = cms.VInputTag(
69  cms.InputTag("hltL3TkTracksFromL2OIS"),
70  cms.InputTag("hltL3TkTracksFromL2OIHC"),
71  cms.InputTag("hltL3TkTracksFromL2IOHC")
72  )
73  )
74 
75  process.l3TkCandFromL2Combination = cms.EDProducer(
76  "L3TrackCandCombiner",
77  labels = cms.VInputTag(
78  cms.InputTag("hltL3TrackCandidateFromL2OIS"),
79  cms.InputTag("hltL3TrackCandidateFromL2OIHC"),
80  cms.InputTag("hltL3TrackCandidateFromL2IOHC"),
81  )
82  )
83 
84  process.l3SeedCombination = cms.EDProducer(
85  "L3MuonTrajectorySeedCombiner",
86  labels = cms.VInputTag(
87  cms.InputTag("hltL3TrajectorySeedOIS"),
88  cms.InputTag("hltL3TrajectorySeedOIHC"),
89  cms.InputTag("hltL3TrajectorySeedIOHC")
90  )
91  )
92 
93  process.HLTL3muonTkCandidateSequenceOIS = cms.Sequence(
94  process.HLTDoLocalPixelSequence +
95  process.HLTDoLocalStripSequence +
96  process.hltL3TrajectorySeedOIS +
97  process.hltL3TrackCandidateFromL2OIS
98  )
99 
100  process.HLTL3muonrecoNocandSequenceOIS = cms.Sequence(
101  process.HLTL3muonTkCandidateSequenceOIS +
102  process.hltL3TkTracksFromL2OIS +
103  process.hltL3MuonsOIS
104  )
105 
106  process.HLTL3muonTkCandidateSequenceOIHC = cms.Sequence(
107  process.HLTL3muonrecoNocandSequenceOIS +
108  process.hltL3TrajectorySeedOIHC +
109  process.hltL3TrackCandidateFromL2OIHC
110  )
111 
112  process.HLTL3muonrecoNocandSequenceOIHC = cms.Sequence(
113  process.HLTL3muonTkCandidateSequenceOIHC +
114  process.hltL3TkTracksFromL2OIHC +
115  process.hltL3MuonsOIHC
116  )
117 
118  process.HLTL3muonTkCandSequenceIOHC = cms.Sequence(
119  process.HLTL3muonrecoNocandSequenceOIHC +
120  process.hltL3MuonsOICombined +
121  process.hltL3TrajectorySeedIOHC +
122  process.hltL3TrackCandidateFromL2IOHC
123  )
124 
125  process.HLTL3muonrecoNocandSequenceIOHC = cms.Sequence(
126  process.HLTL3muonTkCandSequenceIOHC +
127  process.hltL3TkTracksFromL2IOHC +
128  process.hltL3MuonsIOHC
129  )
130 
131  process.hltL3TrajectorySeed = process.l3SeedCombination
132  process.hltL3TrackCandidateFromL2 = process.l3TkCandFromL2Combination
133  process.hltL3TkTracksFromL2 = process.l3TkFromL2Combination
134  process.hltL3Muons = process.l3MuonsAllCombined
135 
136  process.HLTL3muonTkCandidateSequence = cms.Sequence(
137  process.HLTL3muonrecoNocandSequenceIOHC +
138  process.hltL3TrajectorySeed +
139  process.hltL3TrackCandidateFromL2
140  )
def SwitchToCascade
Definition: FSSwitches.py:17
Make one TrackCand for each seeder.
def FSSwitches.SwitchToIOHit (   process)

Definition at line 11 of file FSSwitches.py.

11 
12 def SwitchToIOHit(process):
13  process.hltL3TrajectorySeedIOH = TSG.l3seeds("IOHit")
def SwitchToIOHit
Definition: FSSwitches.py:11
def FSSwitches.SwitchToOIHit (   process)

Definition at line 8 of file FSSwitches.py.

8 
9 def SwitchToOIHit(process):
10  process.hltL3TrajectorySeedOIH = TSG.l3seeds("OIHit")
def SwitchToOIHit
Definition: FSSwitches.py:8
def FSSwitches.SwitchToOIHitCascade (   process)

Definition at line 14 of file FSSwitches.py.

14 
15 def SwitchToOIHitCascade(process):
16  process.hltL3TrajectorySeedOIHCascade = TSG.l3seeds("OIHitCascade")
def SwitchToOIHitCascade
Definition: FSSwitches.py:14
def FSSwitches.SwitchToOIState (   process)

Definition at line 5 of file FSSwitches.py.

5 
6 def SwitchToOIState(process):
7  process.hltL3TrajectorySeedOIS = TSG.l3seeds("OIState")
def SwitchToOIState
Definition: FSSwitches.py:5