CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/RecoLocalCalo/EcalRecProducers/python/ecalRecHit_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from RecoLocalCalo.EcalRecAlgos.ecalCleaningAlgo import cleaningAlgoConfig 
00004 
00005 # rechit producer
00006 ecalRecHit = cms.EDProducer("EcalRecHitProducer",
00007     EErechitCollection = cms.string('EcalRecHitsEE'),
00008     EEuncalibRecHitCollection = cms.InputTag("ecalGlobalUncalibRecHit","EcalUncalibRecHitsEE"),
00009     EBuncalibRecHitCollection = cms.InputTag("ecalGlobalUncalibRecHit","EcalUncalibRecHitsEB"),
00010     EBrechitCollection = cms.string('EcalRecHitsEB'),
00011     # channel flags to be exluded from reconstruction, e.g { 1, 2 }
00012     ChannelStatusToBeExcluded = cms.vint32(),
00013     # avoid propagation of dead channels other than after recovery
00014     killDeadChannels = cms.bool(True),
00015     algo = cms.string("EcalRecHitWorkerSimple"),
00016     # apply laser corrections
00017     laserCorrection = cms.bool(True),
00018     # reco flags association to DB flag
00019     # the vector index corresponds to the DB flag
00020     # the value correspond to the reco flag
00021     flagsMapDBReco = cms.vint32(
00022              0,   0,   0,  0, # standard reco
00023              4,               # faulty hardware (noisy)
00024             -1,  -1,  -1,     # not yet assigned
00025              4,   4,          # faulty hardware (fixed gain)
00026              7,   7,   7,     # dead channel with trigger
00027              8,               # dead FE
00028              9                # dead or recovery failed
00029             ),
00030     # for channel recovery
00031     algoRecover = cms.string("EcalRecHitWorkerRecover"),
00032     recoverEBIsolatedChannels = cms.bool(False),
00033     recoverEEIsolatedChannels = cms.bool(False),
00034     recoverEBVFE  = cms.bool(False),
00035     recoverEEVFE  = cms.bool(False),
00036     recoverEBFE = cms.bool(True),
00037     recoverEEFE = cms.bool(True),
00038     #db statuses for which recovery in EE should not be attempted           
00039     dbStatusToBeExcludedEE = cms.vint32(
00040                                         142
00041                                         ), # dead,LV off
00042                             
00043     # --- logWarnings for saturated DeadFEs
00044     # 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)
00045     # if you want to enable recovery but you don't wish to throw logWarnings put the logWarningThresholds very high e.g +1.e+9
00046     #  ~64 GeV is the TP saturation level
00047     logWarningEtThreshold_EB_FE = cms.double(50),# in EB logWarningThreshold is actually in E (GeV)
00048     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
00049     ebDetIdToBeRecovered = cms.InputTag("ecalDetIdToBeRecovered:ebDetId"),
00050     eeDetIdToBeRecovered = cms.InputTag("ecalDetIdToBeRecovered:eeDetId"),
00051     ebFEToBeRecovered = cms.InputTag("ecalDetIdToBeRecovered:ebFE"),
00052     eeFEToBeRecovered = cms.InputTag("ecalDetIdToBeRecovered:eeFE"),
00053     singleChannelRecoveryMethod = cms.string("NeuralNetworks"),
00054     singleChannelRecoveryThreshold = cms.double(8),
00055     triggerPrimitiveDigiCollection = cms.InputTag("ecalDigis:EcalTriggerPrimitives"),
00056     cleaningConfig=cleaningAlgoConfig,
00057 )