test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
reco_TLR_310X 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_310X.customiseCommon (   process)

Definition at line 3 of file reco_TLR_310X.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_310X.customiseCommonHI (   process)

Definition at line 98 of file reco_TLR_310X.py.

Referenced by customiseExpressHI(), and customisePromptHI().

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

Definition at line 62 of file reco_TLR_310X.py.

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

Definition at line 67 of file reco_TLR_310X.py.

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

Definition at line 78 of file reco_TLR_310X.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_310X.customiseExpressHI (   process)

Definition at line 120 of file reco_TLR_310X.py.

References customiseCommonHI().

121 def customiseExpressHI(process):
122  process= customiseCommonHI(process)
123 
125  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
126 
127  return process
def reco_TLR_310X.customisePPData (   process)

Definition at line 33 of file reco_TLR_310X.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_310X.customisePPMC (   process)

Definition at line 56 of file reco_TLR_310X.py.

References customiseCommon().

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

Definition at line 87 of file reco_TLR_310X.py.

References customisePPData().

87 
88 def customisePrompt(process):
89  process= customisePPData(process)
90 
92  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
93 
94  return process
def reco_TLR_310X.customisePromptHI (   process)

Definition at line 129 of file reco_TLR_310X.py.

References customiseCommonHI().

130 def customisePromptHI(process):
131  process= customiseCommonHI(process)
132 
134  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
135 
136  return process
def reco_TLR_310X.customiseVALSKIM (   process)

Definition at line 72 of file reco_TLR_310X.py.

References customisePPData().

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