CMS 3D CMS Logo

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.

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     ## ECAL 
00042     process.ecalRecHit.ChannelStatusToBeExcluded = [ 1, 2, 3, 4, 8, 9, 10, 11, 12, 13, 14, 78, 142 ]
00043 
00044     ###
00045     ###  end of top level replacements
00046     ###
00047     ###############################################################################################
00048 
00049     return (process)
00050 

def reco_TLR_38X::customiseCosmicData (   process)

Definition at line 81 of file reco_TLR_38X.py.

00082                                 :
00083 
00084     return process

def reco_TLR_38X::customiseCosmicMC (   process)

Definition at line 86 of file reco_TLR_38X.py.

00087                               :
00088     
00089     return process
        
def reco_TLR_38X::customiseExpress (   process)

Definition at line 97 of file reco_TLR_38X.py.

00098                              :
00099     process= customisePPData(process)
00100 
00101     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00102     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00103     
00104     return process

def reco_TLR_38X::customisePPData (   process)

Definition at line 52 of file reco_TLR_38X.py.

00053                             :
00054     process= customiseCommon(process)
00055 
00056     ## particle flow HF cleaning
00057     process.particleFlowRecHitHCAL.LongShortFibre_Cut = 30.
00058     process.particleFlowRecHitHCAL.ApplyPulseDPG = True
00059 
00060     ## HF cleaning for data only
00061     process.hcalRecAlgos.SeverityLevels[3].RecHitFlags.remove("HFDigiTime")
00062     process.hcalRecAlgos.SeverityLevels[4].RecHitFlags.append("HFDigiTime")
00063 
00064     ##beam-halo-id for data only
00065     process.CSCHaloData.ExpectedBX = cms.int32(3)
00066 
00067     ## hcal hit flagging
00068     process.hfreco.PETstat.flagsToSkip  = 2
00069     process.hfreco.S8S1stat.flagsToSkip = 18
00070     process.hfreco.S9S1stat.flagsToSkip = 26
00071     
00072     return process
00073 

def reco_TLR_38X::customisePPMC (   process)

Definition at line 75 of file reco_TLR_38X.py.

00076                           :
00077     process=customiseCommon(process)
00078     
00079     return process

def reco_TLR_38X::customisePrompt (   process)

Definition at line 106 of file reco_TLR_38X.py.

00107                             :
00108     process= customisePPData(process)
00109 
00110     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00111     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00112     
00113     return process
def reco_TLR_38X::customiseVALSKIM (   process)

Definition at line 91 of file reco_TLR_38X.py.

00092                              :
00093     process= customisePPData(process)
00094     process.reconstruction.remove(process.lumiProducer)
00095     return process