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.
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:
19 import EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi
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 
31 gtDigisAlCaMB.DaqGtInputTag = 'source'
32 
33 hcalDigiAlCaMB.firstSample = 0
34 hcalDigiAlCaMB.lastSample = 9
35 hcalDigiAlCaMB.InputLabel = 'rawDataCollector'
36 
37 hbherecoNoise.firstSample = 0
38 hbherecoNoise.samplesToAdd = 4
39 hbherecoNoise.digiLabel = 'hcalDigiAlCaMB'
40 
41 hfrecoNoise.firstSample = 0
42 hfrecoNoise.samplesToAdd = 2
43 hfrecoNoise.digiLabel = 'hcalDigiAlCaMB'
44 
45 hfrecoMBspecial.firstSample = 2
46 hfrecoMBspecial.samplesToAdd = 2
47 hfrecoMBspecial.digiLabel = 'hcalDigiAlCaMB'
48 
49 horecoNoise.firstSample = 0
50 horecoNoise.samplesToAdd = 4
51 horecoNoise.digiLabel = 'hcalDigiAlCaMB'
52 
53 #switch off "ZS in reco":
54 hbherecoNoise.dropZSmarkedPassed = cms.bool(False)
55 hfrecoNoise.dropZSmarkedPassed = cms.bool(False)
56 horecoNoise.dropZSmarkedPassed = cms.bool(False)
57 hfrecoMBspecial.dropZSmarkedPassed = cms.bool(False)
58 hbherecoNoise.tsFromDB = cms.bool(False)
59 hfrecoNoise.tsFromDB = cms.bool(False)
60 hfrecoMBspecial.tsFromDB = cms.bool(False)
61 horecoNoise.tsFromDB = cms.bool(False)
62