CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
particleFlowClusterECAL_cfi.py
Go to the documentation of this file.
2 
3 
4 particleFlowClusterECAL = cms.EDProducer("PFClusterProducer",
5  # verbosity
6  verbose = cms.untracked.bool(False),
7  #corrections
8  applyCrackCorrections = cms.bool(False),
9  # PFRecHit collection
10  PFRecHits = cms.InputTag("particleFlowRecHitECAL"),
11  PFClustersPS = cms.InputTag('particleFlowClusterPS'), #for EE->PS assoc.
12  thresh_Preshower = cms.double(0.0),
13  #PFCluster Collection name
14  #PFClusterCollectionName = cms.string("ECAL"),
15  #----all thresholds are in GeV
16  # seed threshold in ECAL barrel
17  thresh_Seed_Barrel = cms.double(0.23),
18  thresh_Pt_Seed_Barrel = cms.double(0.00),
19  # cell threshold in ECAL barrel
20  thresh_Barrel = cms.double(0.08),
21  thresh_Pt_Barrel = cms.double(0.00),
22  # cleaning threshold and minimum S4/S1 fraction in ECAL barrel
23  thresh_Clean_Barrel = cms.double(4.0),
24  minS4S1_Clean_Barrel = cms.vdouble(0.04, -0.024),
25  # double spike cleaning (barrel)
26  thresh_DoubleSpike_Barrel = cms.double(10.),
27  minS6S2_DoubleSpike_Barrel = cms.double(0.04),
28  # seed threshold in ECAL endcap
29  thresh_Seed_Endcap = cms.double(0.6),
30  thresh_Pt_Seed_Endcap = cms.double(0.15),
31  # cell threshold in ECAL endcap
32  thresh_Endcap = cms.double(0.3),
33  thresh_Pt_Endcap = cms.double(0.00),
34  # cleaning threshold and minimum S4/S1 fraction in ECAL endcap
35  thresh_Clean_Endcap = cms.double(15.0),
36  minS4S1_Clean_Endcap = cms.vdouble(0.02, -0.0125),
37  # double spike cleaning (endcap)
38  thresh_DoubleSpike_Endcap = cms.double(1E9),
39  minS6S2_DoubleSpike_Endcap = cms.double(-1.),
40  # thresh_Clean_Endcap = cms.double(1E5),
41  #minS4S1_Clean_Endcap = cms.vdouble(0.04, -0.025),
42  # n neighbours in ECAL
43  nNeighbours = cms.int32(8),
44  # sigma of the shower in ECAL
45  showerSigma = cms.double(1.5),
46  # n crystals for position calculation in ECAL
47  posCalcNCrystal = cms.int32(9),
48  # use cells with common corner to build topo-clusters
49  useCornerCells = cms.bool(True),
50  # enable cleaning of RBX and HPD (HCAL only);
51  cleanRBXandHPDs = cms.bool(False),
52  PositionCalcType = cms.string('EGPositionCalc'),
53  # e/gamma position calc config
54  PositionCalcConfig = cms.PSet( T0_barl = cms.double(7.4),
55  T0_endc = cms.double(3.1),
56  T0_endcPresh = cms.double(1.2),
57  LogWeighted = cms.bool(True),
58  W0 = cms.double(4.2),
59  X0 = cms.double(0.89)
60  ),
61  # depth correction for ECAL clusters:
62  # 0: no depth correction
63  # 1: electrons/photons - depth correction is proportionnal to E
64  # 2: hadrons - depth correction is fixed
65  depthCor_Mode = cms.int32(1),
66  # in mode 1, depth correction = A *( B + log(E) )
67  # in mode 2, depth correction = A
68  depthCor_A = cms.double(0.89),
69  depthCor_B = cms.double(7.4),
70  # under the preshower, the depth is smaller, but the material is
71  # the same
72  depthCor_A_preshower = cms.double(0.89),
73  depthCor_B_preshower = cms.double(4.0)
74 )
75 
76