CMS 3D CMS Logo

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

Functions

def customiseAlcaOnlyPromptHI (process)
 
def customiseCommon (process)
 
def customiseCommonHI (process)
 
def customiseCosmicData (process)
 
def customiseCosmicMC (process)
 
def customiseExpress (process)
 
def customiseExpressHI (process)
 
def customisePPData (process)
 
def customisePPMC (process)
 
def customisePrompt (process)
 
def customisePromptHI (process)
 
def customiseVALSKIM (process)
 

Function Documentation

def reco_TLR_39X.customiseAlcaOnlyPromptHI (   process)

Definition at line 149 of file reco_TLR_39X.py.

References customiseCommonHI().

150  process= customiseCommonHI(process)
151 
153  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
154 
156  process.hltCentralityVeto = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
157  HLTPaths = cms.vstring('HLT_HICentralityVeto'),
158  throw = cms.bool(False)
159  )
160 
161  for path in process.paths:
162  getattr(process,path)._seq = process.hltCentralityVeto * getattr(process,path)._seq
163 
164  return process
165 
def customiseAlcaOnlyPromptHI(process)
def customiseCommonHI(process)
Definition: reco_TLR_39X.py:98
def reco_TLR_39X.customiseCommon (   process)

Definition at line 3 of file reco_TLR_39X.py.

Referenced by customisePPData(), and customisePPMC().

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

Definition at line 98 of file reco_TLR_39X.py.

Referenced by customiseAlcaOnlyPromptHI(), customiseExpressHI(), and customisePromptHI().

98 def customiseCommonHI(process):
99 
100  ###############################################################################################
101  ####
102  #### Top level replaces for handling strange scenarios of early HI collisions
103  ####
104 
105  ## Offline Silicon Tracker Zero Suppression
106  process.siStripZeroSuppression.Algorithms.PedestalSubtractionFedMode = cms.bool(False)
107  process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string("IteratedMedian")
108  process.siStripZeroSuppression.doAPVRestore = cms.bool(True)
109  process.siStripZeroSuppression.storeCM = cms.bool(True)
110 
111  ## Fixes to protect against large BS displacements
112  process.hiPixel3ProtoTracks.RegionFactoryPSet.RegionPSet.originRadius = 0.2
113  process.hiPixel3ProtoTracks.RegionFactoryPSet.RegionPSet.fixedError = 0.5
114  process.hiSelectedProtoTracks.maxD0Significance = 100
115  process.hiPixelAdaptiveVertex.TkFilterParameters.maxD0Significance = 100
116  process.hiPixelAdaptiveVertex.useBeamConstraint = False
117  process.hiPixelAdaptiveVertex.PVSelParameters.maxDistanceToBeam = 1.0
118 
119  ###
120  ### end of top level replacements
121  ###
122  ###############################################################################################
123 
124  return process
125 
def customiseCommonHI(process)
Definition: reco_TLR_39X.py:98
def reco_TLR_39X.customiseCosmicData (   process)

Definition at line 62 of file reco_TLR_39X.py.

62 def customiseCosmicData(process):
63 
64  return process
65 
def customiseCosmicData(process)
Definition: reco_TLR_39X.py:62
def reco_TLR_39X.customiseCosmicMC (   process)

Definition at line 67 of file reco_TLR_39X.py.

67 def customiseCosmicMC(process):
68 
69  return process
70 
def customiseCosmicMC(process)
Definition: reco_TLR_39X.py:67
def reco_TLR_39X.customiseExpress (   process)

Definition at line 78 of file reco_TLR_39X.py.

References customisePPData().

78 def customiseExpress(process):
79  process= customisePPData(process)
80 
82  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
83 
84  return process
85 
def customisePPData(process)
Definition: reco_TLR_39X.py:33
def customiseExpress(process)
Definition: reco_TLR_39X.py:78
def reco_TLR_39X.customiseExpressHI (   process)

Definition at line 127 of file reco_TLR_39X.py.

References customiseCommonHI().

127 def customiseExpressHI(process):
128  process= customiseCommonHI(process)
129 
131  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
132 
133  # keep some debugging content for zero suppression
134  process.siStripZeroSuppression.produceRawDigis = cms.bool(True)
135  process.siStripZeroSuppression.produceCalculatedBaseline = cms.bool(True)
136 
137  return process
138 
def customiseCommonHI(process)
Definition: reco_TLR_39X.py:98
def customiseExpressHI(process)
def reco_TLR_39X.customisePPData (   process)

Definition at line 33 of file reco_TLR_39X.py.

References customiseCommon().

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

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

Definition at line 56 of file reco_TLR_39X.py.

References customiseCommon().

56 def customisePPMC(process):
57  process=customiseCommon(process)
58 
59  return process
60 
def customisePPMC(process)
Definition: reco_TLR_39X.py:56
def customiseCommon(process)
Definition: reco_TLR_39X.py:3
def reco_TLR_39X.customisePrompt (   process)

Definition at line 87 of file reco_TLR_39X.py.

References customisePPData().

87 def customisePrompt(process):
88  process= customisePPData(process)
89 
91  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
92 
93  return process
94 
def customisePPData(process)
Definition: reco_TLR_39X.py:33
def customisePrompt(process)
Definition: reco_TLR_39X.py:87
def reco_TLR_39X.customisePromptHI (   process)

Definition at line 140 of file reco_TLR_39X.py.

References customiseCommonHI().

140 def customisePromptHI(process):
141  process= customiseCommonHI(process)
142 
144  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
145 
146  return process
147 
def customiseCommonHI(process)
Definition: reco_TLR_39X.py:98
def customisePromptHI(process)
def reco_TLR_39X.customiseVALSKIM (   process)

Definition at line 72 of file reco_TLR_39X.py.

References customisePPData().

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