Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:28:30

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 simEcalDigis = cms.EDProducer("EcalSelectiveReadoutProducer",
0004     # Label of input EB and EE digi collections
0005     digiProducer = cms.string('simEcalUnsuppressedDigis'),
0006 
0007     # Instance name of input EB digi collections
0008     EBdigiCollection = cms.string(''),
0009 
0010     # Instance name of input EB digi collections
0011     EEdigiCollection = cms.string(''),
0012 
0013     # Instance name of output EB SR flags collection
0014     EBSrFlagCollection = cms.string('ebSrFlags'),
0015 
0016     # Instance name of output EE SR flags collection
0017     EESrFlagCollection = cms.string('eeSrFlags'),
0018 
0019     # Instance name of output EB digis collection
0020     EBSRPdigiCollection = cms.string('ebDigis'),
0021 
0022     # Instance name of output EE digis collection
0023     EESRPdigiCollection = cms.string('eeDigis'),
0024 
0025     # Label name of input ECAL trigger primitive collection
0026     trigPrimProducer = cms.string('simEcalTriggerPrimitiveDigis'),
0027 
0028     # Instance name of ECAL trigger primitive collection
0029     trigPrimCollection = cms.string(''),
0030 
0031     # Neighbour eta range, neighborhood: (2*deltaEta+1)*(2*deltaPhi+1)
0032     deltaEta = cms.int32(1),
0033 
0034     # Neighbouring eta range, neighborhood: (2*deltaEta+1)*(2*deltaPhi+1)
0035     deltaPhi = cms.int32(1),
0036 
0037     # Index of time sample (staring from 1) the first DCC weights is implied
0038     ecalDccZs1stSample = cms.int32(3),
0039 
0040     # ADC to GeV conversion factor used in ZS filter for EB
0041     ebDccAdcToGeV = cms.double(0.035),
0042 
0043     # ADC to GeV conversion factor used in ZS filter for EE
0044     eeDccAdcToGeV = cms.double(0.06),
0045 
0046     #DCC ZS FIR weights.
0047     #d-efault value set of DCC firmware used in CRUZET and CRAFT
0048     dccNormalizedWeights = cms.vdouble(-1.1865, 0.0195, 0.2900, 0.3477, 0.3008,
0049                                         0.2266),
0050 
0051     # Switch to use a symetric zero suppression (cut on absolute value). For
0052     # studies only, for time being it is not supported by the hardware.
0053     symetricZS = cms.bool(False),
0054 
0055     # ZS energy threshold in GeV to apply to low interest channels of barrel
0056     srpBarrelLowInterestChannelZS = cms.double(3*.035),
0057 
0058     # ZS energy threshold in GeV to apply to low interest channels of endcap
0059     srpEndcapLowInterestChannelZS = cms.double(3*0.06),
0060 
0061     # ZS energy threshold in GeV to apply to high interest channels of barrel
0062     srpBarrelHighInterestChannelZS = cms.double(-1.e9),
0063 
0064     # ZS energy threshold in GeV to apply to high interest channels of endcap
0065     srpEndcapHighInterestChannelZS = cms.double(-1.e9),
0066 
0067     #switch to run w/o trigger primitive. For debug use only
0068     trigPrimBypass = cms.bool(False),
0069                               
0070     #for debug mode only:
0071     trigPrimBypassLTH = cms.double(1.0),
0072 
0073     #for debug mode only:
0074     trigPrimBypassHTH = cms.double(1.0),
0075 
0076     #for debug mode only
0077     trigPrimBypassWithPeakFinder = cms.bool(True),
0078 
0079     # Mode selection for "Trig bypass" mode
0080     # 0: TT thresholds applied on sum of crystal Et's
0081     # 1: TT thresholds applies on compressed Et from Trigger primitive
0082     # @ee trigPrimByPass_ switch
0083     trigPrimBypassMode = cms.int32(0),
0084                               
0085     #number of events whose TT and SR flags must be dumped (for debug purpose):
0086     dumpFlags = cms.untracked.int32(0),
0087                               
0088     #logical flag to write out SrFlags
0089     writeSrFlags = cms.untracked.bool(True),
0090 
0091     #switch to apply selective readout decision on the digis and produce
0092     #the "suppressed" digis
0093     produceDigis = cms.untracked.bool(True),
0094 
0095     #Trigger Tower Flag to use when a flag is not found from the input
0096     #Trigger Primitive collection. Must be one of the following values:
0097     # 0: low interest, 1: mid interest, 3: high interest
0098     # 4: forced low interest, 5: forced mid interest, 7: forced high interest
0099     defaultTtf_ = cms.int32(4),
0100 
0101     # SR->action flag map
0102     actions = cms.vint32(1, 3, 3, 3, 5, 7, 7, 7)
0103 )
0104 
0105 
0106