Ejemplo n.º 1
0
def HGCal_setEndOfLifeNoise_1500(process):
    process.HGCAL_cceParams_toUse = cms.PSet(
        cceParamFine=cms.vdouble(hgcSiSensorCCE(120, 'TDR_600V')),
        cceParamThin=cms.vdouble(hgcSiSensorCCE(200, 'TDR_600V')),
        cceParamThick=cms.vdouble(hgcSiSensorCCE(300, 'TDR_600V')),
    )
    process.HGCAL_ileakParam_toUse = cms.PSet(
        ileakParam=cms.vdouble(hgcSiSensorIleak('TDR_800V')))
    return HGCal_setEndOfLifeNoise(process, byDoseFactor=0.5)
Ejemplo n.º 2
0
    "Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
process.load('Configuration.Geometry.{}_cff'.format(options.geometry))
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')

process.maxEvents = cms.untracked.PSet(input=cms.untracked.int32(1))
process.source = cms.Source("EmptySource")

from SimCalorimetry.HGCalSimAlgos.hgcSensorOpParams_cfi import hgcSiSensorIleak, hgcSiSensorCCE
from SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi import HGCAL_ileakParam_toUse, HGCAL_cceParams_toUse

HGCAL_ileakParam_toUse = cms.PSet(
    ileakParam=cms.vdouble(hgcSiSensorIleak(options.conditions)))

HGCAL_cceParams_toUse = cms.PSet(
    cceParamFine=cms.vdouble(hgcSiSensorCCE(120, options.conditions)),
    cceParamThin=cms.vdouble(hgcSiSensorCCE(200, options.conditions)),
    cceParamThick=cms.vdouble(hgcSiSensorCCE(300, options.conditions)),
)

process.plotter_eol = cms.EDAnalyzer("HGCSiNoiseMapAnalyzer",
                                     scaleByDoseFactor=cms.double(1.),
                                     doseMap=cms.string(options.doseMap),
                                     doseMapAlgo=cms.uint32(0),
                                     ileakParam=HGCAL_ileakParam_toUse,
                                     cceParams=HGCAL_cceParams_toUse,
                                     aimMIPtoADC=cms.int32(10),
                                     ignoreGainSettings=cms.bool(False))

process.plotter_eol_nogain = process.plotter_eol.clone(
    ignoreGainSettings=cms.bool(True))
Ejemplo n.º 3
0
from SimCalorimetry.HGCalSimAlgos.hgcSensorOpParams_cfi import hgcSiSensorIleak,hgcSiSensorCCE

# Base configurations for HGCal digitizers
eV_per_eh_pair = 3.62
fC_per_ele     = 1.6020506e-4
nonAgedCCEs    = [1.0, 1.0, 1.0]
nonAgedNoises  = [2100.0,2100.0,1600.0] #100,200,300 um (in electrons)
nonAgedNoises_v9 = [2000.0,2400.0,2000.0] # 120,200,300 um (in electrons)
thresholdTracksMIP = True

HGCAL_ileakParam_toUse    = cms.PSet(
    ileakParam = cms.vdouble( hgcSiSensorIleak('TDR_600V') )
)

HGCAL_cceParams_toUse = cms.PSet(
    cceParamFine  = cms.vdouble(hgcSiSensorCCE(120,'TDR_600V')),
    cceParamThin  = cms.vdouble(hgcSiSensorCCE(200,'TDR_600V')),
    cceParamThick = cms.vdouble(hgcSiSensorCCE(300,'TDR_600V')),
    )

HGCAL_noise_fC = cms.PSet(
    scaleByDose = cms.bool(False),
    scaleByDoseAlgo = cms.uint32(0),
    scaleByDoseFactor = cms.double(1),
    doseMap = cms.string(""),
    values = cms.vdouble( [x*fC_per_ele for x in nonAgedNoises] ), #100,200,300 um
    )

HFNose_noise_fC = HGCAL_noise_fC.clone()

HGCAL_noise_heback = cms.PSet(