Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:48:04

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #------------------------------------------------
0004 #AlCaReco filtering for HCAL minbias:
0005 #------------------------------------------------
0006 
0007 import EventFilter.HcalRawToDigi.HcalRawToDigi_cfi
0008 hcalDigiAlCaMB = EventFilter.HcalRawToDigi.HcalRawToDigi_cfi.hcalDigis.clone()
0009 
0010 hcalDigiAlCaMB.firstSample = 0
0011 hcalDigiAlCaMB.lastSample = 9
0012 hcalDigiAlCaMB.InputLabel = 'rawDataCollector'
0013 
0014 #add GT digi:
0015 import EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi
0016 gtDigisAlCaMB = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone()
0017 
0018 gtDigisAlCaMB.DaqGtInputTag = 'source'
0019 
0020 import RecoLocalCalo.HcalRecProducers.HBHEPhase1Reconstructor_cfi
0021 hbherecoNoise = RecoLocalCalo.HcalRecProducers.HBHEPhase1Reconstructor_cfi.hbheprereco.clone(
0022     digiLabelQIE8  = cms.InputTag("hcalDigiAlCaMB"),
0023     digiLabelQIE11 = cms.InputTag("hcalDigiAlCaMB"),
0024 ###    tsFromDB = cms.bool(False),
0025     dropZSmarkedPassed = cms.bool(False),
0026     algorithm = dict(
0027         useMahi = cms.bool(False),
0028         useM2 = cms.bool(False),
0029         useM3 = cms.bool(False)
0030     ),
0031     processQIE11 = cms.bool(False),
0032     setNegativeFlagsQIE8 = cms.bool(False),
0033     setNegativeFlagsQIE11 = cms.bool(False),
0034     setNoiseFlagsQIE8 = cms.bool(True),
0035     setNoiseFlagsQIE11 = cms.bool(False),
0036     setPulseShapeFlagsQIE8 = cms.bool(False),
0037     setPulseShapeFlagsQIE11 = cms.bool(False),
0038     setLegacyFlagsQIE8 = cms.bool(False),
0039     setLegacyFlagsQIE11 = cms.bool(False),
0040 )
0041 
0042 hbherecoNoise.algorithm.firstSampleShift = -100 # to set reco window at very beginning of the TS array
0043 
0044 import RecoLocalCalo.HcalRecProducers.hosimplereco_cfi
0045 horecoNoise = RecoLocalCalo.HcalRecProducers.hosimplereco_cfi.hosimplereco.clone()
0046 
0047 horecoNoise.firstSample = 0
0048 horecoNoise.samplesToAdd = 4
0049 horecoNoise.digiLabel = 'hcalDigiAlCaMB'
0050 horecoNoise.tsFromDB = cms.bool(False)
0051 horecoNoise.dropZSmarkedPassed = cms.bool(False)
0052 
0053 import RecoLocalCalo.HcalRecProducers.hfsimplereco_cfi
0054 hfrecoNoise = RecoLocalCalo.HcalRecProducers.hfsimplereco_cfi.hfsimplereco.clone()
0055 
0056 hfrecoNoise.firstSample = 0
0057 hfrecoNoise.samplesToAdd = 2
0058 hfrecoNoise.digiLabel = 'hcalDigiAlCaMB'
0059 hfrecoNoise.tsFromDB = cms.bool(False)
0060 hfrecoNoise.dropZSmarkedPassed = cms.bool(False)
0061 
0062