CMS 3D CMS Logo

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

Functions

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

Function Documentation

def reco_TLR_36X.customiseCommon (   process)

Definition at line 3 of file reco_TLR_36X.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_36X.py:3
def reco_TLR_36X.customiseCosmicData (   process)

Definition at line 100 of file reco_TLR_36X.py.

101 def customiseCosmicData(process):
102  process.ecalPreshowerRecHit.ESBaseline = 0
103 
104  return process
def customiseCosmicData
def reco_TLR_36X.customiseCosmicMC (   process)

Definition at line 106 of file reco_TLR_36X.py.

107 def customiseCosmicMC(process):
108 
109  return process
110 
def customiseCosmicMC
def reco_TLR_36X.customiseExpress (   process)

Definition at line 112 of file reco_TLR_36X.py.

References customisePPData().

113 def customiseExpress(process):
114  process= customisePPData(process)
115 
117  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
118 
119  return process
def customiseExpress
def customisePPData
Definition: reco_TLR_36X.py:79
def reco_TLR_36X.customisePPData (   process)

Definition at line 79 of file reco_TLR_36X.py.

References customiseCommon().

Referenced by customiseExpress(), and customisePrompt().

79 
80 def customisePPData(process):
81  process= customiseCommon(process)
82  process.hfreco.firstSample=3
83  ##Preshower
84  process.ecalPreshowerRecHit.ESBaseline = 0
85 
86  ## local tracker strip reconstruction
87  process.OutOfTime.TOBlateBP=0.071
88  process.OutOfTime.TIBlateBP=0.036
89 
90  return process
91 
def customiseCommon
Definition: reco_TLR_36X.py:3
def customisePPData
Definition: reco_TLR_36X.py:79
def reco_TLR_36X.customisePPMC (   process)

Definition at line 93 of file reco_TLR_36X.py.

References customiseCommon().

93 
94 def customisePPMC(process):
95  process=customiseCommon(process)
96  process.hfreco.firstSample=1
97 
98  return process
def customiseCommon
Definition: reco_TLR_36X.py:3
def reco_TLR_36X.customisePrompt (   process)

Definition at line 121 of file reco_TLR_36X.py.

References customisePPData().

122 def customisePrompt(process):
123  process= customisePPData(process)
124 
126  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
127 
128  return process
def customisePPData
Definition: reco_TLR_36X.py:79