test
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
 
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_39X.customiseAlcaOnlyPromptHI (   process)

Definition at line 149 of file reco_TLR_39X.py.

References customiseCommonHI().

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

Definition at line 3 of file reco_TLR_39X.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 customiseCommon
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 
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.PedestalSubtractionFedMode = cms.bool(False)
108  process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string("IteratedMedian")
109  process.siStripZeroSuppression.doAPVRestore = cms.bool(True)
110  process.siStripZeroSuppression.storeCM = cms.bool(True)
111 
112  ## Fixes to protect against large BS displacements
113  process.hiPixel3ProtoTracks.RegionFactoryPSet.RegionPSet.originRadius = 0.2
114  process.hiPixel3ProtoTracks.RegionFactoryPSet.RegionPSet.fixedError = 0.5
115  process.hiSelectedProtoTracks.maxD0Significance = 100
116  process.hiPixelAdaptiveVertex.TkFilterParameters.maxD0Significance = 100
117  process.hiPixelAdaptiveVertex.useBeamConstraint = False
118  process.hiPixelAdaptiveVertex.PVSelParameters.maxDistanceToBeam = 1.0
119 
120  ###
121  ### end of top level replacements
122  ###
123  ###############################################################################################
124 
125  return process
def customiseCommonHI
Definition: reco_TLR_39X.py:98
def reco_TLR_39X.customiseCosmicData (   process)

Definition at line 62 of file reco_TLR_39X.py.

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

Definition at line 67 of file reco_TLR_39X.py.

67 
68 def customiseCosmicMC(process):
69 
70  return process
def customiseCosmicMC
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 
79 def customiseExpress(process):
80  process= customisePPData(process)
81 
83  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
84 
85  return process
def customisePPData
Definition: reco_TLR_39X.py:33
def customiseExpress
Definition: reco_TLR_39X.py:78
def reco_TLR_39X.customiseExpressHI (   process)

Definition at line 127 of file reco_TLR_39X.py.

References customiseCommonHI().

128 def customiseExpressHI(process):
129  process= customiseCommonHI(process)
130 
132  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
133 
134  # keep some debugging content for zero suppression
135  process.siStripZeroSuppression.produceRawDigis = cms.bool(True)
136  process.siStripZeroSuppression.produceCalculatedBaseline = cms.bool(True)
137 
138  return process
def customiseExpressHI
def customiseCommonHI
Definition: reco_TLR_39X.py:98
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 
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 customisePPData
Definition: reco_TLR_39X.py:33
def customiseCommon
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 
57 def customisePPMC(process):
58  process=customiseCommon(process)
59 
60  return process
def customiseCommon
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 
88 def customisePrompt(process):
89  process= customisePPData(process)
90 
92  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
93 
94  return process
def customisePPData
Definition: reco_TLR_39X.py:33
def customisePrompt
Definition: reco_TLR_39X.py:87
def reco_TLR_39X.customisePromptHI (   process)

Definition at line 140 of file reco_TLR_39X.py.

References customiseCommonHI().

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

Definition at line 72 of file reco_TLR_39X.py.

References customisePPData().

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