Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:33

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 from DQMOffline.Trigger.EgHLTOffEleSelection_cfi import *
0005 from DQMOffline.Trigger.EgHLTOffPhoSelection_cfi import *
0006 from DQMOffline.Trigger.EgHLTOffTrigSelection_cfi import *
0007 from DQMOffline.Trigger.EgHLTOffHistBins_cfi import *
0008 from DQMOffline.Trigger.EgHLTOffFiltersToMon_cfi import *
0009 
0010 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0011 egHLTOffDQMSource = DQMEDAnalyzer('EgHLTOfflineSource',
0012                                  egHLTOffFiltersToMon,
0013                                  binData = cms.PSet(egHLTOffDQMBinData,),
0014                                  doHEP =cms.bool(False),
0015                                  #products we need
0016                                  triggerSummaryLabel = cms.InputTag("hltTriggerSummaryAOD","","HLT"),
0017                                  hltTag = cms.string("HLT"),
0018                                  TrigResults = cms.InputTag("TriggerResults","","HLT"),
0019                                  filterInactiveTriggers = cms.bool(True),
0020                                  EndcapRecHitCollection = cms.InputTag("reducedEcalRecHitsEE"),
0021                                  BarrelRecHitCollection = cms.InputTag("reducedEcalRecHitsEB"),
0022                                  ElectronCollection = cms.InputTag("gedGsfElectrons"),
0023                                  PhotonCollection = cms.InputTag("gedPhotons"),
0024                                  VertexCollection = cms.InputTag("offlinePrimaryVertices"),
0025                                  #CaloJetCollection = cms.InputTag("sisCone5CaloJets"),
0026                                  #--------Morse
0027                                  CaloJetCollection = cms.InputTag("ak4CaloJets"),
0028                                  #--------
0029                                  IsolTrackCollection = cms.InputTag("generalTracks"),
0030                                  HBHERecHitCollection = cms.InputTag("hbhereco"),
0031                                  HFRecHitCollection = cms.InputTag("hfreco"),
0032                                  DQMDirName=cms.string("HLT/EGM"),
0033                                  subDQMDirName=cms.string("Source_Histos"),
0034 
0035                                  BeamSpotProducer = cms.InputTag("offlineBeamSpot"),
0036                                  CaloTowers = cms.InputTag("towerMaker"),
0037 
0038                                  #hcal isolation parameters
0039                                  #first which ones do we want to calculate...
0040                                  calHLTHcalIsol = cms.bool(True),
0041                                  calHLTEmIsol = cms.bool(True),
0042                                  calHLTEleTrkIsol = cms.bool(True),
0043                                  calHLTPhoTrkIsol = cms.bool(False),
0044                                  #actual settings for hlt isolation
0045                                  hltEMIsolOuterCone = cms.double(0.4),
0046                                  hltEMIsolInnerConeEB = cms.double(0.045),
0047                                  hltEMIsolEtaSliceEB = cms.double(0.02),
0048                                  hltEMIsolEtMinEB = cms.double(-9999.0),
0049                                  hltEMIsolEMinEB = cms.double(0.08),
0050                                  hltEMIsolInnerConeEE = cms.double(0.07),
0051                                  hltEMIsolEtaSliceEE = cms.double(0.02),
0052                                  hltEMIsolEtMinEE = cms.double(-9999.),
0053                                  hltEMIsolEMinEE = cms.double(0.3),
0054                                  hltPhoTrkIsolPtMin = cms.double(1.5),
0055                                  hltPhoTrkIsolOuterCone = cms.double(0.3),
0056                                  hltPhoTrkIsolInnerCone = cms.double(0.06),
0057                                  hltPhoTrkIsolZSpan = cms.double(999999.),
0058                                  hltPhoTrkIsolRSpan = cms.double(999999.),
0059                                  hltPhoTrkIsolCountTrks = cms.bool(False),
0060                                  hltEleTrkIsolPtMin = cms.double(1.5),
0061                                  hltEleTrkIsolOuterCone = cms.double(0.2),
0062                                  hltEleTrkIsolInnerCone = cms.double(0.02),
0063                                  hltEleTrkIsolZSpan = cms.double(0.1),
0064                                  hltEleTrkIsolRSpan = cms.double(999999.0),
0065                                  hltHadIsolOuterCone = cms.double(0.3),
0066                                  hltHadIsolInnerCone = cms.double(0.0),
0067                                  hltHadIsolEtMin = cms.double(0.),
0068                                  hltHadIsolDepth = cms.int32(-1),
0069 
0070 
0071 
0072                                  #setting up selection
0073                                  cutMasks = cms.PSet(
0074                                     stdEle = cms.string("et:detEta:dEtaIn:dPhiIn:hadem:sigmaIEtaIEta:hltIsolTrksEle:hltIsolHad:hltIsolEm"),
0075                                     tagEle = cms.string("et:detEta:dEtaIn:dPhiIn:hadem:sigmaIEtaIEta:hltIsolTrksEle:hltIsolHad:hltIsolEm"),
0076                                     probeEle = cms.string("et:detEta"),
0077                                     fakeEle = cms.string("et:detEta:hadem"),
0078                                     trigTPEle = cms.string("detEta:dEtaIn:dPhiIn:hadem:sigmaIEtaIEta:hltIsolTrksEle:hltIsolHad:hltIsolEm"),
0079                                     trigTPPho = cms.string("hadem:sigmaIEtaIEta:isolEm:isolHad:isolPtTrks"),
0080                                     stdPho = cms.string("et:detEta:dEtaIn:dPhiIn:hadem:isolEm:isolHad:isolPtTrks"),
0081                                  ),
0082                                  eleCuts = cms.PSet (egHLTOffEleCuts,),
0083                                  eleLooseCuts = cms.PSet(egHLTOffEleLooseCuts,),
0084                                  phoCuts = cms.PSet(egHLTOffPhoCuts,),
0085                                  phoLooseCuts = cms.PSet(egHLTOffPhoLooseCuts,),
0086                                  triggerCuts = cms.VPSet (
0087 
0088                                    #cms.PSet (egHLTOffEleEt10LWCuts), #8E29
0089                                    #cms.PSet (egHLTOffEleEt15LWCuts),
0090                                    #cms.PSet (egHLTOffEleEt10LWEleIdCuts),
0091                                    #cms.PSet (egHLTOffDoubleEleEt5Cuts),
0092                                    #cms.PSet (egHLTOffEleEt10SWCuts), #1E31
0093                                    #cms.PSet (egHLTOffEleEt15SWCuts),
0094                                    #cms.PSet (egHLTOffEleEt20SWCuts),
0095                                    #cms.PSet (egHLTOffEleEt15SWEleIdCuts),
0096                                    #cms.PSet (egHLTOffEleEt15SWEleIdLTICuts),
0097                                    #cms.PSet (egHLTOffEleEt15SWLTICuts),
0098                                    #cms.PSet (egHLTOffDoubleEleEt10SWCuts),
0099                                    #cms.PSet (egHLTOffPhoEt10Cuts),
0100                                    #cms.PSet (egHLTOffPhoEt15Cuts),
0101                                    #cms.PSet (egHLTOffPhoEt15LEICuts),
0102                                    #cms.PSet (egHLTOffPhoEt15HTICuts),
0103                                    #cms.PSet (egHLTOffPhoEt20Cuts),
0104                                    #cms.PSet (egHLTOffPhoEt25Cuts),
0105                                    #cms.PSet (egHLTOffPhoEt30Cuts),
0106                                    #cms.PSet (egHLTOffPhoEt10LEITICuts),
0107                                    #cms.PSet (egHLTOffPhoEt20LEITICuts),
0108                                    #cms.PSet (egHLTOffPhoEt25LEITICuts),
0109                                    #cms.PSet (egHLTOffDoublePhoEt10Cuts),
0110                                    #cms.PSet (egHLTOffDoublePhoEt15Cuts),
0111                                    #cms.PSet (egHLTOffDoublePhoEt15VLEICuts),
0112                                    #----Morse-----------
0113                    #5E32
0114                                    #cms.PSet (egHLTOffPhotonEt30_CaloIdVL_v1Cuts),
0115                                    #cms.PSet (egHLTOffPhotonEt30_CaloIdVL_IsoL_v1Cuts),
0116                                    #cms.PSet (egHLTOffPhotonEt50_CaloIdVL_IsoL_v1Cuts),
0117                                    #cms.PSet (egHLTOffPhotonEt75_CaloIdVL_v1Cuts),
0118                                    #cms.PSet (egHLTOffPhotonEt75_CaloIdVL_IsoL_v1Cuts),
0119                                    #cms.PSet (egHLTOffPhotonEt125_NoSpikeFilter_v1Cuts),
0120                                    #cms.PSet (egHLTOffDoublePhotonEt33_v1Cuts),
0121                                    #cms.PSet (egHLTOffEleEt8_v1Cuts),
0122                                    #cms.PSet (egHLTOffEleEt8_CaloIdL_CaloIsoVL_v1Cuts),
0123                                    #cms.PSet (egHLTOffEleEt8_CaloIdL_TrkIdVL_v1Cuts),
0124                                    #cms.PSet (egHLTOffEleEt15_CaloIdVT_CaloIsoT_TrkIdT_TrkIsoT_v1Cuts),
0125                                    #cms.PSet (egHLTOffEleEt17_CaloIdL_CaloIsoVL_v1Cuts),
0126                                    #cms.PSet (egHLTOffEleEt27_CaloIdVT_CaloIsoT_TrkIdT_TrkIsoT_v1Cuts),
0127                                    #cms.PSet (egHLTOffEleEt45_CaloIdVT_TrkIdT_v1Cuts),
0128                                    #cms.PSet (egHLTOffEle90_NoSpikeFilter_v1Cuts)#,
0129                                    #cms.PSet (egHLTOffPhotonEt32_CaloIdL_PhotonEt26_CaloIdL_v1Cuts),
0130                                    #cms.PSet (egHLTOffEleEt17_CaloIdL_CaloIsoVL_EleEt8_CaloIdL_CaloIsoVL_v1Cuts)
0131                                    #-------------
0132 
0133                                  )
0134 
0135 )
0136 
0137