CMS 3D CMS Logo

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.

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_37X::customiseCosmicData (   process)

Definition at line 107 of file reco_TLR_37X.py.

00108                                 :
00109 
00110     return process

def reco_TLR_37X::customiseCosmicMC (   process)

Definition at line 112 of file reco_TLR_37X.py.

00113                               :
00114     
00115     return process
00116         

def reco_TLR_37X::customiseExpress (   process)

Definition at line 118 of file reco_TLR_37X.py.

00119                              :
00120     process= customisePPData(process)
00121 
00122     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00123     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00124     
00125     return process

def reco_TLR_37X::customisePPData (   process)

Definition at line 79 of file reco_TLR_37X.py.

00080                             :
00081     process= customiseCommon(process)
00082     process.hfreco.firstSample=3
00083 
00084     ## local tracker strip reconstruction
00085     process.OutOfTime.TOBlateBP=0.071
00086     process.OutOfTime.TIBlateBP=0.036
00087             
00088     ## particle flow HF cleaning
00089     process.particleFlowRecHitHCAL.LongShortFibre_Cut = 30.
00090     process.particleFlowRecHitHCAL.ApplyPulseDPG = True
00091 
00092     ## HF cleaning for data only
00093     process.hcalRecAlgos.SeverityLevels[3].RecHitFlags.remove("HFDigiTime")
00094     process.hcalRecAlgos.SeverityLevels[4].RecHitFlags.append("HFDigiTime")
00095     
00096     return process
00097 

def reco_TLR_37X::customisePPMC (   process)

Definition at line 99 of file reco_TLR_37X.py.

00100                           :
00101     process=customiseCommon(process)
00102     process.hfreco.firstSample=1
00103     process.CSCHaloData.ExpectedBX = cms.int32(6)
00104     
00105     return process

def reco_TLR_37X::customisePrompt (   process)

Definition at line 127 of file reco_TLR_37X.py.

00128                             :
00129     process= customisePPData(process)
00130 
00131     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00132     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00133     
00134     return process