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  tsFromDB = cms.bool(False),
25  dropZSmarkedPassed = cms.bool(False),
26  algorithm = dict(
27  useM2 = cms.bool(False),
28  useM3 = cms.bool(False)
29  ),
30  processQIE11 = cms.bool(False),
31  setNegativeFlagsQIE8 = cms.bool(False),
32  setNegativeFlagsQIE11 = cms.bool(False),
33  setNoiseFlagsQIE8 = cms.bool(True),
34  setNoiseFlagsQIE11 = cms.bool(False),
35  setPulseShapeFlagsQIE8 = cms.bool(False),
36  setPulseShapeFlagsQIE11 = cms.bool(False),
37  setLegacyFlagsQIE8 = cms.bool(False),
38  setLegacyFlagsQIE11 = cms.bool(False),
39 )
40 
41 hbherecoNoise.algorithm.firstSample = 0
42 hbherecoNoise.algorithm.samplesToAdd = 4
43 
44 import RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi
45 horecoNoise = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi.horeco.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.HcalSimpleReconstructor_hf_cfi
54 hfrecoNoise = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hf_cfi.hfreco.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