CMS 3D CMS Logo

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

Functions

def customiseCommon
 
def customiseCosmicData
 
def customiseCosmicMC
 
def customiseExpress
 
def customisePPData
 
def customisePPMC
 
def customisePrompt
 

Function Documentation

def reco_TLR_37X.customiseCommon (   process)

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

Definition at line 107 of file reco_TLR_37X.py.

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

Definition at line 112 of file reco_TLR_37X.py.

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

Definition at line 118 of file reco_TLR_37X.py.

References customisePPData().

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

Definition at line 79 of file reco_TLR_37X.py.

References customiseCommon().

Referenced by customiseExpress(), and customisePrompt().

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

Definition at line 99 of file reco_TLR_37X.py.

References customiseCommon().

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

Definition at line 127 of file reco_TLR_37X.py.

References customisePPData().

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