CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 95 of file reco_TLR_311X.py.

Referenced by customiseExpressHI(), and customisePromptHI().

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

Definition at line 62 of file reco_TLR_311X.py.

62 
63 def customiseCosmicData(process):
64 
65  return process
def customiseCosmicData
def reco_TLR_311X.customiseCosmicMC (   process)

Definition at line 67 of file reco_TLR_311X.py.

67 
68 def customiseCosmicMC(process):
69 
70  return process
def reco_TLR_311X.customiseExpress (   process)

Definition at line 78 of file reco_TLR_311X.py.

References customisePPData().

78 
79 def customiseExpress(process):
80  process= customisePPData(process)
81 
83  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
84 
85  return process
def reco_TLR_311X.customiseExpressHI (   process)

Definition at line 117 of file reco_TLR_311X.py.

References customiseCommonHI().

118 def customiseExpressHI(process):
119  process= customiseCommonHI(process)
120 
122  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
123 
124  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  return process
54 
def reco_TLR_311X.customisePPMC (   process)

Definition at line 56 of file reco_TLR_311X.py.

References customiseCommon().

56 
57 def customisePPMC(process):
58  process=customiseCommon(process)
59 
60  return process
def reco_TLR_311X.customisePrompt (   process)

Definition at line 87 of file reco_TLR_311X.py.

References customisePPData().

87 
88 def customisePrompt(process):
89  process= customisePPData(process)
90 
91  return process
def reco_TLR_311X.customisePromptHI (   process)

Definition at line 126 of file reco_TLR_311X.py.

References customiseCommonHI().

127 def customisePromptHI(process):
128  process= customiseCommonHI(process)
129 
131  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
132 
133  return process
def reco_TLR_311X.customiseVALSKIM (   process)

Definition at line 72 of file reco_TLR_311X.py.

References customisePPData().

72 
73 def customiseVALSKIM(process):
74  process= customisePPData(process)
75  process.reconstruction.remove(process.lumiProducer)
76  return process