Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-10-05 02:13:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoLocalCalo.EcalRecAlgos.ecalCleaningAlgo import cleaningAlgoConfig 
0004 
0005 # rechit producer
0006 ecalRecHitGPU = cms.EDProducer("EcalRecHitProducerGPU",
0007                                
0008     uncalibrecHitsInLabelEB = cms.InputTag("ecalUncalibRecHitProducerGPU","EcalUncalibRecHitsEB"),
0009     uncalibrecHitsInLabelEE = cms.InputTag("ecalUncalibRecHitProducerGPU","EcalUncalibRecHitsEE"),
0010           
0011     recHitsLabelEB = cms.string("EcalRecHitsEB"),
0012     recHitsLabelEE = cms.string("EcalRecHitsEE"),
0013  
0014     ## db statuses to be exluded from reconstruction (some will be recovered)
0015     ChannelStatusToBeExcluded = cms.vstring(   'kDAC',
0016                                                'kNoisy',
0017                                                'kNNoisy',
0018                                                'kFixedG6',
0019                                                'kFixedG1',
0020                                                'kFixedG0',
0021                                                'kNonRespondingIsolated',
0022                                                'kDeadVFE',
0023                                                'kDeadFE',
0024                                                'kNoDataNoTP',
0025                                                #
0026                                                # AM should I add them here?????
0027                                                # next ones from "flagsMapDBReco"
0028                                                # but not defined in "EcalChannelStatusCode.h"
0029                                                # but they are defined in "EcalRecHit.h"
0030                                                #
0031                                                #'kKilled',
0032                                                #'kTPSaturated',
0033                                                #'kL1SpikeFlag',
0034                                                ),
0035     
0036     ## avoid propagation of dead channels other than after recovery
0037     killDeadChannels = cms.bool(True),
0038     
0039     ## define maximal and minimal values for the laser corrections
0040     
0041     EBLaserMIN = cms.double(0.01),
0042     EELaserMIN = cms.double(0.01),
0043 
0044     EBLaserMAX = cms.double(30.0),
0045     EELaserMAX = cms.double(30.0),
0046 
0047     ## reco flags association to DB flag
0048     flagsMapDBReco = cms.PSet(
0049         kGood  = cms.vstring('kOk','kDAC','kNoLaser','kNoisy'),
0050         kNoisy = cms.vstring('kNNoisy','kFixedG6','kFixedG1'),
0051         kNeighboursRecovered = cms.vstring('kFixedG0',
0052                                            'kNonRespondingIsolated',
0053                                            'kDeadVFE'),
0054         kTowerRecovered = cms.vstring('kDeadFE'),
0055         kDead           = cms.vstring('kNoDataNoTP')
0056         ), 
0057 
0058     ## for channel recovery
0059     recoverEBIsolatedChannels = cms.bool(False),
0060     recoverEEIsolatedChannels = cms.bool(False),
0061     recoverEBVFE  = cms.bool(False),
0062     recoverEEVFE  = cms.bool(False),
0063     recoverEBFE = cms.bool(True),
0064     recoverEEFE = cms.bool(True),
0065 )
0066