CMS 3D CMS Logo

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

Functions

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

Function Documentation

def reco_TLR_38X.customiseCommon (   process)

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

Definition at line 81 of file reco_TLR_38X.py.

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

Definition at line 86 of file reco_TLR_38X.py.

86 
87 def customiseCosmicMC(process):
88 
89  return process
def customiseCosmicMC
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 
98 def customiseExpress(process):
99  process= customisePPData(process)
100 
102  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
103 
104  return process
def customiseExpress
Definition: reco_TLR_38X.py:97
def customisePPData
Definition: reco_TLR_38X.py:52
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 
53 def customisePPData(process):
54  process= customiseCommon(process)
55 
56  ## particle flow HF cleaning
57  process.particleFlowRecHitHCAL.LongShortFibre_Cut = 30.
58  process.particleFlowRecHitHCAL.ApplyPulseDPG = True
59 
60  ## HF cleaning for data only
61  process.hcalRecAlgos.SeverityLevels[3].RecHitFlags.remove("HFDigiTime")
62  process.hcalRecAlgos.SeverityLevels[4].RecHitFlags.append("HFDigiTime")
63 
64  ##beam-halo-id for data only
65  process.CSCHaloData.ExpectedBX = cms.int32(3)
66 
67  ## hcal hit flagging
68  process.hfreco.PETstat.flagsToSkip = 2
69  process.hfreco.S8S1stat.flagsToSkip = 18
70  process.hfreco.S9S1stat.flagsToSkip = 26
71 
72  return process
73 
def customisePPData
Definition: reco_TLR_38X.py:52
def customiseCommon
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 
76 def customisePPMC(process):
77  process=customiseCommon(process)
78 
79  return process
def customiseCommon
Definition: reco_TLR_38X.py:3
def reco_TLR_38X.customisePrompt (   process)

Definition at line 106 of file reco_TLR_38X.py.

References customisePPData().

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

Definition at line 91 of file reco_TLR_38X.py.

References customisePPData().

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