CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
particleFlowSuperClusterECAL_cfi.py
Go to the documentation of this file.
2 
3 particleFlowSuperClusterECALBox = cms.EDProducer(
4  "PFECALSuperClusterProducer",
5  # verbosity
6  verbose = cms.untracked.bool(False),
7  #clustering type: "Box" or "Mustache"
8  ClusteringType = cms.string("Box"),
9 
10  #this overrides both dphi cuts below if true!
11  useDynamicDPhiWindow = cms.bool(False),
12 
13  #PFClusters collection
14  PFClusters = cms.InputTag("particleFlowClusterECAL"),
15  PFClustersES = cms.InputTag("particleFlowClusterPS"),
16 
17  PFBasicClusterCollectionBarrel = cms.string("particleFlowBasicClusterECALBarrel"),
18  PFSuperClusterCollectionBarrel = cms.string("particleFlowSuperClusterECALBarrel"),
19  PFBasicClusterCollectionEndcap = cms.string("particleFlowBasicClusterECALEndcap"),
20  PFSuperClusterCollectionEndcap = cms.string("particleFlowSuperClusterECALEndcap"),
21  PFBasicClusterCollectionPreshower = cms.string("particleFlowSuperClusterECALPreshower"),
22  PFSuperClusterCollectionEndcapWithPreshower = cms.string("particleFlowSuperClusterECALEndcapWithPreshower"),
23 
24  #use preshower ?
25  use_preshower = cms.bool(True),
26 
27  # threshold in ECAL
28  thresh_PFClusterSeedBarrel = cms.double(3.0),
29  thresh_PFClusterBarrel = cms.double(0.5),
30 
31  thresh_PFClusterSeedEndcap = cms.double(3.0),
32  thresh_PFClusterEndcap = cms.double(0.5),
33 
34  # window width in ECAL
35  phiwidth_SuperClusterBarrel = cms.double(0.28),
36  etawidth_SuperClusterBarrel = cms.double(0.04),
37 
38  phiwidth_SuperClusterEndcap = cms.double(0.28),
39  etawidth_SuperClusterEndcap = cms.double(0.04),
40 
41  # threshold in preshower
42  thresh_PFClusterES = cms.double(0.),
43 
44  # turn on merging of the seed cluster to its nearest neighbors
45  # that share a rechit
46  doSatelliteClusterMerge = cms.bool(False),
47  satelliteClusterSeedThreshold = cms.double(50.0),
48  satelliteMajorityFraction = cms.double(0.5),
49  #thresh_PFClusterMustacheOutBarrel = cms.double(0.),
50  #thresh_PFClusterMustacheOutEndcap = cms.double(0.),
51 
52  #corrections
53  applyCrackCorrections = cms.bool(False)
54 
55 )
56 
57 particleFlowSuperClusterECALMustache = cms.EDProducer(
58  "PFECALSuperClusterProducer",
59  # verbosity
60  verbose = cms.untracked.bool(False),
61  #clustering type: "Box" or "Mustache"
62  ClusteringType = cms.string("Mustache"),
63 
64  #this overrides both dphi cuts below if true!
65  useDynamicDPhiWindow = cms.bool(True),
66 
67  #PFClusters collection
68  PFClusters = cms.InputTag("particleFlowClusterECAL"),
69  PFClustersES = cms.InputTag("particleFlowClusterPS"),
70 
71  PFBasicClusterCollectionBarrel = cms.string("particleFlowBasicClusterECALBarrel"),
72  PFSuperClusterCollectionBarrel = cms.string("particleFlowSuperClusterECALBarrel"),
73  PFBasicClusterCollectionEndcap = cms.string("particleFlowBasicClusterECALEndcap"),
74  PFSuperClusterCollectionEndcap = cms.string("particleFlowSuperClusterECALEndcap"),
75  PFBasicClusterCollectionPreshower = cms.string("particleFlowSuperClusterECALPreshower"),
76  PFSuperClusterCollectionEndcapWithPreshower = cms.string("particleFlowSuperClusterECALEndcapWithPreshower"),
77 
78  #use preshower ?
79  use_preshower = cms.bool(True),
80 
81  # threshold in ECAL
82  thresh_PFClusterSeedBarrel = cms.double(3.0),
83  thresh_PFClusterBarrel = cms.double(0.0),
84 
85  thresh_PFClusterSeedEndcap = cms.double(3.0),
86  thresh_PFClusterEndcap = cms.double(0.0),
87 
88  # window width in ECAL
89  phiwidth_SuperClusterBarrel = cms.double(0.6),
90  etawidth_SuperClusterBarrel = cms.double(0.04),
91 
92  phiwidth_SuperClusterEndcap = cms.double(0.6),
93  etawidth_SuperClusterEndcap = cms.double(0.04),
94 
95  # threshold in preshower
96  thresh_PFClusterES = cms.double(0.),
97 
98  # turn on merging of the seed cluster to its nearest neighbors
99  # that share a rechit
100  doSatelliteClusterMerge = cms.bool(False),
101  satelliteClusterSeedThreshold = cms.double(50.0),
102  satelliteMajorityFraction = cms.double(0.5),
103  #thresh_PFClusterMustacheOutBarrel = cms.double(0.),
104  #thresh_PFClusterMustacheOutEndcap = cms.double(0.),
105 
106  #corrections
107  applyCrackCorrections = cms.bool(False)
108 
109 )
110 
111 #define the default clustering type
112 particleFlowSuperClusterECAL = particleFlowSuperClusterECALMustache.clone()