Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
import FWCore.ParameterSet.Config as cms

siStripNoisesFakeESSource = cms.ESSource("SiStripNoisesFakeESSource",
        appendToDataLabel = cms.string(''),
        SiStripDetInfoFile = cms.FileInPath("CalibTracker/SiStripCommon/data/SiStripDetInfo.dat"),

        printDebug = cms.untracked.uint32(5),

        StripLengthMode = cms.bool(True),

        #relevant if striplenght mode is chosen
        # standard value for deconvolution mode is 51. For peak mode 38.8.
        # standard value for deconvolution mode is 630. For peak mode  414.

        # TIB
        NoiseStripLengthSlopeTIB = cms.vdouble( 51.0,  51.0,  51.0,  51.0),
        NoiseStripLengthQuoteTIB = cms.vdouble(630.0, 630.0, 630.0, 630.0),
        # TID
        NoiseStripLengthSlopeTID = cms.vdouble( 51.0,  51.0,  51.0),
        NoiseStripLengthQuoteTID = cms.vdouble(630.0, 630.0, 630.0),
        # TOB
        NoiseStripLengthSlopeTOB = cms.vdouble( 51.0,  51.0,  51.0,  51.0,  51.0,  51.0),
        NoiseStripLengthQuoteTOB = cms.vdouble(630.0, 630.0, 630.0, 630.0, 630.0, 630.0),
        # TEC
        NoiseStripLengthSlopeTEC = cms.vdouble( 51.0,  51.0,  51.0,  51.0,  51.0,  51.0,  51.0),
        NoiseStripLengthQuoteTEC = cms.vdouble(630.0, 630.0, 630.0, 630.0, 630.0, 630.0, 630.0),

        electronPerAdc = cms.double(1.0),

        #relevant if random mode is chosen
        # TIB
        MeanNoiseTIB  = cms.vdouble(4.0, 4.0, 4.0, 4.0),
        SigmaNoiseTIB = cms.vdouble(0.5, 0.5, 0.5, 0.5),
        # TID
        MeanNoiseTID  = cms.vdouble(4.0, 4.0, 4.0),
        SigmaNoiseTID = cms.vdouble(0.5, 0.5, 0.5),
        # TOB
        MeanNoiseTOB  = cms.vdouble(4.0, 4.0, 4.0, 4.0, 4.0, 4.0),
        SigmaNoiseTOB = cms.vdouble(0.5, 0.5, 0.5, 0.5, 0.5, 0.5),
        # TEC
        MeanNoiseTEC  = cms.vdouble(4.0, 4.0, 4.0, 4.0, 4.0, 4.0, 4.0),
        SigmaNoiseTEC = cms.vdouble(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5),

        MinPositiveNoise = cms.double(0.1)
        )

from SimGeneral.MixingModule.stripDigitizer_cfi import *
#from SimTracker.SiStripDigitizer.SiStripDigi_cfi import *
siStripNoisesFakeESSource.electronPerAdc = stripDigitizer.electronPerAdcDec