CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ecalCleaningAlgo.py
Go to the documentation of this file.
1 
2 import FWCore.ParameterSet.Config as cms
3 
4 
5 cleaningAlgoConfig = cms.PSet(
6  # apply cleaning in EB above this threshold in GeV
7  cThreshold_barrel=cms.double(4),
8  # apply cleaning in EE above this threshold in GeV
9  cThreshold_endcap=cms.double(15),
10  # mark spike in EB if e4e1 < e4e1_a_barrel_ * log10(e) + e4e1_b_barrel_
11  e4e1_a_barrel=cms.double(0.02),
12  e4e1_b_barrel=cms.double(0.02),
13  # ditto for EE
14  e4e1_a_endcap=cms.double(0.02),
15  e4e1_b_endcap=cms.double(-0.0125),
16 
17  #when calculating e4/e1, ignore hits below this threshold
18  e4e1Threshold_barrel= cms.double(0.080),
19  e4e1Threshold_endcap= cms.double(0.300),
20 
21  # near cracks raise the energy threshold by this factor
22  tightenCrack_e1_single=cms.double(1),
23  # near cracks, divide the e4e1 threshold by this factor
24  tightenCrack_e4e1_single=cms.double(2.5),
25  # same as above for double spike
26  tightenCrack_e1_double=cms.double(2),
27  tightenCrack_e6e2_double=cms.double(3),
28  # consider for double spikes if above this threshold
29  cThreshold_double =cms.double(10),
30  # mark double spike if e6e2< e6e2thresh
31  e6e2thresh=cms.double(0.04),
32  # ignore rechits flagged kOutOfTime above this energy threshold in EB
33  ignoreOutOfTimeThresh=cms.double(1e9)
34  )