CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/SimCalorimetry/EcalSelectiveReadoutProducers/python/ecalDigis_craft_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 simEcalDigis = cms.EDProducer("EcalSelectiveReadoutProducer",
00004     # Label of input EB and EE digi collections
00005     digiProducer = cms.string('simEcalUnsuppressedDigis'),
00006 
00007     # Instance name of input EB digi collections
00008     EBdigiCollection = cms.string(''),
00009 
00010     # Instance name of input EB digi collections
00011     EEdigiCollection = cms.string(''),
00012 
00013     # Instance name of output EB SR flags collection
00014     EBSrFlagCollection = cms.string('ebSrFlags'),
00015 
00016     # Instance name of output EE SR flags collection
00017     EESrFlagCollection = cms.string('eeSrFlags'),
00018 
00019     # Instance name of output EB digis collection
00020     EBSRPdigiCollection = cms.string('ebDigis'),
00021 
00022     # Instance name of output EE digis collection
00023     EESRPdigiCollection = cms.string('eeDigis'),
00024 
00025     # Label name of input ECAL trigger primitive collection
00026     trigPrimProducer = cms.string('simEcalTriggerPrimitiveDigis'),
00027 
00028     # Instance name of ECAL trigger primitive collection
00029     trigPrimCollection = cms.string(''),
00030 
00031     # Neighbour eta range, neighborhood: (2*deltaEta+1)*(2*deltaPhi+1)
00032     deltaEta = cms.int32(1),
00033 
00034     # Neighbouring eta range, neighborhood: (2*deltaEta+1)*(2*deltaPhi+1)
00035     deltaPhi = cms.int32(1),
00036 
00037     # Index of time sample (staring from 1) the first DCC weights is implied
00038     ecalDccZs1stSample = cms.int32(3),
00039 
00040     # ADC to GeV conversion factor used in ZS filter for EB
00041     ebDccAdcToGeV = cms.double(0.035),
00042 
00043     # ADC to GeV conversion factor used in ZS filter for EE
00044     eeDccAdcToGeV = cms.double(0.06),
00045 
00046     #DCC ZS FIR weights.
00047     #d-efault value set of DCC firmware used in CRUZET and CRAFT
00048     dccNormalizedWeights = cms.vdouble(-1.1865, 0.0195, 0.2900, 0.3477, 0.3008,
00049                                         0.2266),
00050 
00051     # Switch to use a symetric zero suppression (cut on absolute value). For
00052     # studies only, for time being it is not supported by the hardware.
00053     symetricZS = cms.bool(False),
00054 
00055     # ZS energy threshold in GeV to apply to low interest channels of barrel
00056     srpBarrelLowInterestChannelZS = cms.double(3*.035),
00057 
00058     # ZS energy threshold in GeV to apply to low interest channels of endcap
00059     srpEndcapLowInterestChannelZS = cms.double(3*0.06),
00060 
00061     # ZS energy threshold in GeV to apply to high interest channels of barrel
00062     srpBarrelHighInterestChannelZS = cms.double(-1.e9),
00063 
00064     # ZS energy threshold in GeV to apply to high interest channels of endcap
00065     srpEndcapHighInterestChannelZS = cms.double(-1.e9),
00066 
00067     #switch to run w/o trigger primitive. For debug use only
00068     trigPrimBypass = cms.bool(False),
00069                               
00070     #for debug mode only:
00071     trigPrimBypassLTH = cms.double(1.0),
00072 
00073     #for debug mode only:
00074     trigPrimBypassHTH = cms.double(1.0),
00075 
00076     #for debug mode only
00077     trigPrimBypassWithPeakFinder = cms.bool(True),
00078 
00079     # Mode selection for "Trig bypass" mode
00080     # 0: TT thresholds applied on sum of crystal Et's
00081     # 1: TT thresholds applies on compressed Et from Trigger primitive
00082     # @ee trigPrimByPass_ switch
00083     trigPrimBypassMode = cms.int32(0),
00084                               
00085     #number of events whose TT and SR flags must be dumped (for debug purpose):
00086     dumpFlags = cms.untracked.int32(0),
00087                               
00088     #logical flag to write out SrFlags
00089     writeSrFlags = cms.untracked.bool(True),
00090 
00091     #switch to apply selective readout decision on the digis and produce
00092     #the "suppressed" digis
00093     produceDigis = cms.untracked.bool(True),
00094 
00095     #Trigger Tower Flag to use when a flag is not found from the input
00096     #Trigger Primitive collection. Must be one of the following values:
00097     # 0: low interest, 1: mid interest, 3: high interest
00098     # 4: forced low interest, 5: forced mid interest, 7: forced high interest
00099     defaultTtf_ = cms.int32(4),
00100 
00101     # SR->action flag map
00102     actions = cms.vint32(1, 3, 3, 3, 5, 7, 7, 7)
00103 )
00104 
00105 
00106