CMS 3D CMS Logo

Functions

customise_mixing Namespace Reference

Functions

def customise_NoCrossing
def customise_NoCrossing_PU
def customise_pixelMixing
def customise_pixelMixing_PU

Function Documentation

def customise_mixing::customise_NoCrossing (   process)

Definition at line 21 of file customise_mixing.py.

00022                                  :
00023     process.mix.mixObjects.mixSH.crossingFrames = cms.untracked.vstring(
00024         'BSCHits',
00025         'FP420SI',
00026         'MuonCSCHits',
00027         'MuonDTHits',
00028         'MuonRPCHits',
00029         'TotemHitsRP',
00030         'TotemHitsT1',
00031         'TotemHitsT2Gem')
00032     process.mix.mixObjects.mixCH.crossingFrames = cms.untracked.vstring('')
00033     process.mix.mixObjects.mixTracks.makeCrossingFrame = cms.untracked.bool(False)
00034 #    process.mix.mixObjects.mixVertices.makeCrossingFrame = cms.untracked.bool(False)
00035     process.mix.mixObjects.mixHepMC.makeCrossingFrame = cms.untracked.bool(False)
00036     return (process)

def customise_mixing::customise_NoCrossing_PU (   process)

Definition at line 53 of file customise_mixing.py.

00054                                     :
00055     process=customise_pixelMixing_PU(process)
00056     process=customise_NoCrossing(process)
00057     return (process)
00058 
def customise_mixing::customise_pixelMixing (   process)

Definition at line 4 of file customise_mixing.py.

00005                                   :
00006     process.mix.digitizers.pixel.MissCalibrate = False
00007     process.mix.digitizers.pixel.LorentzAngle_DB = False
00008     process.mix.digitizers.pixel.killModules = False
00009     process.mix.digitizers.pixel.useDB = False
00010     process.mix.digitizers.pixel.DeadModules_DB = False
00011     process.mix.digitizers.pixel.NumPixelBarrel = cms.int32(4)
00012     process.mix.digitizers.pixel.NumPixelEndcap = cms.int32(3)
00013     process.mix.digitizers.pixel.ThresholdInElectrons_FPix = cms.double(2000.0)
00014     process.mix.digitizers.pixel.ThresholdInElectrons_BPix = cms.double(2000.0)
00015     process.mix.digitizers.pixel.ThresholdInElectrons_BPix_L1 = cms.double(2000.0)
00016     process.mix.digitizers.pixel.thePixelColEfficiency_BPix4 = cms.double(0.999)
00017     process.mix.digitizers.pixel.thePixelEfficiency_BPix4 = cms.double(0.999)
00018     process.mix.digitizers.pixel.thePixelChipEfficiency_BPix4 = cms.double(0.999)
00019     return (process)
00020 
# Remove the Crossing Frames to save memory
def customise_mixing::customise_pixelMixing_PU (   process)

Definition at line 37 of file customise_mixing.py.

00038                                      :
00039     if hasattr(process,'mix'): 
00040         n=0
00041         if hasattr(process.mix,'input'):
00042             n=process.mix.input.nbPileupEvents.averageNumber.value()
00043         if n>0:
00044             process.mix.digitizers.pixel.thePixelColEfficiency_BPix1 = cms.double(1.0-(0.0238*n/50.0))
00045             process.mix.digitizers.pixel.thePixelColEfficiency_BPix2 = cms.double(1.0-(0.0046*n/50.0))
00046             process.mix.digitizers.pixel.thePixelColEfficiency_BPix3 = cms.double(1.0-(0.0018*n/50.0))
00047             process.mix.digitizers.pixel.thePixelColEfficiency_BPix4 = cms.double(1.0-(0.0008*n/50.0))
00048             process.mix.digitizers.pixel.thePixelColEfficiency_FPix1 = cms.double(1.0-(0.0018*n/50.0))
00049             process.mix.digitizers.pixel.thePixelColEfficiency_FPix2 = cms.double(1.0-(0.0018*n/50.0))
00050             process.mix.digitizers.pixel.thePixelColEfficiency_FPix3 = cms.double(1.0-(0.0018*n/50.0))
00051         
00052     return (process)