CMS 3D CMS Logo

ALCARECOHcalCalMinBiasNoise_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #------------------------------------------------
4 #AlCaReco filtering for HCAL minbias:
5 #------------------------------------------------
6 
7 import EventFilter.HcalRawToDigi.HcalRawToDigi_cfi
8 hcalDigiAlCaMB = EventFilter.HcalRawToDigi.HcalRawToDigi_cfi.hcalDigis.clone()
9 
10 hcalDigiAlCaMB.firstSample = 0
11 hcalDigiAlCaMB.lastSample = 9
12 hcalDigiAlCaMB.InputLabel = 'rawDataCollector'
13 
14 #add GT digi:
16 gtDigisAlCaMB = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone()
17 
18 gtDigisAlCaMB.DaqGtInputTag = 'source'
19 
20 import RecoLocalCalo.HcalRecProducers.HBHEPhase1Reconstructor_cfi
21 hbherecoNoise = RecoLocalCalo.HcalRecProducers.HBHEPhase1Reconstructor_cfi.hbheprereco.clone(
22  digiLabelQIE8 = cms.InputTag("hcalDigiAlCaMB"),
23  digiLabelQIE11 = cms.InputTag("hcalDigiAlCaMB"),
24 
25  dropZSmarkedPassed = cms.bool(False),
26  algorithm = dict(
27  useMahi = cms.bool(False),
28  useM2 = cms.bool(False),
29  useM3 = cms.bool(False)
30  ),
31  processQIE11 = cms.bool(False),
32  setNegativeFlagsQIE8 = cms.bool(False),
33  setNegativeFlagsQIE11 = cms.bool(False),
34  setNoiseFlagsQIE8 = cms.bool(True),
35  setNoiseFlagsQIE11 = cms.bool(False),
36  setPulseShapeFlagsQIE8 = cms.bool(False),
37  setPulseShapeFlagsQIE11 = cms.bool(False),
38  setLegacyFlagsQIE8 = cms.bool(False),
39  setLegacyFlagsQIE11 = cms.bool(False),
40 )
41 
42 hbherecoNoise.algorithm.firstSampleShift = -100 # to set reco window at very beginning of the TS array
43 
44 import RecoLocalCalo.HcalRecProducers.hosimplereco_cfi
45 horecoNoise = RecoLocalCalo.HcalRecProducers.hosimplereco_cfi.hosimplereco.clone()
46 
47 horecoNoise.firstSample = 0
48 horecoNoise.samplesToAdd = 4
49 horecoNoise.digiLabel = 'hcalDigiAlCaMB'
50 horecoNoise.tsFromDB = cms.bool(False)
51 horecoNoise.dropZSmarkedPassed = cms.bool(False)
52 
53 import RecoLocalCalo.HcalRecProducers.hfsimplereco_cfi
54 hfrecoNoise = RecoLocalCalo.HcalRecProducers.hfsimplereco_cfi.hfsimplereco.clone()
55 
56 hfrecoNoise.firstSample = 0
57 hfrecoNoise.samplesToAdd = 2
58 hfrecoNoise.digiLabel = 'hcalDigiAlCaMB'
59 hfrecoNoise.tsFromDB = cms.bool(False)
60 hfrecoNoise.dropZSmarkedPassed = cms.bool(False)
61 
62