CMS 3D CMS Logo

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

Functions

def customiseCommon
 
def customiseCommonHI
 
def customiseCosmicData
 
def customiseCosmicMC
 
def customiseExpress
 
def customiseExpressHI
 
def customisePPData
 
def customisePPMC
 
def customisePrompt
 
def customisePromptHI
 
def customiseVALSKIM
 

Function Documentation

def reco_TLR_311X.customiseCommon (   process)

Definition at line 3 of file reco_TLR_311X.py.

Referenced by customisePPData(), and customisePPMC().

3 
4 def customiseCommon(process):
5 
6  #####################################################################################################
7  ####
8  #### Top level replaces for handling strange scenarios of early collisions
9  ####
10 
11  ## TRACKING:
12  process.newSeedFromTriplets.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
13  process.newSeedFromPairs.OrderedHitsFactoryPSet.maxElement = cms.uint32(100000)
14  process.secTriplets.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
15  process.thTripletsA.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
16  process.thTripletsB.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
17  process.fourthPLSeeds.OrderedHitsFactoryPSet.maxElement = cms.uint32(100000)
18  process.fifthSeeds.OrderedHitsFactoryPSet.maxElement = cms.uint32(100000)
19 
20  ###### FIXES TRIPLETS FOR LARGE BS DISPLACEMENT ######
21 
22  ### prevent bias in pixel vertex
23  process.pixelVertices.useBeamConstraint = False
24 
25  ###
26  ### end of top level replacements
27  ###
28  ###############################################################################################
29 
30  return (process)
31 
def reco_TLR_311X.customiseCommonHI (   process)

Definition at line 99 of file reco_TLR_311X.py.

Referenced by customiseExpressHI(), and customisePromptHI().

99 
100 def customiseCommonHI(process):
101 
102  ###############################################################################################
103  ####
104  #### Top level replaces for handling strange scenarios of early HI collisions
105  ####
106 
107  ## Offline Silicon Tracker Zero Suppression
108  process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string("IteratedMedian")
109  process.siStripZeroSuppression.Algorithms.CutToAvoidSignal = cms.double(2.0)
110  process.siStripZeroSuppression.Algorithms.Iterations = cms.int32(3)
111  process.siStripZeroSuppression.storeCM = cms.bool(True)
112 
113 
114  ###
115  ### end of top level replacements
116  ###
117  ###############################################################################################
118 
119  return process
def reco_TLR_311X.customiseCosmicData (   process)

Definition at line 66 of file reco_TLR_311X.py.

66 
67 def customiseCosmicData(process):
68 
69  return process
def customiseCosmicData
def reco_TLR_311X.customiseCosmicMC (   process)

Definition at line 71 of file reco_TLR_311X.py.

71 
72 def customiseCosmicMC(process):
73 
74  return process
def reco_TLR_311X.customiseExpress (   process)

Definition at line 82 of file reco_TLR_311X.py.

References customisePPData().

82 
83 def customiseExpress(process):
84  process= customisePPData(process)
85 
87  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
88 
89  return process
def reco_TLR_311X.customiseExpressHI (   process)

Definition at line 121 of file reco_TLR_311X.py.

References customiseCommonHI().

122 def customiseExpressHI(process):
123  process= customiseCommonHI(process)
124 
126  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
127 
128  return process
def reco_TLR_311X.customisePPData (   process)

Definition at line 33 of file reco_TLR_311X.py.

References customiseCommon().

Referenced by customiseExpress(), customisePrompt(), and customiseVALSKIM().

33 
34 def customisePPData(process):
35  process= customiseCommon(process)
36 
37  ## particle flow HF cleaning
38  process.particleFlowRecHitHCAL.LongShortFibre_Cut = 30.
39  process.particleFlowRecHitHCAL.ApplyPulseDPG = True
40 
41  ## HF cleaning for data only
42  process.hcalRecAlgos.SeverityLevels[3].RecHitFlags.remove("HFDigiTime")
43  process.hcalRecAlgos.SeverityLevels[4].RecHitFlags.append("HFDigiTime")
44 
45  ##beam-halo-id for data only
46  process.CSCHaloData.ExpectedBX = cms.int32(3)
47 
48  ## hcal hit flagging
49  process.hfreco.PETstat.flagsToSkip = 2
50  process.hfreco.S8S1stat.flagsToSkip = 18
51  process.hfreco.S9S1stat.flagsToSkip = 26
52 
53  ##Ecal time bias correction
54  process.ecalGlobalUncalibRecHit.doEBtimeCorrection = True
55  process.ecalGlobalUncalibRecHit.doEEtimeCorrection = True
56 
57  return process
58 
def reco_TLR_311X.customisePPMC (   process)

Definition at line 60 of file reco_TLR_311X.py.

References customiseCommon().

60 
61 def customisePPMC(process):
62  process=customiseCommon(process)
63 
64  return process
def reco_TLR_311X.customisePrompt (   process)

Definition at line 91 of file reco_TLR_311X.py.

References customisePPData().

91 
92 def customisePrompt(process):
93  process= customisePPData(process)
94 
95  return process
def reco_TLR_311X.customisePromptHI (   process)

Definition at line 130 of file reco_TLR_311X.py.

References customiseCommonHI().

131 def customisePromptHI(process):
132  process= customiseCommonHI(process)
133 
135  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
136 
137  return process
def reco_TLR_311X.customiseVALSKIM (   process)

Definition at line 76 of file reco_TLR_311X.py.

References customisePPData().

76 
77 def customiseVALSKIM(process):
78  process= customisePPData(process)
79  process.reconstruction.remove(process.lumiProducer)
80  return process