CMS 3D CMS Logo

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.

00018                             :
00019     # Make three individual seeders
00020     process.hltL3TrajectorySeedOIS = TSG.l3seeds("OIState")
00021     process.hltL3TrajectorySeedOIHC = TSG.l3seeds("OIHitCascade")
00022     process.hltL3TrajectorySeedIOHC = TSG.l3seeds("IOHitCascade")
00023 
00024     # Make one TrackCand for each seeder
00025     import FastSimulation.Muons.TrackCandidateFromL2_cfi
00026     process.hltL3TrackCandidateFromL2OIS = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
00027     process.hltL3TrackCandidateFromL2OIS.SeedProducer = "hltL3TrajectorySeedOIS"
00028     process.hltL3TrackCandidateFromL2OIHC = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
00029     process.hltL3TrackCandidateFromL2OIHC.SeedProducer = "hltL3TrajectorySeedOIHC"    
00030     process.hltL3TrackCandidateFromL2IOHC = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
00031     process.hltL3TrackCandidateFromL2IOHC.SeedProducer = "hltL3TrajectorySeedIOHC"
00032 
00033     # Make one Track for each TrackCand
00034     process.hltL3TkTracksFromL2OIS = process.hltL3TkTracksFromL2.clone()
00035     process.hltL3TkTracksFromL2OIS.src = "hltL3TrackCandidateFromL2OIS"
00036     process.hltL3TkTracksFromL2OIHC = process.hltL3TkTracksFromL2.clone()
00037     process.hltL3TkTracksFromL2OIHC.src = "hltL3TrackCandidateFromL2OIHC"
00038     process.hltL3TkTracksFromL2IOHC = process.hltL3TkTracksFromL2.clone()
00039     process.hltL3TkTracksFromL2IOHC.src = "hltL3TrackCandidateFromL2IOHC"
00040 
00041     # Make one L3Muons for each Track
00042     process.hltL3MuonsOIS = process.hltL3Muons.clone()
00043     process.hltL3MuonsOIS.L3TrajBuilderParameters.tkTrajLabel = "hltL3TkTracksFromL2OIS"
00044     process.hltL3MuonsOIHC = process.hltL3Muons.clone()
00045     process.hltL3MuonsOIHC.L3TrajBuilderParameters.tkTrajLabel = "hltL3TkTracksFromL2OIHC"
00046     process.hltL3MuonsIOHC = process.hltL3Muons.clone()
00047     process.hltL3MuonsIOHC.L3TrajBuilderParameters.tkTrajLabel = "hltL3TkTracksFromL2IOHC"
00048 
00049     process.hltL3MuonsOICombined = cms.EDProducer(
00050         "L3TrackCombiner",
00051         labels = cms.VInputTag(
00052            cms.InputTag("hltL3MuonsOIS"),
00053            cms.InputTag("hltL3MuonsOIHC"),
00054            )
00055         )
00056 
00057     process.l3MuonsAllCombined = cms.EDProducer(
00058         "L3TrackCombiner",
00059         labels = cms.VInputTag(
00060            cms.InputTag("hltL3MuonsOIS"),
00061            cms.InputTag("hltL3MuonsOIHC"),
00062            cms.InputTag("hltL3MuonsIOHC")
00063            )
00064         )
00065 
00066     process.l3TkFromL2Combination = cms.EDProducer(
00067         "L3TrackCombiner",
00068         labels = cms.VInputTag(
00069            cms.InputTag("hltL3TkTracksFromL2OIS"),
00070            cms.InputTag("hltL3TkTracksFromL2OIHC"),
00071            cms.InputTag("hltL3TkTracksFromL2IOHC")
00072            )
00073         )
00074 
00075     process.l3TkCandFromL2Combination = cms.EDProducer(
00076         "L3TrackCandCombiner",
00077         labels = cms.VInputTag(
00078            cms.InputTag("hltL3TrackCandidateFromL2OIS"),
00079            cms.InputTag("hltL3TrackCandidateFromL2OIHC"),
00080            cms.InputTag("hltL3TrackCandidateFromL2IOHC"),
00081            )
00082         )
00083 
00084     process.l3SeedCombination =  cms.EDProducer(
00085         "L3MuonTrajectorySeedCombiner",
00086         labels = cms.VInputTag(
00087            cms.InputTag("hltL3TrajectorySeedOIS"),
00088            cms.InputTag("hltL3TrajectorySeedOIHC"),
00089            cms.InputTag("hltL3TrajectorySeedIOHC")
00090            )
00091         )
00092 
00093     process.HLTL3muonTkCandidateSequenceOIS = cms.Sequence(
00094         process.HLTDoLocalPixelSequence +
00095         process.HLTDoLocalStripSequence +
00096         process.hltL3TrajectorySeedOIS +
00097         process.hltL3TrackCandidateFromL2OIS
00098         )
00099     
00100     process.HLTL3muonrecoNocandSequenceOIS = cms.Sequence(
00101         process.HLTL3muonTkCandidateSequenceOIS +
00102         process.hltL3TkTracksFromL2OIS +
00103         process.hltL3MuonsOIS
00104         )
00105 
00106     process.HLTL3muonTkCandidateSequenceOIHC = cms.Sequence(
00107         process.HLTL3muonrecoNocandSequenceOIS +
00108         process.hltL3TrajectorySeedOIHC +
00109         process.hltL3TrackCandidateFromL2OIHC
00110         )
00111 
00112     process.HLTL3muonrecoNocandSequenceOIHC = cms.Sequence(
00113         process.HLTL3muonTkCandidateSequenceOIHC +
00114         process.hltL3TkTracksFromL2OIHC +
00115         process.hltL3MuonsOIHC
00116         )
00117 
00118     process.HLTL3muonTkCandSequenceIOHC = cms.Sequence(
00119         process.HLTL3muonrecoNocandSequenceOIHC +
00120         process.hltL3MuonsOICombined +
00121         process.hltL3TrajectorySeedIOHC +
00122         process.hltL3TrackCandidateFromL2IOHC
00123         )
00124 
00125     process.HLTL3muonrecoNocandSequenceIOHC = cms.Sequence(
00126         process.HLTL3muonTkCandSequenceIOHC +
00127         process.hltL3TkTracksFromL2IOHC +
00128         process.hltL3MuonsIOHC
00129         )
00130 
00131     process.hltL3TrajectorySeed = process.l3SeedCombination
00132     process.hltL3TrackCandidateFromL2 = process.l3TkCandFromL2Combination
00133     process.hltL3TkTracksFromL2 = process.l3TkFromL2Combination
00134     process.hltL3Muons = process.l3MuonsAllCombined
00135 
00136     process.HLTL3muonTkCandidateSequence = cms.Sequence(
00137         process.HLTL3muonrecoNocandSequenceIOHC +
00138         process.hltL3TrajectorySeed +
00139         process.hltL3TrackCandidateFromL2
00140         )
    
def FSSwitches::SwitchToIOHit (   process)

Definition at line 11 of file FSSwitches.py.

00012                           :
00013     process.hltL3TrajectorySeedIOH = TSG.l3seeds("IOHit")

def FSSwitches::SwitchToOIHit (   process)

Definition at line 8 of file FSSwitches.py.

00009                           :
00010     process.hltL3TrajectorySeedOIH = TSG.l3seeds("OIHit")

def FSSwitches::SwitchToOIHitCascade (   process)

Definition at line 14 of file FSSwitches.py.

00015                                  :
00016     process.hltL3TrajectorySeedOIHCascade = TSG.l3seeds("OIHitCascade")

def FSSwitches::SwitchToOIState (   process)

Definition at line 5 of file FSSwitches.py.

00006                             :
00007     process.hltL3TrajectorySeedOIS = TSG.l3seeds("OIState")