CMS 3D CMS Logo

EgHLTOfflineSource_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
9 
10 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
11 egHLTOffDQMSource = DQMEDAnalyzer('EgHLTOfflineSource',
12  egHLTOffFiltersToMon,
13  binData = cms.PSet(egHLTOffDQMBinData,),
14  doHEP =cms.bool(False),
15  #products we need
16  triggerSummaryLabel = cms.InputTag("hltTriggerSummaryAOD","","HLT"),
17  hltTag = cms.string("HLT"),
18  TrigResults = cms.InputTag("TriggerResults","","HLT"),
19  filterInactiveTriggers = cms.bool(True),
20  EndcapRecHitCollection = cms.InputTag("reducedEcalRecHitsEE"),
21  BarrelRecHitCollection = cms.InputTag("reducedEcalRecHitsEB"),
22  ElectronCollection = cms.InputTag("gedGsfElectrons"),
23  PhotonCollection = cms.InputTag("gedPhotons"),
24  VertexCollection = cms.InputTag("offlinePrimaryVertices"),
25  #CaloJetCollection = cms.InputTag("sisCone5CaloJets"),
26  #--------Morse
27  CaloJetCollection = cms.InputTag("ak4CaloJets"),
28  #--------
29  IsolTrackCollection = cms.InputTag("generalTracks"),
30  HBHERecHitCollection = cms.InputTag("hbhereco"),
31  HFRecHitCollection = cms.InputTag("hfreco"),
32  DQMDirName=cms.string("HLT/EGM"),
33  subDQMDirName=cms.string("Source_Histos"),
34 
35  BeamSpotProducer = cms.InputTag("offlineBeamSpot"),
36  CaloTowers = cms.InputTag("towerMaker"),
37 
38  #hcal isolation parameters
39  #first which ones do we want to calculate...
40  calHLTHcalIsol = cms.bool(True),
41  calHLTEmIsol = cms.bool(True),
42  calHLTEleTrkIsol = cms.bool(True),
43  calHLTPhoTrkIsol = cms.bool(False),
44  #actual settings for hlt isolation
45  hltEMIsolOuterCone = cms.double(0.4),
46  hltEMIsolInnerConeEB = cms.double(0.045),
47  hltEMIsolEtaSliceEB = cms.double(0.02),
48  hltEMIsolEtMinEB = cms.double(-9999.0),
49  hltEMIsolEMinEB = cms.double(0.08),
50  hltEMIsolInnerConeEE = cms.double(0.07),
51  hltEMIsolEtaSliceEE = cms.double(0.02),
52  hltEMIsolEtMinEE = cms.double(-9999.),
53  hltEMIsolEMinEE = cms.double(0.3),
54  hltPhoTrkIsolPtMin = cms.double(1.5),
55  hltPhoTrkIsolOuterCone = cms.double(0.3),
56  hltPhoTrkIsolInnerCone = cms.double(0.06),
57  hltPhoTrkIsolZSpan = cms.double(999999.),
58  hltPhoTrkIsolRSpan = cms.double(999999.),
59  hltPhoTrkIsolCountTrks = cms.bool(False),
60  hltEleTrkIsolPtMin = cms.double(1.5),
61  hltEleTrkIsolOuterCone = cms.double(0.2),
62  hltEleTrkIsolInnerCone = cms.double(0.02),
63  hltEleTrkIsolZSpan = cms.double(0.1),
64  hltEleTrkIsolRSpan = cms.double(999999.0),
65  hltHadIsolOuterCone = cms.double(0.3),
66  hltHadIsolInnerCone = cms.double(0.0),
67  hltHadIsolEtMin = cms.double(0.),
68  hltHadIsolDepth = cms.int32(-1),
69 
70 
71 
72  #setting up selection
73  cutMasks = cms.PSet(
74  stdEle = cms.string("et:detEta:dEtaIn:dPhiIn:hadem:sigmaIEtaIEta:hltIsolTrksEle:hltIsolHad:hltIsolEm"),
75  tagEle = cms.string("et:detEta:dEtaIn:dPhiIn:hadem:sigmaIEtaIEta:hltIsolTrksEle:hltIsolHad:hltIsolEm"),
76  probeEle = cms.string("et:detEta"),
77  fakeEle = cms.string("et:detEta:hadem"),
78  trigTPEle = cms.string("detEta:dEtaIn:dPhiIn:hadem:sigmaIEtaIEta:hltIsolTrksEle:hltIsolHad:hltIsolEm"),
79  trigTPPho = cms.string("hadem:sigmaIEtaIEta:isolEm:isolHad:isolPtTrks"),
80  stdPho = cms.string("et:detEta:dEtaIn:dPhiIn:hadem:isolEm:isolHad:isolPtTrks"),
81  ),
82  eleCuts = cms.PSet (egHLTOffEleCuts,),
83  eleLooseCuts = cms.PSet(egHLTOffEleLooseCuts,),
84  phoCuts = cms.PSet(egHLTOffPhoCuts,),
85  phoLooseCuts = cms.PSet(egHLTOffPhoLooseCuts,),
86  triggerCuts = cms.VPSet (
87 
88  #cms.PSet (egHLTOffEleEt10LWCuts), #8E29
89  #cms.PSet (egHLTOffEleEt15LWCuts),
90  #cms.PSet (egHLTOffEleEt10LWEleIdCuts),
91  #cms.PSet (egHLTOffDoubleEleEt5Cuts),
92  #cms.PSet (egHLTOffEleEt10SWCuts), #1E31
93  #cms.PSet (egHLTOffEleEt15SWCuts),
94  #cms.PSet (egHLTOffEleEt20SWCuts),
95  #cms.PSet (egHLTOffEleEt15SWEleIdCuts),
96  #cms.PSet (egHLTOffEleEt15SWEleIdLTICuts),
97  #cms.PSet (egHLTOffEleEt15SWLTICuts),
98  #cms.PSet (egHLTOffDoubleEleEt10SWCuts),
99  #cms.PSet (egHLTOffPhoEt10Cuts),
100  #cms.PSet (egHLTOffPhoEt15Cuts),
101  #cms.PSet (egHLTOffPhoEt15LEICuts),
102  #cms.PSet (egHLTOffPhoEt15HTICuts),
103  #cms.PSet (egHLTOffPhoEt20Cuts),
104  #cms.PSet (egHLTOffPhoEt25Cuts),
105  #cms.PSet (egHLTOffPhoEt30Cuts),
106  #cms.PSet (egHLTOffPhoEt10LEITICuts),
107  #cms.PSet (egHLTOffPhoEt20LEITICuts),
108  #cms.PSet (egHLTOffPhoEt25LEITICuts),
109  #cms.PSet (egHLTOffDoublePhoEt10Cuts),
110  #cms.PSet (egHLTOffDoublePhoEt15Cuts),
111  #cms.PSet (egHLTOffDoublePhoEt15VLEICuts),
112  #----Morse-----------
113  #5E32
114  #cms.PSet (egHLTOffPhotonEt30_CaloIdVL_v1Cuts),
115  #cms.PSet (egHLTOffPhotonEt30_CaloIdVL_IsoL_v1Cuts),
116  #cms.PSet (egHLTOffPhotonEt50_CaloIdVL_IsoL_v1Cuts),
117  #cms.PSet (egHLTOffPhotonEt75_CaloIdVL_v1Cuts),
118  #cms.PSet (egHLTOffPhotonEt75_CaloIdVL_IsoL_v1Cuts),
119  #cms.PSet (egHLTOffPhotonEt125_NoSpikeFilter_v1Cuts),
120  #cms.PSet (egHLTOffDoublePhotonEt33_v1Cuts),
121  #cms.PSet (egHLTOffEleEt8_v1Cuts),
122  #cms.PSet (egHLTOffEleEt8_CaloIdL_CaloIsoVL_v1Cuts),
123  #cms.PSet (egHLTOffEleEt8_CaloIdL_TrkIdVL_v1Cuts),
124  #cms.PSet (egHLTOffEleEt15_CaloIdVT_CaloIsoT_TrkIdT_TrkIsoT_v1Cuts),
125  #cms.PSet (egHLTOffEleEt17_CaloIdL_CaloIsoVL_v1Cuts),
126  #cms.PSet (egHLTOffEleEt27_CaloIdVT_CaloIsoT_TrkIdT_TrkIsoT_v1Cuts),
127  #cms.PSet (egHLTOffEleEt45_CaloIdVT_TrkIdT_v1Cuts),
128  #cms.PSet (egHLTOffEle90_NoSpikeFilter_v1Cuts)#,
129  #cms.PSet (egHLTOffPhotonEt32_CaloIdL_PhotonEt26_CaloIdL_v1Cuts),
130  #cms.PSet (egHLTOffEleEt17_CaloIdL_CaloIsoVL_EleEt8_CaloIdL_CaloIsoVL_v1Cuts)
131  #-------------
132 
133  )
134 
135 )
136 
137 
EgHLTOffEleSelection_cfi
EgHLTOffTrigSelection_cfi
EgHLTOffFiltersToMon_cfi
EgHLTOffPhoSelection_cfi
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
EgHLTOffHistBins_cfi