CMS 3D CMS Logo

Functions

reco_TLR_311X Namespace Reference

Functions

def customiseCommon
def customiseCommonHI
def customiseCosmicData
def customiseCosmicMC
def customiseExpress
def customiseExpressHI
def customisePPData
def customisePPMC
def customisePrompt
def customisePromptHI
def customiseVALSKIM

Function Documentation

def reco_TLR_311X::customiseCommon (   process)

Definition at line 3 of file reco_TLR_311X.py.

00004                             :
00005     
00006     #####################################################################################################
00007     ####
00008     ####  Top level replaces for handling strange scenarios of early collisions
00009     ####
00010 
00011     ## TRACKING:
00012     process.newSeedFromTriplets.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
00013     process.newSeedFromPairs.OrderedHitsFactoryPSet.maxElement = cms.uint32(100000)
00014     process.secTriplets.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
00015     process.thTripletsA.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
00016     process.thTripletsB.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
00017     process.fourthPLSeeds.OrderedHitsFactoryPSet.maxElement = cms.uint32(100000)
00018     process.fifthSeeds.OrderedHitsFactoryPSet.maxElement = cms.uint32(100000)
00019     
00020     ###### FIXES TRIPLETS FOR LARGE BS DISPLACEMENT ######
00021 
00022     ### prevent bias in pixel vertex
00023     process.pixelVertices.useBeamConstraint = False
00024     
00025     ###
00026     ###  end of top level replacements
00027     ###
00028     ###############################################################################################
00029 
00030     return (process)
00031 

def reco_TLR_311X::customiseCommonHI (   process)

Definition at line 99 of file reco_TLR_311X.py.

00100                               :
00101     
00102     ###############################################################################################
00103     ####
00104     ####  Top level replaces for handling strange scenarios of early HI collisions
00105     ####
00106 
00107     ## Offline Silicon Tracker Zero Suppression
00108     process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string("IteratedMedian")
00109     process.siStripZeroSuppression.Algorithms.CutToAvoidSignal = cms.double(2.0)
00110     process.siStripZeroSuppression.Algorithms.Iterations = cms.int32(3)
00111     process.siStripZeroSuppression.storeCM = cms.bool(True)
00112 
00113 
00114     ###
00115     ###  end of top level replacements
00116     ###
00117     ###############################################################################################
00118 
00119     return process

def reco_TLR_311X::customiseCosmicData (   process)

Definition at line 66 of file reco_TLR_311X.py.

00067                                 :
00068 
00069     return process

def reco_TLR_311X::customiseCosmicMC (   process)

Definition at line 71 of file reco_TLR_311X.py.

00072                               :
00073     
00074     return process
        
def reco_TLR_311X::customiseExpress (   process)

Definition at line 82 of file reco_TLR_311X.py.

00083                              :
00084     process= customisePPData(process)
00085 
00086     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00087     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00088     
00089     return process

def reco_TLR_311X::customiseExpressHI (   process)

Definition at line 121 of file reco_TLR_311X.py.

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

def reco_TLR_311X::customisePPData (   process)

Definition at line 33 of file reco_TLR_311X.py.

00034                             :
00035     process= customiseCommon(process)
00036 
00037     ## particle flow HF cleaning
00038     process.particleFlowRecHitHCAL.LongShortFibre_Cut = 30.
00039     process.particleFlowRecHitHCAL.ApplyPulseDPG = True
00040 
00041     ## HF cleaning for data only
00042     process.hcalRecAlgos.SeverityLevels[3].RecHitFlags.remove("HFDigiTime")
00043     process.hcalRecAlgos.SeverityLevels[4].RecHitFlags.append("HFDigiTime")
00044 
00045     ##beam-halo-id for data only
00046     process.CSCHaloData.ExpectedBX = cms.int32(3)
00047 
00048     ## hcal hit flagging
00049     process.hfreco.PETstat.flagsToSkip  = 2
00050     process.hfreco.S8S1stat.flagsToSkip = 18
00051     process.hfreco.S9S1stat.flagsToSkip = 26
00052 
00053     ##Ecal time bias correction
00054     process.ecalGlobalUncalibRecHit.doEBtimeCorrection = True
00055     process.ecalGlobalUncalibRecHit.doEEtimeCorrection = True
00056     
00057     return process
00058 

def reco_TLR_311X::customisePPMC (   process)

Definition at line 60 of file reco_TLR_311X.py.

00061                           :
00062     process=customiseCommon(process)
00063     
00064     return process

def reco_TLR_311X::customisePrompt (   process)

Definition at line 91 of file reco_TLR_311X.py.

00092                             :
00093     process= customisePPData(process)
00094 
00095     return process

def reco_TLR_311X::customisePromptHI (   process)

Definition at line 130 of file reco_TLR_311X.py.

00131                               :
00132     process= customiseCommonHI(process)
00133 
00134     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00135     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00136     
00137     return process

def reco_TLR_311X::customiseVALSKIM (   process)

Definition at line 76 of file reco_TLR_311X.py.

00077                              :
00078     process= customisePPData(process)
00079     process.reconstruction.remove(process.lumiProducer)
00080     return process