CMS 3D CMS Logo

particleFlowSuperClusterECALBox_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 particleFlowSuperClusterECALBox = cms.EDProducer("PFECALSuperClusterProducer",
4  # verbosity
5  verbose = cms.untracked.bool(False),
6  # clustering type: "Box" or "Mustache"
7  ClusteringType = cms.string("Box"),
8  # energy weighting: "Raw", "CalibratedNoPS", "CalibratedTotal"
9  EnergyWeight = cms.string("Raw"),
10 
11  # this overrides both dphi cuts below if true!
12  useDynamicDPhiWindow = cms.bool(False),
13 
14  # PFClusters collection
15  PFClusters = cms.InputTag("particleFlowClusterECAL"),
16  ESAssociation = cms.InputTag("particleFlowClusterECAL"),
17  BeamSpot = cms.InputTag("offlineBeamSpot"),
18 
19  PFBasicClusterCollectionBarrel = cms.string("particleFlowBasicClusterECALBarrel"),
20  PFSuperClusterCollectionBarrel = cms.string("particleFlowSuperClusterECALBarrel"),
21  PFBasicClusterCollectionEndcap = cms.string("particleFlowBasicClusterECALEndcap"),
22  PFSuperClusterCollectionEndcap = cms.string("particleFlowSuperClusterECALEndcap"),
23  PFBasicClusterCollectionPreshower = cms.string("particleFlowBasicClusterECALPreshower"),
24  PFSuperClusterCollectionEndcapWithPreshower = cms.string("particleFlowSuperClusterECALEndcapWithPreshower"),
25 
26  # use preshower ?
27  use_preshower = cms.bool(True),
28 
29  # are the seed thresholds Et or Energy?
30  seedThresholdIsET = cms.bool(True),
31 
32  # regression setup
33  useRegression = cms.bool(False), # regressions are mustache only
34  regressionConfig = cms.PSet(
35  regressionKeyEB = cms.string('pfscecal_EBCorrection_offline_v2'),
36  uncertaintyKeyEB = cms.string('pfscecal_EBUncertainty_offline_v2'),
37  regressionKeyEE = cms.string('pfscecal_EECorrection_offline_v2'),
38  uncertaintyKeyEE = cms.string('pfscecal_EEUncertainty_offline_v2'),
39  vertexCollection = cms.InputTag("offlinePrimaryVertices"),
40  ecalRecHitsEB = cms.InputTag('ecalRecHit','EcalRecHitsEB'),
41  ecalRecHitsEE = cms.InputTag('ecalRecHit','EcalRecHitsEE'),
42  applySigmaIetaIphiBug = cms.bool(False)
43  ),
44 
45  # threshold for final SuperCluster Et
46  thresh_SCEt = cms.double(4.0),
47 
48  # threshold in ECAL
49  thresh_PFClusterSeedBarrel = cms.double(3.0),
50  thresh_PFClusterBarrel = cms.double(0.5),
51 
52  thresh_PFClusterSeedEndcap = cms.double(5.0),
53  thresh_PFClusterEndcap = cms.double(0.5),
54 
55  # window width in ECAL
56  phiwidth_SuperClusterBarrel = cms.double(0.28),
57  etawidth_SuperClusterBarrel = cms.double(0.04),
58 
59  phiwidth_SuperClusterEndcap = cms.double(0.28),
60  etawidth_SuperClusterEndcap = cms.double(0.04),
61 
62  # threshold in preshower
63  thresh_PFClusterES = cms.double(0.),
64 
65  # turn on merging of the seed cluster to its nearest neighbors
66  # that share a rechit
67  doSatelliteClusterMerge = cms.bool(False),
68  satelliteClusterSeedThreshold = cms.double(50.0),
69  satelliteMajorityFraction = cms.double(0.5),
70  dropUnseedable = cms.bool(False),
71  #thresh_PFClusterMustacheOutBarrel = cms.double(0.),
72  #thresh_PFClusterMustacheOutEndcap = cms.double(0.),
73 
74  # corrections
75  applyCrackCorrections = cms.bool(False)
76 )