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 hbherecoNoise = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hbhe_cfi.hbheprereco.clone()
11 import RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hf_cfi
12 hfrecoNoise = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hf_cfi.hfreco.clone()
13 import RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hf_cfi
14 hfrecoMBspecial = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hf_cfi.hfreco.clone()
15 import RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi
16 horecoNoise = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi.horeco.clone()
17 
18 #add GT digi:
20 gtDigisAlCaMB = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone()
21 
23 hcalminbiasHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
24 # HLTPaths = ['HLT_HcalPhiSym'],
25  eventSetupPathsKey='HcalCalMinBias',
26  throw = False #dont throw except on unknown path name
27 )
28 
29 seqALCARECOHcalCalMinBias = cms.Sequence(hcalminbiasHLT*hcalDigiAlCaMB*gtDigisAlCaMB*hbherecoNoise*hfrecoNoise*hfrecoMBspecial*horecoNoise)
30 seqALCARECOHcalCalMinBiasNoHLT = cms.Sequence(hcalDigiAlCaMB*gtDigisAlCaMB*hbherecoNoise*hfrecoNoise*hfrecoMBspecial*horecoNoise)
31 
32 gtDigisAlCaMB.DaqGtInputTag = 'source'
33 
34 hcalDigiAlCaMB.firstSample = 0
35 hcalDigiAlCaMB.lastSample = 9
36 hcalDigiAlCaMB.InputLabel = 'rawDataCollector'
37 
38 hbherecoNoise.firstSample = 0
39 hbherecoNoise.samplesToAdd = 4
40 hbherecoNoise.digiLabel = 'hcalDigiAlCaMB'
41 
42 hfrecoNoise.firstSample = 0
43 hfrecoNoise.samplesToAdd = 2
44 hfrecoNoise.digiLabel = 'hcalDigiAlCaMB'
45 
46 hfrecoMBspecial.firstSample = 2
47 hfrecoMBspecial.samplesToAdd = 2
48 hfrecoMBspecial.digiLabel = 'hcalDigiAlCaMB'
49 
50 horecoNoise.firstSample = 0
51 horecoNoise.samplesToAdd = 4
52 horecoNoise.digiLabel = 'hcalDigiAlCaMB'
53 
54 #switch off "ZS in reco":
55 hbherecoNoise.dropZSmarkedPassed = cms.bool(False)
56 hfrecoNoise.dropZSmarkedPassed = cms.bool(False)
57 horecoNoise.dropZSmarkedPassed = cms.bool(False)
58 hfrecoMBspecial.dropZSmarkedPassed = cms.bool(False)
59 hbherecoNoise.tsFromDB = cms.bool(False)
60 hfrecoNoise.tsFromDB = cms.bool(False)
61 hfrecoMBspecial.tsFromDB = cms.bool(False)
62 horecoNoise.tsFromDB = cms.bool(False)
63