CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ecalRecHit_cfi.py
Go to the documentation of this file.
2 
3 from RecoLocalCalo.EcalRecAlgos.ecalCleaningAlgo import cleaningAlgoConfig
4 
5 # rechit producer
6 ecalRecHit = cms.EDProducer("EcalRecHitProducer",
7  EErechitCollection = cms.string('EcalRecHitsEE'),
8  EEuncalibRecHitCollection = cms.InputTag("ecalGlobalUncalibRecHit","EcalUncalibRecHitsEE"),
9  EBuncalibRecHitCollection = cms.InputTag("ecalGlobalUncalibRecHit","EcalUncalibRecHitsEB"),
10  EBrechitCollection = cms.string('EcalRecHitsEB'),
11  # channel flags to be exluded from reconstruction, e.g { 1, 2 }
12  ChannelStatusToBeExcluded = cms.vint32(),
13  # avoid propagation of dead channels other than after recovery
14  killDeadChannels = cms.bool(True),
15  algo = cms.string("EcalRecHitWorkerSimple"),
16  # apply laser corrections
17  laserCorrection = cms.bool(True),
18  # reco flags association to DB flag
19  # the vector index corresponds to the DB flag
20  # the value correspond to the reco flag
21  flagsMapDBReco = cms.vint32(
22  0, 0, 0, 0, # standard reco
23  4, # faulty hardware (noisy)
24  -1, -1, -1, # not yet assigned
25  4, 4, # faulty hardware (fixed gain)
26  7, 7, 7, # dead channel with trigger
27  8, # dead FE
28  9 # dead or recovery failed
29  ),
30  # for channel recovery
31  algoRecover = cms.string("EcalRecHitWorkerRecover"),
32  recoverEBIsolatedChannels = cms.bool(False),
33  recoverEEIsolatedChannels = cms.bool(False),
34  recoverEBVFE = cms.bool(False),
35  recoverEEVFE = cms.bool(False),
36  recoverEBFE = cms.bool(True),
37  recoverEEFE = cms.bool(True),
38  #db statuses for which recovery in EE should not be attempted
39  dbStatusToBeExcludedEE = cms.vint32(
40  142
41  ), # dead,LV off
42 
43  # --- logWarnings for saturated DeadFEs
44  # if the logWarningThreshold is negative the Algo will not try recovery (in EE is not tested we may need negative threshold e.g. -1.e+9)
45  # if you want to enable recovery but you don't wish to throw logWarnings put the logWarningThresholds very high e.g +1.e+9
46  # ~64 GeV is the TP saturation level
47  logWarningEtThreshold_EB_FE = cms.double(50),# in EB logWarningThreshold is actually in E (GeV)
48  logWarningEtThreshold_EE_FE = cms.double(50),# in EE the energy should correspond to Et (GeV) but the recovered values of energies are not tested if make sense
49  ebDetIdToBeRecovered = cms.InputTag("ecalDetIdToBeRecovered:ebDetId"),
50  eeDetIdToBeRecovered = cms.InputTag("ecalDetIdToBeRecovered:eeDetId"),
51  ebFEToBeRecovered = cms.InputTag("ecalDetIdToBeRecovered:ebFE"),
52  eeFEToBeRecovered = cms.InputTag("ecalDetIdToBeRecovered:eeFE"),
53  singleChannelRecoveryMethod = cms.string("NeuralNetworks"),
54  singleChannelRecoveryThreshold = cms.double(8),
55  triggerPrimitiveDigiCollection = cms.InputTag("ecalDigis:EcalTriggerPrimitives"),
56  cleaningConfig=cleaningAlgoConfig,
57 )