CMS 3D CMS Logo

Functions
reco_TLR_38X Namespace Reference

Functions

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

Function Documentation

def reco_TLR_38X.customiseCommon (   process)

Definition at line 3 of file reco_TLR_38X.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  ## ECAL
41  process.ecalRecHit.ChannelStatusToBeExcluded = [ 1, 2, 3, 4, 8, 9, 10, 11, 12, 13, 14, 78, 142 ]
42 
43  ###
44  ### end of top level replacements
45  ###
46  ###############################################################################################
47 
48  return (process)
49 
50 
def customiseCommon(process)
Definition: reco_TLR_38X.py:3
def reco_TLR_38X.customiseCosmicData (   process)

Definition at line 81 of file reco_TLR_38X.py.

81 def customiseCosmicData(process):
82 
83  return process
84 
def customiseCosmicData(process)
Definition: reco_TLR_38X.py:81
def reco_TLR_38X.customiseCosmicMC (   process)

Definition at line 86 of file reco_TLR_38X.py.

86 def customiseCosmicMC(process):
87 
88  return process
89 
def customiseCosmicMC(process)
Definition: reco_TLR_38X.py:86
def reco_TLR_38X.customiseExpress (   process)

Definition at line 97 of file reco_TLR_38X.py.

References customisePPData().

97 def customiseExpress(process):
98  process= customisePPData(process)
99 
101  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
102 
103  return process
104 
def customisePPData(process)
Definition: reco_TLR_38X.py:52
def customiseExpress(process)
Definition: reco_TLR_38X.py:97
def reco_TLR_38X.customisePPData (   process)

Definition at line 52 of file reco_TLR_38X.py.

References customiseCommon().

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

52 def customisePPData(process):
53  process= customiseCommon(process)
54 
55  ## particle flow HF cleaning
56  process.particleFlowRecHitHCAL.LongShortFibre_Cut = 30.
57  process.particleFlowRecHitHCAL.ApplyPulseDPG = True
58 
59  ## HF cleaning for data only
60  process.hcalRecAlgos.SeverityLevels[3].RecHitFlags.remove("HFDigiTime")
61  process.hcalRecAlgos.SeverityLevels[4].RecHitFlags.append("HFDigiTime")
62 
63  ##beam-halo-id for data only
64  process.CSCHaloData.ExpectedBX = cms.int32(3)
65 
66  ## hcal hit flagging
67  process.hfreco.PETstat.flagsToSkip = 2
68  process.hfreco.S8S1stat.flagsToSkip = 18
69  process.hfreco.S9S1stat.flagsToSkip = 26
70 
71  return process
72 
73 
def customisePPData(process)
Definition: reco_TLR_38X.py:52
def customiseCommon(process)
Definition: reco_TLR_38X.py:3
def reco_TLR_38X.customisePPMC (   process)

Definition at line 75 of file reco_TLR_38X.py.

References customiseCommon().

75 def customisePPMC(process):
76  process=customiseCommon(process)
77 
78  return process
79 
def customisePPMC(process)
Definition: reco_TLR_38X.py:75
def customiseCommon(process)
Definition: reco_TLR_38X.py:3
def reco_TLR_38X.customisePrompt (   process)

Definition at line 106 of file reco_TLR_38X.py.

References customisePPData().

106 def customisePrompt(process):
107  process= customisePPData(process)
108 
110  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
111 
112  return process
113 
def customisePPData(process)
Definition: reco_TLR_38X.py:52
def customisePrompt(process)
def reco_TLR_38X.customiseVALSKIM (   process)

Definition at line 91 of file reco_TLR_38X.py.

References customisePPData().

91 def customiseVALSKIM(process):
92  process= customisePPData(process)
93  process.reconstruction.remove(process.lumiProducer)
94  return process
95 
def customisePPData(process)
Definition: reco_TLR_38X.py:52
def customiseVALSKIM(process)
Definition: reco_TLR_38X.py:91