CMS 3D CMS Logo

L1TEGammaOffline_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 electronEfficiencyThresholds = [36, 68, 128, 176]
4 
5 electronEfficiencyBins = []
6 electronEfficiencyBins.extend(list(xrange(0, 120, 10)))
7 electronEfficiencyBins.extend(list(xrange(120, 180, 20)))
8 electronEfficiencyBins.extend(list(xrange(180, 300, 40)))
9 electronEfficiencyBins.extend(list(xrange(300, 400, 100)))
10 
11 # just copy for now
12 photonEfficiencyThresholds = electronEfficiencyThresholds
13 photonEfficiencyBins = electronEfficiencyBins
14 
15 l1tEGammaOfflineDQM = cms.EDAnalyzer(
16  "L1TEGammaOffline",
17  electronCollection=cms.InputTag("gedGsfElectrons"),
18  photonCollection=cms.InputTag("photons"),
19  caloJetCollection=cms.InputTag("ak4CaloJets"),
20  caloMETCollection=cms.InputTag("caloMet"),
21  conversionsCollection=cms.InputTag("allConversions"),
22  PVCollection=cms.InputTag("offlinePrimaryVerticesWithBS"),
23  beamSpotCollection=cms.InputTag("offlineBeamSpot"),
24 
25  TriggerEvent=cms.InputTag('hltTriggerSummaryAOD', '', 'HLT'),
26  TriggerResults=cms.InputTag('TriggerResults', '', 'HLT'),
27  # last filter of HLTEle27WP80Sequence
28  TriggerFilter=cms.InputTag('hltEle27WP80TrackIsoFilter', '', 'HLT'),
29  TriggerPath=cms.string('HLT_Ele27_WP80_v13'),
30 
31 
32  stage2CaloLayer2EGammaSource=cms.InputTag("caloStage2Digis", "EGamma"),
33 
34  histFolder=cms.string('L1T/L1TEGamma'),
35 
36  electronEfficiencyThresholds=cms.vdouble(electronEfficiencyThresholds),
37  electronEfficiencyBins=cms.vdouble(electronEfficiencyBins),
38 
39  photonEfficiencyThresholds=cms.vdouble(photonEfficiencyThresholds),
40  photonEfficiencyBins=cms.vdouble(photonEfficiencyBins),
41 )
42 
43 l1tEGammaOfflineDQMEmu = l1tEGammaOfflineDQM.clone(
44  stage2CaloLayer2EGammaSource=cms.InputTag("simCaloStage2Digis"),
45 
46  histFolder=cms.string('L1TEMU/L1TEGamma'),
47 )
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run