test
CMS 3D CMS Logo

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