CMS 3D CMS Logo

Functions
reco_TLR_37X Namespace Reference

Functions

def customiseCommon (process)
 
def customiseCosmicData (process)
 
def customiseCosmicMC (process)
 
def customiseExpress (process)
 
def customisePPData (process)
 
def customisePPMC (process)
 
def customisePrompt (process)
 

Function Documentation

def reco_TLR_37X.customiseCommon (   process)

Definition at line 3 of file reco_TLR_37X.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  ## Skip events with HV off
12  process.newSeedFromTriplets.ClusterCheckPSet.MaxNumberOfPixelClusters=2000
13  process.newSeedFromPairs.ClusterCheckPSet.MaxNumberOfCosmicClusters=20000
14  process.secTriplets.ClusterCheckPSet.MaxNumberOfPixelClusters=2000
15  process.fifthSeeds.ClusterCheckPSet.MaxNumberOfCosmicClusters = 20000
16  process.fourthPLSeeds.ClusterCheckPSet.MaxNumberOfCosmicClusters=20000
17  process.thTripletsA.ClusterCheckPSet.MaxNumberOfPixelClusters = 5000
18  process.thTripletsB.ClusterCheckPSet.MaxNumberOfPixelClusters = 5000
19 
20  ###### FIXES TRIPLETS FOR LARGE BS DISPLACEMENT ######
21 
22  ### prevent bias in pixel vertex
23  process.pixelVertices.useBeamConstraint = False
24 
25  ### pixelTracks
26  #---- new parameters ----
27  process.pixelTracks.RegionFactoryPSet.RegionPSet.nSigmaZ = 4.06
28  process.pixelTracks.RegionFactoryPSet.RegionPSet.originHalfLength = cms.double(40.6)
29 
30  ### 0th step of iterative tracking
31  #---- new parameters ----
32  process.newSeedFromTriplets.RegionFactoryPSet.RegionPSet.nSigmaZ = cms.double(4.06)
33  process.newSeedFromTriplets.RegionFactoryPSet.RegionPSet.originHalfLength = 40.6
34 
35  ### 2nd step of iterative tracking
36  #---- new parameters ----
37  process.secTriplets.RegionFactoryPSet.RegionPSet.nSigmaZ = cms.double(4.47)
38  process.secTriplets.RegionFactoryPSet.RegionPSet.originHalfLength = 44.7
39 
40  ## Primary Vertex
41  process.offlinePrimaryVerticesWithBS.PVSelParameters.maxDistanceToBeam = 2
42  process.offlinePrimaryVerticesWithBS.TkFilterParameters.maxNormalizedChi2 = 20
43  process.offlinePrimaryVerticesWithBS.TkFilterParameters.maxD0Significance = 100
44  process.offlinePrimaryVerticesWithBS.TkFilterParameters.minPixelLayersWithHits = 2
45  process.offlinePrimaryVerticesWithBS.TkFilterParameters.minSiliconLayersWithHits = 5
46  process.offlinePrimaryVerticesWithBS.TkClusParameters.TkGapClusParameters.zSeparation = 1
47  process.offlinePrimaryVertices.PVSelParameters.maxDistanceToBeam = 2
48  process.offlinePrimaryVertices.TkFilterParameters.maxNormalizedChi2 = 20
49  process.offlinePrimaryVertices.TkFilterParameters.maxD0Significance = 100
50  process.offlinePrimaryVertices.TkFilterParameters.minPixelLayersWithHits = 2
51  process.offlinePrimaryVertices.TkFilterParameters.minSiliconLayersWithHits = 5
52  process.offlinePrimaryVertices.TkClusParameters.TkGapClusParameters.zSeparation = 1
53 
54  ## ECAL
55  process.ecalRecHit.ChannelStatusToBeExcluded = [ 1, 2, 3, 4, 8, 9, 10, 11, 12, 13, 14, 78, 142 ]
56 
57 
58  ## HCAL temporary fixes
59  process.hfreco.samplesToAdd = 4
60 
61  ## EGAMMA
62  process.photons.minSCEtBarrel = 5.
63  process.photons.minSCEtEndcap =5.
64  process.photonCore.minSCEt = 5.
65  process.conversionTrackCandidates.minSCEt =5.
66  process.conversions.minSCEt =5.
67  process.trackerOnlyConversions.rCut = 2.
68  process.trackerOnlyConversions.vtxChi2 = 0.0005
69 
70  ###
71  ### end of top level replacements
72  ###
73  ###############################################################################################
74 
75  return (process)
76 
77 
def customiseCommon(process)
Definition: reco_TLR_37X.py:3
def reco_TLR_37X.customiseCosmicData (   process)

Definition at line 107 of file reco_TLR_37X.py.

107 def customiseCosmicData(process):
108 
109  return process
110 
def customiseCosmicData(process)
def reco_TLR_37X.customiseCosmicMC (   process)

Definition at line 112 of file reco_TLR_37X.py.

112 def customiseCosmicMC(process):
113 
114  return process
115 
116 
def customiseCosmicMC(process)
def reco_TLR_37X.customiseExpress (   process)

Definition at line 118 of file reco_TLR_37X.py.

References customisePPData().

118 def customiseExpress(process):
119  process= customisePPData(process)
120 
122  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
123 
124  return process
125 
def customisePPData(process)
Definition: reco_TLR_37X.py:79
def customiseExpress(process)
def reco_TLR_37X.customisePPData (   process)

Definition at line 79 of file reco_TLR_37X.py.

References customiseCommon().

Referenced by customiseExpress(), and customisePrompt().

79 def customisePPData(process):
80  process= customiseCommon(process)
81  process.hfreco.firstSample=3
82 
83  ## local tracker strip reconstruction
84  process.OutOfTime.TOBlateBP=0.071
85  process.OutOfTime.TIBlateBP=0.036
86 
87  ## particle flow HF cleaning
88  process.particleFlowRecHitHCAL.LongShortFibre_Cut = 30.
89  process.particleFlowRecHitHCAL.ApplyPulseDPG = True
90 
91  ## HF cleaning for data only
92  process.hcalRecAlgos.SeverityLevels[3].RecHitFlags.remove("HFDigiTime")
93  process.hcalRecAlgos.SeverityLevels[4].RecHitFlags.append("HFDigiTime")
94 
95  return process
96 
97 
def customisePPData(process)
Definition: reco_TLR_37X.py:79
def customiseCommon(process)
Definition: reco_TLR_37X.py:3
def reco_TLR_37X.customisePPMC (   process)

Definition at line 99 of file reco_TLR_37X.py.

References customiseCommon().

99 def customisePPMC(process):
100  process=customiseCommon(process)
101  process.hfreco.firstSample=1
102  process.CSCHaloData.ExpectedBX = cms.int32(6)
103 
104  return process
105 
def customisePPMC(process)
Definition: reco_TLR_37X.py:99
def customiseCommon(process)
Definition: reco_TLR_37X.py:3
def reco_TLR_37X.customisePrompt (   process)

Definition at line 127 of file reco_TLR_37X.py.

References customisePPData().

127 def customisePrompt(process):
128  process= customisePPData(process)
129 
131  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
132 
133  return process
134 
def customisePPData(process)
Definition: reco_TLR_37X.py:79
def customisePrompt(process)