CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
egammaSCAnalyzer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
5 egammaSuperClusterAnalyzer = DQMEDAnalyzer('EgammaSuperClusters',
6  VerificationCommonParameters,
7  barrelRecHitCollection = cms.InputTag("reducedEcalRecHitsEB"),
8  barrelRawSuperClusterCollection = cms.InputTag("hybridSuperClusters"),
9  barrelCorSuperClusterCollection = cms.InputTag("correctedHybridSuperClusters"),
10  endcapRecHitCollection = cms.InputTag("reducedEcalRecHitsEE"),
11  endcapRawSuperClusterCollection = cms.InputTag("multi5x5SuperClusters","multi5x5EndcapSuperClusters"),
12  endcapCorSuperClusterCollection = cms.InputTag("correctedMulti5x5SuperClustersWithPreshower"),
13  endcapPreSuperClusterCollection = cms.InputTag("multi5x5SuperClustersWithPreshower"),
14  hist_max_Size = cms.double(5.0),
15  hist_min_Size = cms.double(0.0),
16  hist_bins_Size = cms.int32(5),
17  hist_bins_deltaR = cms.int32(50),
18  hist_min_deltaR = cms.double(0.0),
19  hist_max_deltaR = cms.double(0.5),
20  hist_min_preshowerE = cms.double(0.0),
21  hist_bins_preshowerE = cms.int32(100),
22  hist_max_preshowerE = cms.double(100.0),
23  hist_bins_etaWidth = cms.int32(100),
24  hist_min_etaWidth = cms.double(0.0),
25  hist_max_etaWidth = cms.double(0.1),
26  hist_bins_Eta = cms.int32(100),
27  hist_min_Eta = cms.double(-3.0),
28  hist_max_Eta = cms.double(3.0),
29  hist_bins_EoverTruth = cms.int32(100),
30  hist_min_EoverTruth = cms.double(0.5),
31  hist_max_EoverTruth = cms.double(1.5),
32  hist_bins_S25toE = cms.int32(50),
33  hist_min_S25toE = cms.double(0.0),
34  hist_max_S25toE = cms.double(1.0),
35  hist_bins_phiWidth = cms.int32(100),
36  hist_min_phiWidth = cms.double(0.0),
37  hist_max_phiWidth = cms.double(0.1),
38  hist_bins_Phi = cms.int32(181),
39  hist_min_Phi = cms.double(-3.14159),
40  hist_max_Phi = cms.double(3.14159),
41  hist_bins_S1toS9 = cms.int32(50),
42  hist_min_S1toS9 = cms.double(0.0),
43  hist_max_S1toS9 = cms.double(1.0),
44  hist_bins_ET = cms.int32(100),
45  hist_min_ET = cms.double(0.0),
46  hist_max_ET = cms.double(50.0),
47  hist_bins_NumBC = cms.int32(10),
48  hist_min_NumBC = cms.double(0.0),
49  hist_max_NumBC = cms.double(10.0),
50  hist_bins_R = cms.int32(55),
51  hist_min_R = cms.double(0.0),
52  hist_max_R = cms.double(175.0)
53 
54 
55 )
56 
57 
58 from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
59 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
60 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
61 for e in [peripheralPbPb, pp_on_AA, pp_on_XeXe_2017]:
62  e.toModify(egammaSuperClusterAnalyzer, barrelCorSuperClusterCollection = cms.InputTag("correctedIslandBarrelSuperClusters"))
63  e.toModify(egammaSuperClusterAnalyzer, barrelRawSuperClusterCollection = cms.InputTag("islandSuperClusters","islandBarrelSuperClusters"))
64  e.toModify(egammaSuperClusterAnalyzer, endcapCorSuperClusterCollection = cms.InputTag("correctedIslandEndcapSuperClusters"))
65  e.toModify(egammaSuperClusterAnalyzer, endcapRawSuperClusterCollection = cms.InputTag("islandSuperClusters","islandEndcapSuperClusters"))