CMS 3D CMS Logo

photonAnalyzer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 
5 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
6 photonAnalysis = DQMEDAnalyzer('PhotonAnalyzer',
7  ComponentName = cms.string('photonAnalysis'),
8  phoProducer = cms.InputTag('gedPhotons'),
9  analyzerName = cms.string('gedPhotonAnalyzer'),
10  photonIDLoose = cms.InputTag('PhotonIDProd:PhotonCutBasedIDLoose'),
11  photonIDTight = cms.InputTag('PhotonIDProd:PhotonCutBasedIDTight'),
12 
13  barrelRecHitProducer = cms.InputTag('reducedEcalRecHitsEB'),
14  endcapRecHitProducer = cms.InputTag('reducedEcalRecHitsEE'),
15 
16  triggerEvent = cms.InputTag("hltTriggerSummaryAOD",""),
17  prescaleFactor = cms.untracked.int32(1),
18 
19  useBinning = cms.bool(False),
20  useTriggerFiltering = cms.bool(False),
21  standAlone = cms.bool(False),
22 
23  minPhoEtCut = cms.double(20.0),
24  maxPhoEta = cms.double(2.5),
25  invMassEtCut = cms.double(20.0),
26 
27  cutStep = cms.double(20.0),
28  numberOfSteps = cms.int32(1),
29  minimalSetOfHistos = cms.bool(True),
30  excludeBkgHistos = cms.bool(True),
31 
32  isHeavyIon = cms.untracked.bool(False),
33 
34  # DBE verbosity
35  Verbosity = cms.untracked.int32(0),
36  # 1 provides basic output
37  # 2 provides output of the fill step + 1
38  # 3 provides output of the store step + 2
39 
40  isolationStrength = cms.int32(0),
41  # 0 => Loose Photon = GoodCandidate
42  ### CAREFULL for the time being only Loos exists
43  # 1 => Tight Photon = GoodCandidate
44 
45 
46 
47  ##### Histogram Ranges and Bins
48 
49  eBin = cms.int32(500),
50  eMin = cms.double(0.0),
51  eMax = cms.double(500.0),
52 
53  etBin = cms.int32(500),
54  etMin = cms.double(0.0),
55  etMax = cms.double(500.0),
56 
57  sumBin = cms.int32(230),
58  sumMin = cms.double(-3.0),
59  sumMax = cms.double(20.0),
60 
61  etaBin = cms.int32(200),
62  etaMin = cms.double(-2.5),
63  etaMax = cms.double(2.5),
64 
65  phiBin = cms.int32(200),
66  phiMin = cms.double(-3.14),
67  phiMax = cms.double(3.14),
68 
69  r9Bin = cms.int32(120),
70  r9Min = cms.double(0.0),
71  r9Max = cms.double(1.2),
72 
73  hOverEBin = cms.int32(200),
74  hOverEMin = cms.double(0),
75  hOverEMax = cms.double(0.5),
76 
77  numberBin = cms.int32(10),
78  numberMin = cms.double(0),
79  numberMax = cms.double(10),
80 
81  xBin = cms.int32(300),
82  xMin = cms.double(-60),
83  xMax = cms.double(60),
84 
85  yBin = cms.int32(300),
86  yMin = cms.double(-60),
87  yMax = cms.double(60),
88 
89  rBin = cms.int32(400),
90  rMin = cms.double(0),
91  rMax = cms.double(80),
92 
93  zBin = cms.int32(400),
94  zMin = cms.double(-200),
95  zMax = cms.double(200),
96 
97  dEtaTracksBin = cms.int32(100),
98  dEtaTracksMin = cms.double(-0.2),
99  dEtaTracksMax = cms.double(0.2),
100 
101  dPhiTracksBin = cms.int32(100),
102  dPhiTracksMin = cms.double(-0.5),
103  dPhiTracksMax = cms.double(0.5),
104 
105  sigmaIetaBin = cms.int32(200),
106  sigmaIetaMin = cms.double(0.0),
107  sigmaIetaMax = cms.double(0.05),
108 
109  eOverPBin = cms.int32(100),
110  eOverPMin = cms.double(0.0),
111  eOverPMax = cms.double(5.0),
112 
113  chi2Bin = cms.int32(100),
114  chi2Min = cms.double(0.0),
115  chi2Max = cms.double(20.0),
116 
117 
118 
119  OutputFileName = cms.string('DQMOfflinePhotonsAfterFirstStep.root'),
120 
121 
122 )