CMS 3D CMS Logo

Functions

reco_TLR_310X 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_310X::customiseCommon (   process)

Definition at line 3 of file reco_TLR_310X.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_310X::customiseCommonHI (   process)

Definition at line 98 of file reco_TLR_310X.py.

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

def reco_TLR_310X::customiseCosmicData (   process)

Definition at line 62 of file reco_TLR_310X.py.

00063                                 :
00064 
00065     return process

def reco_TLR_310X::customiseCosmicMC (   process)

Definition at line 67 of file reco_TLR_310X.py.

00068                               :
00069     
00070     return process
        
def reco_TLR_310X::customiseExpress (   process)

Definition at line 78 of file reco_TLR_310X.py.

00079                              :
00080     process= customisePPData(process)
00081 
00082     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00083     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00084     
00085     return process

def reco_TLR_310X::customiseExpressHI (   process)

Definition at line 120 of file reco_TLR_310X.py.

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

def reco_TLR_310X::customisePPData (   process)

Definition at line 33 of file reco_TLR_310X.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     return process
00054 

def reco_TLR_310X::customisePPMC (   process)

Definition at line 56 of file reco_TLR_310X.py.

00057                           :
00058     process=customiseCommon(process)
00059     
00060     return process

def reco_TLR_310X::customisePrompt (   process)

Definition at line 87 of file reco_TLR_310X.py.

00088                             :
00089     process= customisePPData(process)
00090 
00091     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00092     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00093     
00094     return process

def reco_TLR_310X::customisePromptHI (   process)

Definition at line 129 of file reco_TLR_310X.py.

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

def reco_TLR_310X::customiseVALSKIM (   process)

Definition at line 72 of file reco_TLR_310X.py.

00073                              :
00074     process= customisePPData(process)
00075     process.reconstruction.remove(process.lumiProducer)
00076     return process