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  # define maximal and minimal values for the laser corrections
17 
18  EBLaserMIN = cms.double(0.5),
19  EELaserMIN = cms.double(0.5),
20 
21  EBLaserMAX = cms.double(3.0),
22  EELaserMAX = cms.double(8.0),
23 
24 
25  # apply laser corrections
26  laserCorrection = cms.bool(True),
27  # reco flags association to DB flag
28  # the vector index corresponds to the DB flag
29  # the value correspond to the reco flag
30  flagsMapDBReco = cms.vint32(
31  0, 0, 0, 0, # standard reco
32  4, # faulty hardware (noisy)
33  -1, -1, -1, # not yet assigned
34  4, 4, # faulty hardware (fixed gain)
35  7, 7, 7, # dead channel with trigger
36  8, # dead FE
37  9 # dead or recovery failed
38  ),
39 
40  # for channel recovery
41  algoRecover = cms.string("EcalRecHitWorkerRecover"),
42  recoverEBIsolatedChannels = cms.bool(False),
43  recoverEEIsolatedChannels = cms.bool(False),
44  recoverEBVFE = cms.bool(False),
45  recoverEEVFE = cms.bool(False),
46  recoverEBFE = cms.bool(True),
47  recoverEEFE = cms.bool(True),
48  #db statuses for which recovery in EE/EB should not be attempted
49  dbStatusToBeExcludedEE = cms.vint32(
50  14, # dead, no TP
51  78, # dead, HV off
52  142, # dead,LV off
53  ),
54  dbStatusToBeExcludedEB = cms.vint32(
55  14, # dead, no TP
56  78, # dead, HV off
57  142, # dead,LV off
58  ),
59  # --- logWarnings for saturated DeadFEs
60  # 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)
61  # if you want to enable recovery but you don't wish to throw logWarnings put the logWarningThresholds very high e.g +1.e+9
62  # ~64 GeV is the TP saturation level
63  logWarningEtThreshold_EB_FE = cms.double(50),# in EB logWarningThreshold is actually in E (GeV)
64  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
65  ebDetIdToBeRecovered = cms.InputTag("ecalDetIdToBeRecovered:ebDetId"),
66  eeDetIdToBeRecovered = cms.InputTag("ecalDetIdToBeRecovered:eeDetId"),
67  ebFEToBeRecovered = cms.InputTag("ecalDetIdToBeRecovered:ebFE"),
68  eeFEToBeRecovered = cms.InputTag("ecalDetIdToBeRecovered:eeFE"),
69  singleChannelRecoveryMethod = cms.string("NeuralNetworks"),
70  singleChannelRecoveryThreshold = cms.double(8),
71  triggerPrimitiveDigiCollection = cms.InputTag("ecalDigis:EcalTriggerPrimitives"),
72  cleaningConfig=cleaningAlgoConfig,
73 
74  )