CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ALCARECOHcalCalMinBias_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 import RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hbhe_cfi
10 hbherecoMBNZS = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hbhe_cfi.hbheprereco.clone()
11 import RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi
12 horecoMBNZS = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi.horeco.clone()
13 import RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hbhe_cfi
14 hbherecoNoise = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hbhe_cfi.hbheprereco.clone()
15 import RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hf_cfi
16 hfrecoNoise = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hf_cfi.hfreco.clone()
17 import RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hf_cfi
18 hfrecoMBNZS = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hf_cfi.hfreco.clone()
19 import RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi
20 horecoNoise = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi.horeco.clone()
21 
22 #add GT digi:
24 gtDigisAlCaMB = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone()
25 
27 hcalminbiasHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
28 # HLTPaths = ['HLT_HcalPhiSym'],
29  eventSetupPathsKey='HcalCalMinBias',
30  throw = False #dont throw except on unknown path name
31 )
32 
33 seqALCARECOHcalCalMinBias = cms.Sequence(hcalminbiasHLT*hcalDigiAlCaMB*gtDigisAlCaMB*hbherecoMBNZS*horecoMBNZS*hbherecoNoise*hfrecoNoise*hfrecoMBNZS*horecoNoise)
34 seqALCARECOHcalCalMinBiasNoHLT = cms.Sequence(hcalDigiAlCaMB*gtDigisAlCaMB*hbherecoMBNZS*horecoMBNZS*hbherecoNoise*hfrecoNoise*hfrecoMBNZS*horecoNoise)
35 
36 gtDigisAlCaMB.DaqGtInputTag = 'source'
37 
38 hcalDigiAlCaMB.firstSample = 0
39 hcalDigiAlCaMB.lastSample = 9
40 hcalDigiAlCaMB.InputLabel = 'rawDataCollector'
41 
42 hbherecoMBNZS.firstSample = 0
43 hbherecoMBNZS.samplesToAdd = 4
44 hbherecoMBNZS.digiLabel = 'hcalDigiAlCaMB'
45 
46 horecoMBNZS.firstSample = 0
47 horecoMBNZS.samplesToAdd = 4
48 horecoMBNZS.digiLabel = 'hcalDigiAlCaMB'
49 
50 
51 hbherecoNoise.firstSample = 0
52 hbherecoNoise.samplesToAdd = 4
53 hbherecoNoise.digiLabel = 'hcalDigiAlCaMB'
54 
55 hfrecoNoise.firstSample = 0
56 hfrecoNoise.samplesToAdd = 2
57 hfrecoNoise.digiLabel = 'hcalDigiAlCaMB'
58 
59 hfrecoMBNZS.firstSample = 2
60 hfrecoMBNZS.samplesToAdd = 2
61 hfrecoMBNZS.digiLabel = 'hcalDigiAlCaMB'
62 
63 horecoNoise.firstSample = 0
64 horecoNoise.samplesToAdd = 4
65 horecoNoise.digiLabel = 'hcalDigiAlCaMB'
66 
67 #switch off "ZS in reco":
68 hbherecoMBNZS.dropZSmarkedPassed = cms.bool(False)
69 horecoMBNZS.dropZSmarkedPassed = cms.bool(False)
70 hbherecoNoise.dropZSmarkedPassed = cms.bool(False)
71 hfrecoNoise.dropZSmarkedPassed = cms.bool(False)
72 horecoNoise.dropZSmarkedPassed = cms.bool(False)
73 hfrecoMBNZS.dropZSmarkedPassed = cms.bool(False)
74 hbherecoMBNZS.tsFromDB = cms.bool(False)
75 horecoMBNZS.tsFromDB = cms.bool(False)
76 hbherecoNoise.tsFromDB = cms.bool(False)
77 hfrecoNoise.tsFromDB = cms.bool(False)
78 hfrecoMBNZS.tsFromDB = cms.bool(False)
79 horecoNoise.tsFromDB = cms.bool(False)
80