CMS 3D CMS Logo

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.

00004                             :
00005     
00006     #####################################################################################################
00007     ####
00008     ####  Top level replaces for handling strange scenarios of early collisions
00009     ####
00010 
00011     ## TRACKING:
00012     ## Skip events with HV off
00013     process.newSeedFromTriplets.ClusterCheckPSet.MaxNumberOfPixelClusters=2000
00014     process.newSeedFromPairs.ClusterCheckPSet.MaxNumberOfCosmicClusters=20000
00015     process.secTriplets.ClusterCheckPSet.MaxNumberOfPixelClusters=2000
00016     process.fifthSeeds.ClusterCheckPSet.MaxNumberOfCosmicClusters = 20000
00017     process.fourthPLSeeds.ClusterCheckPSet.MaxNumberOfCosmicClusters=20000
00018     process.thTripletsA.ClusterCheckPSet.MaxNumberOfPixelClusters = 5000
00019     process.thTripletsB.ClusterCheckPSet.MaxNumberOfPixelClusters = 5000
00020 
00021     ###### FIXES TRIPLETS FOR LARGE BS DISPLACEMENT ######
00022 
00023     ### prevent bias in pixel vertex
00024     process.pixelVertices.useBeamConstraint = False
00025     
00026     ### pixelTracks
00027     #---- new parameters ----
00028     process.pixelTracks.RegionFactoryPSet.RegionPSet.nSigmaZ  = 4.06
00029     process.pixelTracks.RegionFactoryPSet.RegionPSet.originHalfLength = cms.double(40.6)
00030 
00031     ### 0th step of iterative tracking
00032     #---- new parameters ----
00033     process.newSeedFromTriplets.RegionFactoryPSet.RegionPSet.nSigmaZ   = cms.double(4.06)  
00034     process.newSeedFromTriplets.RegionFactoryPSet.RegionPSet.originHalfLength = 40.6
00035 
00036     ### 2nd step of iterative tracking
00037     #---- new parameters ----
00038     process.secTriplets.RegionFactoryPSet.RegionPSet.nSigmaZ  = cms.double(4.47)  
00039     process.secTriplets.RegionFactoryPSet.RegionPSet.originHalfLength = 44.7
00040 
00041     ## Primary Vertex
00042     process.offlinePrimaryVerticesWithBS.PVSelParameters.maxDistanceToBeam = 2
00043     process.offlinePrimaryVerticesWithBS.TkFilterParameters.maxNormalizedChi2 = 20
00044     process.offlinePrimaryVerticesWithBS.TkFilterParameters.maxD0Significance = 100
00045     process.offlinePrimaryVerticesWithBS.TkFilterParameters.minPixelLayersWithHits = 2
00046     process.offlinePrimaryVerticesWithBS.TkFilterParameters.minSiliconLayersWithHits = 5
00047     process.offlinePrimaryVerticesWithBS.TkClusParameters.TkGapClusParameters.zSeparation = 1
00048     process.offlinePrimaryVertices.PVSelParameters.maxDistanceToBeam = 2
00049     process.offlinePrimaryVertices.TkFilterParameters.maxNormalizedChi2 = 20
00050     process.offlinePrimaryVertices.TkFilterParameters.maxD0Significance = 100
00051     process.offlinePrimaryVertices.TkFilterParameters.minPixelLayersWithHits = 2
00052     process.offlinePrimaryVertices.TkFilterParameters.minSiliconLayersWithHits = 5
00053     process.offlinePrimaryVertices.TkClusParameters.TkGapClusParameters.zSeparation = 1
00054 
00055     ## ECAL 
00056     process.ecalRecHit.ChannelStatusToBeExcluded = [ 1, 2, 3, 4, 8, 9, 10, 11, 12, 13, 14, 78, 142 ]
00057 
00058 
00059     ## HCAL temporary fixes
00060     process.hfreco.samplesToAdd = 4
00061     
00062     ## EGAMMA
00063     process.photons.minSCEtBarrel = 5.
00064     process.photons.minSCEtEndcap =5.
00065     process.photonCore.minSCEt = 5.
00066     process.conversionTrackCandidates.minSCEt =5.
00067     process.conversions.minSCEt =5.
00068     process.trackerOnlyConversions.rCut = 2.
00069     process.trackerOnlyConversions.vtxChi2 = 0.0005
00070     
00071     ###
00072     ###  end of top level replacements
00073     ###
00074     ###############################################################################################
00075 
00076     return (process)
00077 

def reco_TLR_36X::customiseCosmicData (   process)

Definition at line 100 of file reco_TLR_36X.py.

00101                                 :
00102     process.ecalPreshowerRecHit.ESBaseline = 0
00103     
00104     return process

def reco_TLR_36X::customiseCosmicMC (   process)

Definition at line 106 of file reco_TLR_36X.py.

00107                               :
00108     
00109     return process
00110         

def reco_TLR_36X::customiseExpress (   process)

Definition at line 112 of file reco_TLR_36X.py.

00113                              :
00114     process= customisePPData(process)
00115 
00116     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00117     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00118 
00119     return process

def reco_TLR_36X::customisePPData (   process)

Definition at line 79 of file reco_TLR_36X.py.

00080                             :
00081     process= customiseCommon(process)
00082     process.hfreco.firstSample=3
00083     ##Preshower
00084     process.ecalPreshowerRecHit.ESBaseline = 0
00085 
00086     ## local tracker strip reconstruction
00087     process.OutOfTime.TOBlateBP=0.071
00088     process.OutOfTime.TIBlateBP=0.036
00089 
00090     return process
00091 

def reco_TLR_36X::customisePPMC (   process)

Definition at line 93 of file reco_TLR_36X.py.

00094                           :
00095     process=customiseCommon(process)
00096     process.hfreco.firstSample=1
00097     
00098     return process

def reco_TLR_36X::customisePrompt (   process)

Definition at line 121 of file reco_TLR_36X.py.

00122                             :
00123     process= customisePPData(process)
00124 
00125     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00126     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00127     
00128     return process