CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ALCARECOHcalCalMinBiasHI_cff.py
Go to the documentation of this file.
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 #add GT digi:
18 import EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi
19 gtDigisAlCaMB = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone()
20 
22 hcalminbiasHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
23 # HLTPaths = ['HLT_HcalPhiSym'],
24  eventSetupPathsKey='HcalCalMinBiasHI',
25  throw = False #dont throw except on unknown path name
26 )
27 
28 seqALCARECOHcalCalMinBias = cms.Sequence(hcalminbiasHLT*hcalDigiAlCaMB*gtDigisAlCaMB*hbherecoNoise*hfrecoNoise*hfrecoMBspecial*horecoNoise)
29 
30 gtDigisAlCaMB.DaqGtInputTag = 'source'
31 
32 hcalDigiAlCaMB.firstSample = 0
33 hcalDigiAlCaMB.lastSample = 9
34 hcalDigiAlCaMB.InputLabel = 'rawDataCollector'
35 
36 hbherecoNoise.firstSample = 0
37 hbherecoNoise.samplesToAdd = 4
38 hbherecoNoise.digiLabel = 'hcalDigiAlCaMB'
39 
40 hfrecoNoise.firstSample = 0
41 hfrecoNoise.samplesToAdd = 2
42 hfrecoNoise.digiLabel = 'hcalDigiAlCaMB'
43 
44 hfrecoMBspecial.firstSample = 2
45 hfrecoMBspecial.samplesToAdd = 2
46 hfrecoMBspecial.digiLabel = 'hcalDigiAlCaMB'
47 
48 horecoNoise.firstSample = 0
49 horecoNoise.samplesToAdd = 4
50 horecoNoise.digiLabel = 'hcalDigiAlCaMB'
51 
52 #switch off "ZS in reco":
53 hbherecoNoise.dropZSmarkedPassed = cms.bool(False)
54 hfrecoNoise.dropZSmarkedPassed = cms.bool(False)
55 horecoNoise.dropZSmarkedPassed = cms.bool(False)
56 hfrecoMBspecial.dropZSmarkedPassed = cms.bool(False)
57 hbherecoNoise.tsFromDB = cms.bool(False)
58 hfrecoNoise.tsFromDB = cms.bool(False)
59 hfrecoMBspecial.tsFromDB = cms.bool(False)
60 horecoNoise.tsFromDB = cms.bool(False)
61