Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-10 06:13:52

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 
0005 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0006 photonAnalysis = DQMEDAnalyzer('PhotonAnalyzer',
0007     ComponentName = cms.string('photonAnalysis'),
0008     phoProducer = cms.InputTag('gedPhotons'),
0009     analyzerName = cms.string('gedPhotonAnalyzer'),
0010     photonIDLoose = cms.InputTag('PhotonIDProd:PhotonCutBasedIDLoose'),
0011     photonIDTight = cms.InputTag('PhotonIDProd:PhotonCutBasedIDTight'),                                                             
0012 
0013     barrelRecHitProducer = cms.InputTag('reducedEcalRecHitsEB'),                                
0014     endcapRecHitProducer = cms.InputTag('reducedEcalRecHitsEE'),
0015     
0016     triggerEvent = cms.InputTag("hltTriggerSummaryAOD",""),                            
0017     prescaleFactor = cms.untracked.int32(1),
0018 
0019     useBinning = cms.bool(False),
0020     useTriggerFiltering = cms.bool(False),                             
0021     standAlone = cms.bool(False),
0022                                 
0023     minPhoEtCut = cms.double(20.0),
0024     maxPhoEta   = cms.double(2.5),
0025     invMassEtCut = cms.double(20.0),                             
0026               
0027     cutStep = cms.double(20.0),
0028     numberOfSteps = cms.int32(1),
0029     minimalSetOfHistos = cms.bool(True),
0030     excludeBkgHistos = cms.bool(True),                            
0031 
0032     isHeavyIon = cms.untracked.bool(False),
0033 
0034     # DBE verbosity
0035     Verbosity = cms.untracked.int32(0),
0036                                 # 1 provides basic output
0037                                 # 2 provides output of the fill step + 1
0038                                 # 3 provides output of the store step + 2
0039                                 
0040     isolationStrength = cms.int32(0),
0041                                 # 0 => Loose Photon = GoodCandidate
0042                                 ### CAREFULL for the time being only Loos exists
0043                                 # 1 => Tight Photon = GoodCandidate
0044 
0045 
0046 
0047     ##### Histogram Ranges and Bins                               
0048 
0049     eBin = cms.int32(500),
0050     eMin = cms.double(0.0),
0051     eMax = cms.double(500.0),
0052                                 
0053     etBin = cms.int32(500),
0054     etMin = cms.double(0.0),
0055     etMax = cms.double(500.0),
0056 
0057     sumBin = cms.int32(230),
0058     sumMin = cms.double(-3.0),
0059     sumMax = cms.double(20.0),
0060 
0061     etaBin = cms.int32(200),                               
0062     etaMin = cms.double(-2.5),
0063     etaMax = cms.double(2.5),
0064 
0065     phiBin = cms.int32(200),
0066     phiMin = cms.double(-3.14),
0067     phiMax = cms.double(3.14),
0068     
0069     r9Bin = cms.int32(120),
0070     r9Min = cms.double(0.0),
0071     r9Max = cms.double(1.2),
0072 
0073     hOverEBin = cms.int32(200),
0074     hOverEMin = cms.double(0),                               
0075     hOverEMax = cms.double(0.5), 
0076 
0077     numberBin = cms.int32(10),
0078     numberMin = cms.double(0),                               
0079     numberMax = cms.double(10), 
0080 
0081     xBin = cms.int32(300),
0082     xMin = cms.double(-60),                               
0083     xMax = cms.double(60),
0084                                 
0085     yBin = cms.int32(300),
0086     yMin = cms.double(-60),                               
0087     yMax = cms.double(60),
0088                                 
0089     rBin = cms.int32(400),
0090     rMin = cms.double(0),                               
0091     rMax = cms.double(80),                                
0092 
0093     zBin = cms.int32(400),
0094     zMin = cms.double(-200),                               
0095     zMax = cms.double(200),
0096 
0097     dEtaTracksBin = cms.int32(100),
0098     dEtaTracksMin = cms.double(-0.2),
0099     dEtaTracksMax = cms.double(0.2),
0100 
0101     dPhiTracksBin = cms.int32(100),
0102     dPhiTracksMin = cms.double(-0.5),
0103     dPhiTracksMax = cms.double(0.5),
0104 
0105     sigmaIetaBin = cms.int32(200),
0106     sigmaIetaMin = cms.double(0.0),
0107     sigmaIetaMax = cms.double(0.05),
0108 
0109     eOverPBin = cms.int32(100),
0110     eOverPMin = cms.double(0.0),
0111     eOverPMax = cms.double(5.0),
0112 
0113     chi2Bin = cms.int32(100),
0114     chi2Min = cms.double(0.0),
0115     chi2Max = cms.double(20.0),                                
0116                                 
0117 
0118                                 
0119     OutputFileName = cms.string('DQMOfflinePhotonsAfterFirstStep.root'),
0120 
0121 
0122 )