14 import FWCore.ParameterSet.Config
as cms
17 from HLTriggerOffline.Exotica.analyses.hltExoticaLowPtTrimuon_cff
import LowPtTrimuonPSet
18 from HLTriggerOffline.Exotica.analyses.hltExoticaHighPtDimuon_cff
import HighPtDimuonPSet
19 from HLTriggerOffline.Exotica.analyses.hltExoticaHighPtDielectron_cff
import HighPtDielectronPSet
20 from HLTriggerOffline.Exotica.analyses.hltExoticaLowPtDimuon_cff
import LowPtDimuonPSet
21 from HLTriggerOffline.Exotica.analyses.hltExoticaLowPtDielectron_cff
import LowPtDielectronPSet
22 from HLTriggerOffline.Exotica.analyses.hltExoticaHighPtElectron_cff
import HighPtElectronPSet
24 from HLTriggerOffline.Exotica.analyses.hltExoticaHighPtPhoton_cff
import HighPtPhotonPSet
25 from HLTriggerOffline.Exotica.analyses.hltExoticaDiPhoton_cff
import DiPhotonPSet
26 from HLTriggerOffline.Exotica.analyses.hltExoticaPFHT_cff
import PFHTPSet
27 from HLTriggerOffline.Exotica.analyses.hltExoticaCaloHT_cff
import CaloHTPSet
28 from HLTriggerOffline.Exotica.analyses.hltExoticaJetNoBptx_cff
import JetNoBptxPSet
29 from HLTriggerOffline.Exotica.analyses.hltExoticaMuonNoBptx_cff
import MuonNoBptxPSet
30 from HLTriggerOffline.Exotica.analyses.hltExoticaDisplacedMuEG_cff
import DisplacedMuEGPSet
31 from HLTriggerOffline.Exotica.analyses.hltExoticaDisplacedMuJet_cff
import DisplacedMuJetPSet
32 from HLTriggerOffline.Exotica.analyses.hltExoticaDisplacedDimuon_cff
import DisplacedDimuonPSet
33 from HLTriggerOffline.Exotica.analyses.hltExoticaDisplacedL2Dimuon_cff
import DisplacedL2DimuonPSet
34 from HLTriggerOffline.Exotica.analyses.hltExoticaPureMET_cff
import PureMETPSet
35 from HLTriggerOffline.Exotica.analyses.hltExoticaMETplusTrack_cff
import METplusTrackPSet
36 from HLTriggerOffline.Exotica.analyses.hltExoticaMonojet_cff
import MonojetPSet
37 from HLTriggerOffline.Exotica.analyses.hltExoticaMonojetBackup_cff
import MonojetBackupPSet
39 from HLTriggerOffline.Exotica.analyses.hltExoticaEleMu_cff
import EleMuPSet
40 from HLTriggerOffline.Exotica.analyses.hltExoticaHTDisplacedJets_cff
import HTDisplacedJetsPSet
41 from HLTriggerOffline.Exotica.analyses.hltExoticaPhotonMET_cff
import PhotonMETPSet
42 from HLTriggerOffline.Exotica.analyses.hltExoticaSingleMuon_cff
import SingleMuonPSet
43 from HLTriggerOffline.Exotica.analyses.hltExoticaDSTJets_cff
import DSTJetsPSet
44 from HLTriggerOffline.Exotica.analyses.hltExoticaDSTMuons_cff
import DSTMuonsPSet
45 from HLTriggerOffline.Exotica.analyses.hltExoticaTracklessJets_cff
import TracklessJetsPSet
47 hltExoticaValidator = cms.EDAnalyzer(
49 "HLTExoticaValidator",
51 hltProcessName = cms.string(
"HLT"),
56 analysis = cms.vstring(
89 genParticleLabel = cms.string(
"genParticles"),
92 beamSpotLabel = cms.string(
"offlineBeamSpot"),
97 parametersTurnOn = cms.vdouble( 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20,
98 22, 24, 26, 28, 30, 32, 34, 36, 38, 40,
99 42, 44, 46, 48, 50, 52, 54, 56, 58, 60,
100 62, 64, 66, 68, 70, 72, 74, 76, 78, 80,
101 82, 84, 86, 88, 90, 92, 94, 96, 98, 100,
105 parametersTurnOnSumEt = cms.vdouble( 0, 100, 200, 300, 400, 500, 600, 700, 800, 900,
106 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900,
107 2000, 2100, 2200, 2300, 2400, 2500, 2600, 2700, 2800, 2900,
108 3000, 3100, 3200, 3300, 3400, 3500, 3600, 3700, 3800, 3900,
109 4000, 4100, 4200, 4300, 4400, 4500, 4600, 4700, 4800, 4900,
110 5000, 5100, 5200, 5300, 5400, 5500, 5600, 5700, 5800, 5900,
111 6000, 6100, 6200, 6300, 6400, 6500, 6600, 6700, 6800, 6900,
116 parametersEta = cms.vdouble(48, -2.400, 2.400),
117 parametersPhi = cms.vdouble(50, -3.142, 3.142),
118 parametersDxy = cms.vdouble(50, -0.015, 0.015),
126 Mu_genCut = cms.string(
"pt > 10 && abs(eta) < 2.4 && abs(pdgId) == 13 && (isPromptFinalState || isDirectPromptTauDecayProductFinalState)"),
127 Mu_recCut = cms.string(
"pt > 10 && abs(eta) < 2.4 && isPFMuon && (isTrackerMuon || isGlobalMuon)"),
131 refittedStandAloneMuons_genCut = cms.string(
"pt > 10 && abs(eta) < 2.4"),
133 refittedStandAloneMuons_recCut = cms.string(
"pt > 10 && abs(eta) < 2.4"),
136 Ele_genCut = cms.string(
"pt > 10 && (abs(eta)<1.444 || abs(eta)>1.566) && abs(eta)<2.5 && abs(pdgId) == 11 && (isPromptFinalState||isDirectPromptTauDecayProductFinalState)"),
137 Ele_recCut = cms.string(
138 "pt > 10 && (abs(eta)<1.444 || abs(eta)>1.566) && abs(eta)< 2.5 "+
139 " && hadronicOverEm < 0.05 "+
140 " && abs(deltaEtaSuperClusterTrackAtVtx)<0.007 && abs(deltaPhiSuperClusterTrackAtVtx)<0.06 "+
141 " && sigmaIetaIeta<0.03 "+
142 " && (pfIsolationVariables.sumChargedParticlePt + pfIsolationVariables.sumNeutralHadronEtHighThreshold + pfIsolationVariables.sumPhotonEtHighThreshold )/pt < 0.10 "+
143 " && abs(1/energy - 1/p)<0.05"),
148 Photon_genCut = cms.string(
"pt > 20 && abs(eta) < 2.4 && abs(pdgId) == 22 && isPromptFinalState"),
149 Photon_recCut = cms.string(
"pt > 20 && abs(eta) < 2.4"),
150 Photon_genCut_leading = cms.string(
"pt > 150 "),
151 Photon_recCut_leading = cms.string(
"pt > 150 "),
154 PFTau_genCut = cms.string(
"pt > 20 && abs(eta) < 2.4 && abs(pdgId) == 15 && isPromptDecayed"),
155 PFTau_recCut = cms.string(
"pt > 20 && abs(eta) < 2.4"),
158 PFJet_genCut = cms.string(
"pt > 30 && abs(eta) < 2.4"),
159 PFJet_recCut = cms.string(
"pt > 30 && abs(eta) < 2.4 &&"+
160 "(neutralHadronEnergy + HFHadronEnergy)/energy < 0.99 &&"+
161 "neutralEmEnergyFraction < 0.99 &&"+
162 "numberOfDaughters > 1 &&"+
163 "chargedHadronEnergyFraction > 0 &&"+
164 "chargedMultiplicity > 0 && "+
165 "chargedEmEnergyFraction < 0.99"),
167 CaloJet_genCut = cms.string(
"pt > 30 && abs(eta) < 2.4"),
168 CaloJet_recCut = cms.string(
"pt > 30 && abs(eta) < 2.4"),
171 MET_genCut = cms.string(
"pt > 75"),
172 MET_recCut = cms.string(
"pt > 75"),
174 PFMET_genCut = cms.string(
"pt > 75"),
175 PFMET_recCut = cms.string(
"pt > 75"),
177 PFMHT_genCut = cms.string(
"pt > 75"),
178 PFMHT_recCut = cms.string(
"pt > 75"),
180 GenMET_genCut = cms.string(
"pt > 75"),
181 GenMET_recCut = cms.string(
"pt > 75"),
183 Track_genCut = cms.string(
"pt > 50"),
184 Track_recCut = cms.string(
"pt > 50"),
186 CaloMET_genCut = cms.string(
"pt > 75"),
187 CaloMET_recCut = cms.string(
"pt > 75"),
189 CaloMHT_genCut = cms.string(
"pt > 75"),
190 CaloMHT_recCut = cms.string(
"pt > 75"),
192 hltMET_genCut = cms.string(
"pt > 75"),
193 hltMET_recCut = cms.string(
"pt > 75"),
195 l1MET_genCut = cms.string(
"pt > 75"),
196 l1MET_recCut = cms.string(
"pt > 75"),
213 LowPtTrimuon = LowPtTrimuonPSet,
214 HighPtDimuon = HighPtDimuonPSet,
215 HighPtDielectron = HighPtDielectronPSet,
216 LowPtDimuon = LowPtDimuonPSet,
217 LowPtDielectron = LowPtDielectronPSet,
218 HighPtElectron = HighPtElectronPSet,
220 HighPtPhoton = HighPtPhotonPSet,
221 DiPhoton = DiPhotonPSet,
222 SingleMuon = SingleMuonPSet,
223 JetNoBptx = JetNoBptxPSet,
224 MuonNoBptx = MuonNoBptxPSet,
225 DisplacedMuEG = DisplacedMuEGPSet,
226 DisplacedMuJet = DisplacedMuJetPSet,
227 DisplacedDimuon = DisplacedDimuonPSet,
228 DisplacedL2Dimuon = DisplacedL2DimuonPSet,
229 PureMET = PureMETPSet,
230 METplusTrack = METplusTrackPSet,
231 Monojet = MonojetPSet,
232 MonojetBackup = MonojetBackupPSet,
237 PhotonMET = PhotonMETPSet,
238 HTDisplacedJets = HTDisplacedJetsPSet,
239 DSTJets = DSTJetsPSet,
240 DSTMuons = DSTMuonsPSet,
241 TracklessJets = TracklessJetsPSet