CMS 3D CMS Logo

Functions

reco_TLR_39X Namespace Reference

Functions

def customiseAlcaOnlyPromptHI
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_39X::customiseAlcaOnlyPromptHI (   process)

Definition at line 149 of file reco_TLR_39X.py.

00150                                       :
00151     process= customiseCommonHI(process)
00152 
00153     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00154     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00155 
00156     import HLTrigger.HLTfilters.hltHighLevel_cfi
00157     process.hltCentralityVeto = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
00158         HLTPaths = cms.vstring('HLT_HICentralityVeto'),
00159         throw = cms.bool(False)
00160     )
00161 
00162     for path in process.paths:
00163         getattr(process,path)._seq = process.hltCentralityVeto * getattr(process,path)._seq
00164     
00165     return process

def reco_TLR_39X::customiseCommon (   process)

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

Definition at line 98 of file reco_TLR_39X.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.PedestalSubtractionFedMode = cms.bool(False)
00108     process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string("IteratedMedian")
00109     process.siStripZeroSuppression.doAPVRestore = cms.bool(True)
00110     process.siStripZeroSuppression.storeCM = cms.bool(True)
00111 
00112     ## Fixes to protect against large BS displacements
00113     process.hiPixel3ProtoTracks.RegionFactoryPSet.RegionPSet.originRadius = 0.2
00114     process.hiPixel3ProtoTracks.RegionFactoryPSet.RegionPSet.fixedError = 0.5
00115     process.hiSelectedProtoTracks.maxD0Significance = 100
00116     process.hiPixelAdaptiveVertex.TkFilterParameters.maxD0Significance = 100
00117     process.hiPixelAdaptiveVertex.useBeamConstraint = False
00118     process.hiPixelAdaptiveVertex.PVSelParameters.maxDistanceToBeam = 1.0
00119 
00120     ###
00121     ###  end of top level replacements
00122     ###
00123     ###############################################################################################
00124 
00125     return process

def reco_TLR_39X::customiseCosmicData (   process)

Definition at line 62 of file reco_TLR_39X.py.

00063                                 :
00064 
00065     return process

def reco_TLR_39X::customiseCosmicMC (   process)

Definition at line 67 of file reco_TLR_39X.py.

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

Definition at line 78 of file reco_TLR_39X.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_39X::customiseExpressHI (   process)

Definition at line 127 of file reco_TLR_39X.py.

00128                                :
00129     process= customiseCommonHI(process)
00130 
00131     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00132     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00133 
00134     # keep some debugging content for zero suppression
00135     process.siStripZeroSuppression.produceRawDigis = cms.bool(True)
00136     process.siStripZeroSuppression.produceCalculatedBaseline = cms.bool(True)
00137     
00138     return process

def reco_TLR_39X::customisePPData (   process)

Definition at line 33 of file reco_TLR_39X.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_39X::customisePPMC (   process)

Definition at line 56 of file reco_TLR_39X.py.

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

def reco_TLR_39X::customisePrompt (   process)

Definition at line 87 of file reco_TLR_39X.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_39X::customisePromptHI (   process)

Definition at line 140 of file reco_TLR_39X.py.

00141                               :
00142     process= customiseCommonHI(process)
00143 
00144     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00145     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00146     
00147     return process

def reco_TLR_39X::customiseVALSKIM (   process)

Definition at line 72 of file reco_TLR_39X.py.

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