CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/HLTriggerOffline/Top/python/topSingleLeptonHLTEventDQM_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 topSingleLeptonTriggerDQM = cms.EDAnalyzer("TopHLTSingleLeptonDQM",
00004   ## ------------------------------------------------------
00005   ## SETUP
00006   ##
00007   ## configuration of the MonitoringEnsemble(s)
00008   ## [mandatory] : optional PSets may be omitted
00009   ##
00010   setup = cms.PSet(
00011     ## sub-directory to write the monitor histograms to
00012     ## [mandatory] : should not be changed w/o explicit 
00013     ## communication to TopCom!
00014     directory = cms.string("HLTriggerOffline/Top/TopSingleLeptonTriggerDQM/"),
00015     ## [mandatory]
00016     sources = cms.PSet(
00017       muons = cms.InputTag("muons"),
00018       elecs = cms.InputTag("gsfElectrons"),
00019       jets  = cms.InputTag("ak5CaloJets"),
00020       mets  = cms.VInputTag("met", "tcMet", "pfMet"),
00021       pvs   = cms.InputTag("offlinePrimaryVertices")
00022     ),
00023     ## [optional] : when omitted the verbosity level is set to STANDARD
00024     monitoring = cms.PSet(
00025       verbosity = cms.string("DEBUG")
00026     ),
00027     ## [optional] : when omitted all monitoring plots for primary vertices
00028     ## will be filled w/o extras
00029     pvExtras = cms.PSet(
00030       ## when omitted electron plots will be filled w/o additional pre-
00031       ## selection of the primary vertex candidates                                                                                            
00032       select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
00033     ),
00034     ## [optional] : when omitted all monitoring plots for electrons
00035     ## will be filled w/o extras
00036     elecExtras = cms.PSet(
00037       ## when omitted electron plots will be filled w/o cut on electronId
00038       electronId = cms.PSet( src = cms.InputTag("eidRobustLoose"), pattern = cms.int32(1) ),
00039       ## when omitted electron plots will be filled w/o additional pre-
00040       ## selection of the electron candidates                                                                                            
00041       select = cms.string("pt>15 & abs(eta)<2.5 & abs(gsfTrack.d0)<1 & abs(gsfTrack.dz)<20"),
00042       ## when omitted isolated electron multiplicity plot will be equi-
00043       ## valent to inclusive electron multiplicity plot 
00044       isolation = cms.string("(dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
00045     ),
00046     ## [optional] : when omitted all monitoring plots for muons
00047     ## will be filled w/o extras
00048     muonExtras = cms.PSet(
00049       ## when omitted muon plots will be filled w/o additional pre-
00050       ## selection of the muon candidates                                                                                            
00051       select = cms.string("pt>10 & abs(eta)<2.1 & isGlobalMuon & abs(globalTrack.d0)<1 & abs(globalTrack.dz)<20"),
00052       ## when omitted isolated muon multiplicity plot will be equi-
00053       ## valent to inclusive muon multiplicity plot                                                    
00054       isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1"),
00055     ),
00056     ## [optional] : when omitted all monitoring plots for jets will
00057     ## be filled from uncorrected jets
00058     jetExtras = cms.PSet(
00059       ## when omitted monitor plots for pt will be filled from uncorrected
00060       ## jets                                            
00061       jetCorrector = cms.string("ak5CaloL2L3"),
00062       ## when omitted monitor plots will be filled w/o additional cut on
00063       ## jetID                                                   
00064       jetID  = cms.PSet(
00065         label  = cms.InputTag("ak5JetID"),
00066         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00067       ),
00068       ## when omitted no extra selection will be applied on jets before
00069       ## filling the monitor histograms; if jetCorrector is present the
00070       ## selection will be applied to corrected jets
00071       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00072     ),
00073     ## [optional] : when omitted no mass window will be applied
00074     ## for the W mass befor filling the event monitoring plots
00075     massExtras = cms.PSet(
00076       lowerEdge = cms.double( 70.),
00077       upperEdge = cms.double(110.)
00078     ),
00079     ## [optional] : when omitted the monitoring plots for triggering
00080     ## will be empty
00081     triggerExtras = cms.PSet(
00082       src   = cms.InputTag("TriggerResults","","HLT"),
00083       paths = cms.vstring(['HLT_Mu3:HLT_QuadJet15U',
00084                            'HLT_Mu5:HLT_QuadJet15U',
00085                            'HLT_Mu7:HLT_QuadJet15U',
00086                            'HLT_Mu9:HLT_QuadJet15U'])
00087     )                                            
00088   ),                                  
00089   ## ------------------------------------------------------
00090   ## PRESELECTION
00091   ##
00092   ## setup of the event preselection, which will not
00093   ## be monitored
00094   ## [mandatory] : but may be empty
00095   ##
00096   preselection = cms.PSet(
00097    trigger = cms.PSet(
00098       src    = cms.InputTag("TriggerResults","","HLT"),
00099       select = cms.vstring(['HLT_Iso10Mu20_eta2p1_CentralPFJet30_BTagIPIter_v1'])#ONLY ONE PATH
00100     ),
00101     ## [optional] : when omitted no preselection is applied
00102     vertex = cms.PSet(
00103       src    = cms.InputTag("offlinePrimaryVertices"),
00104       select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
00105     )                                       
00106   ),  
00107   ## ------------------------------------------------------    
00108   ## SELECTION
00109   ##
00110   ## monitor histrograms are filled after each selection
00111   ## step, the selection is applied in the order defined
00112   ## by this vector
00113   ## [mandatory] : may be empty or contain an arbitrary
00114   ## number of PSets
00115   ##    
00116   selection = cms.VPSet(
00117     cms.PSet(
00118       label  = cms.string("Hlt:step0"),
00119       src    = cms.InputTag(""),
00120       select = cms.string(""),
00121       min    = cms.int32(0),
00122       max    = cms.int32(0),
00123     ),
00124     cms.PSet(
00125       label  = cms.string("jets/calo:step1"),
00126       src    = cms.InputTag("ak5CaloJets"),
00127       select = cms.string("pt>20 & abs(eta)<2.1 & 0.05<emEnergyFraction"),
00128       jetID  = cms.PSet(
00129         label  = cms.InputTag("ak5JetID"),
00130         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00131       ),
00132       min = cms.int32(2),
00133     ),
00134   )
00135 )
00136 
00137 topSingleMuonLooseTriggerDQM = cms.EDAnalyzer("TopHLTSingleLeptonDQM",
00138   ## ------------------------------------------------------
00139   ## SETUP
00140   ##
00141   ## configuration of the MonitoringEnsemble(s)
00142   ## [mandatory] : optional PSets may be omitted
00143   ##
00144   setup = cms.PSet(
00145     ## sub-directory to write the monitor histograms to
00146     ## [mandatory] : should not be changed w/o explicit
00147     ## communication to TopCom!
00148     directory = cms.string("HLTriggerOffline/Top/TopSingleMuonLooseTriggerDQM/"),
00149     ## [mandatory]
00150     sources = cms.PSet(
00151       muons = cms.InputTag("muons"),
00152       elecs = cms.InputTag("gsfElectrons"),
00153       jets  = cms.InputTag("ak5CaloJets"),
00154       mets  = cms.VInputTag("met", "tcMet", "pfMet"),
00155       pvs   = cms.InputTag("offlinePrimaryVertices")
00156     ),
00157     ## [optional] : when omitted the verbosity level is set to STANDARD
00158     monitoring = cms.PSet(
00159       verbosity = cms.string("DEBUG")
00160     ),
00161     pvExtras = cms.PSet(
00162       ## when omitted electron plots will be filled w/o additional pre-
00163       ## selection of the primary vertex candidates                                                                                            
00164       select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
00165     ),
00166     ## [optional] : when omitted all monitoring plots for muons
00167     ## will be filled w/o extras                                           
00168     muonExtras = cms.PSet(
00169       ## when omitted muon plots will be filled w/o additional pre-
00170       ## selection of the muon candidates                                                                                               
00171       select = cms.string("pt > 10 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10"),
00172       ## when omitted isolated muon multiplicity plot will be equi-
00173       ## valent to inclusive muon multiplicity plot                                                    
00174       isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1")                                               
00175     ),
00176     ## [optional] : when omitted all monitoring plots for jets
00177     ## will be filled w/o extras
00178     jetExtras = cms.PSet(
00179       ## when omitted monitor plots for pt will be filled from uncorrected
00180       ## jets                                               
00181       jetCorrector = cms.string("ak5CaloL2L3"),
00182       ## when omitted monitor plots will be filled w/o additional cut on
00183       ## jetID                                                                                                                     
00184       jetID  = cms.PSet(
00185         label  = cms.InputTag("ak5JetID"),
00186         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00187       ),                                                    
00188       ## when omitted no extra selection will be applied on jets before
00189       ## filling the monitor histograms; if jetCorrector is present the
00190       ## selection will be applied to corrected jets                                                
00191       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00192       ## when omitted monitor histograms for b-tagging will not be filled 
00193       jetBTaggers  = cms.PSet(
00194         trackCountingEff = cms.PSet(
00195           label = cms.InputTag("trackCountingHighEffBJetTags" ),
00196           workingPoint = cms.double(1.25)
00197         ),
00198         trackCountingPur = cms.PSet(
00199           label = cms.InputTag("trackCountingHighPurBJetTags" ),
00200           workingPoint = cms.double(3.00)
00201         ),
00202         secondaryVertex  = cms.PSet(
00203           label = cms.InputTag("simpleSecondaryVertexHighEffBJetTags"),
00204           workingPoint = cms.double(2.05)
00205         )
00206       ),
00207     ),
00208     ## [optional] : when omitted no mass window will be applied
00209     ## for the W mass befor filling the event monitoring plots
00210     massExtras = cms.PSet(
00211       lowerEdge = cms.double( 70.),
00212       upperEdge = cms.double(110.)
00213     ),
00214     ## [optional] : when omitted the monitoring plots for triggering
00215     ## will be empty
00216     triggerExtras = cms.PSet(
00217       src   = cms.InputTag("TriggerResults","","HLT"),
00218       paths = cms.vstring(['HLT_Mu3:HLT_QuadJet15U',
00219                            'HLT_Mu5:HLT_QuadJet15U',
00220                            'HLT_Mu7:HLT_QuadJet15U',
00221                            'HLT_Mu9:HLT_QuadJet15U',
00222                            'HLT_Mu11:HLT_QuadJet15U'])
00223     )
00224   ),
00225   ## ------------------------------------------------------
00226   ## PRESELECTION
00227   ##
00228   ## setup of the event preselection, which will not
00229   ## be monitored
00230   ## [mandatory] : but may be empty
00231   ##
00232   preselection = cms.PSet(
00233    trigger = cms.PSet(
00234       src    = cms.InputTag("TriggerResults","","HLT"),
00235       select = cms.vstring(['HLT_Iso10Mu20_eta2p1_CentralPFJet30_BTagIPIter_v1'])#ONLY ONE PATH
00236     ),
00237     ## [optional] : when omitted no preselection is applied
00238     vertex = cms.PSet(
00239       src    = cms.InputTag("offlinePrimaryVertices"),
00240       select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
00241     )                                       
00242   ), 
00243   ## ------------------------------------------------------
00244   ## SELECTION
00245   ##
00246   ## monitor histrograms are filled after each selection
00247   ## step, the selection is applied in the order defined
00248   ## by this vector
00249   ## [mandatory] : may be empty or contain an arbitrary
00250   ## number of PSets
00251   selection = cms.VPSet(
00252     cms.PSet(
00253       label  = cms.string("Hlt:step0"),
00254       src    = cms.InputTag(""),
00255       select = cms.string(""),
00256       min    = cms.int32(0),
00257       max    = cms.int32(0),
00258     ),
00259     cms.PSet(
00260       label  = cms.string("muons:step1"),
00261       src    = cms.InputTag("muons"),
00262       select = cms.string("pt>10 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10"),
00263       min    = cms.int32(1),
00264     ),
00265     cms.PSet(
00266       label  = cms.string("jets/calo:step2"),
00267       src    = cms.InputTag("ak5CaloJets"),
00268       jetCorrector = cms.string("ak5CaloL2L3"),
00269       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00270       jetID  = cms.PSet(
00271         label  = cms.InputTag("ak5JetID"),
00272         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00273       ),
00274       min = cms.int32(1),                                               
00275     ), 
00276     cms.PSet(
00277       label  = cms.string("jets/calo:step3"),
00278       src    = cms.InputTag("ak5CaloJets"),
00279       jetCorrector = cms.string("ak5CaloL2L3"),
00280       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00281       jetID  = cms.PSet(
00282         label  = cms.InputTag("ak5JetID"),
00283         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00284       ),
00285       min = cms.int32(2),                                               
00286     ), 
00287     cms.PSet(
00288       label  = cms.string("jets/calo:step4"),
00289       src    = cms.InputTag("ak5CaloJets"),
00290       jetCorrector = cms.string("ak5CaloL2L3"),
00291       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00292       jetID  = cms.PSet(
00293         label  = cms.InputTag("ak5JetID"),
00294         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00295       ),
00296       min = cms.int32(3),                                               
00297     ), 
00298     cms.PSet(
00299       label  = cms.string("jets/calo:step5"),
00300       src    = cms.InputTag("ak5CaloJets"),
00301       jetCorrector = cms.string("ak5CaloL2L3"),
00302       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00303       jetID  = cms.PSet(
00304         label  = cms.InputTag("ak5JetID"),
00305         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00306       ),
00307       min = cms.int32(4),                                               
00308     ), 
00309   )
00310 )
00311 topSingleMuonMediumTriggerDQM = cms.EDAnalyzer("TopHLTSingleLeptonDQM",
00312   ## ------------------------------------------------------
00313   ## SETUP
00314   ##
00315   ## configuration of the MonitoringEnsemble(s)
00316   ## [mandatory] : optional PSets may be omitted
00317   ##
00318   setup = cms.PSet(
00319     ## sub-directory to write the monitor histograms to
00320     ## [mandatory] : should not be changed w/o explicit
00321     ## communication to TopCom!
00322     directory = cms.string("HLTriggerOffline/Top/TopSingleMuonMediumTriggerDQM/"),
00323     ## [mandatory]
00324     sources = cms.PSet(
00325       muons = cms.InputTag("muons"),
00326       elecs = cms.InputTag("gsfElectrons"),
00327       jets  = cms.InputTag("ak5CaloJets"),
00328       mets  = cms.VInputTag("met", "tcMet", "pfMet"),
00329       pvs   = cms.InputTag("offlinePrimaryVertices")
00330 
00331     ),
00332     ## [optional] : when omitted the verbosity level is set to STANDARD
00333     monitoring = cms.PSet(
00334       verbosity = cms.string("DEBUG")
00335     ),
00336     ## [optional] : when omitted all monitoring plots for primary vertices
00337     ## will be filled w/o extras
00338     pvExtras = cms.PSet(
00339       ## when omitted electron plots will be filled w/o additional pre-
00340       ## selection of the primary vertex candidates                                                                                            
00341       select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
00342     ),
00343     ## [optional] : when omitted all monitoring plots for muons
00344     ## will be filled w/o extras                                           
00345     muonExtras = cms.PSet(
00346       ## when omitted muon plots will be filled w/o additional pre-
00347       ## selection of the muon candidates                                                
00348       select    = cms.string("pt>20 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10 & (isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1"),  
00349       ## when omitted isolated muon multiplicity plot will be equi-
00350       ## valent to inclusive muon multiplicity plot                                                    
00351       isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1")
00352     ),
00353     ## [optional] : when omitted all monitoring plots for jets
00354     ## will be filled w/o extras
00355     jetExtras = cms.PSet(
00356       ## when omitted monitor plots for pt will be filled from uncorrected
00357       ## jets
00358       jetCorrector = cms.string("ak5CaloL2L3"),
00359       ## when omitted monitor plots will be filled w/o additional cut on
00360       ## jetID                                                                                                   
00361       jetID  = cms.PSet(
00362         label  = cms.InputTag("ak5JetID"),
00363         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00364       ),
00365       ## when omitted no extra selection will be applied on jets before
00366       ## filling the monitor histograms; if jetCorrector is present the
00367       ## selection will be applied to corrected jets                                                
00368       select = cms.string("pt>30 & abs(eta)<2.5& emEnergyFraction>0.01"),
00369       ## when omitted monitor histograms for b-tagging will not be filled                                                                                                   
00370       jetBTaggers  = cms.PSet(
00371         trackCountingEff = cms.PSet(
00372           label = cms.InputTag("trackCountingHighEffBJetTags" ),
00373           workingPoint = cms.double(1.25)
00374         ),
00375         trackCountingPur = cms.PSet(
00376           label = cms.InputTag("trackCountingHighPurBJetTags" ),
00377           workingPoint = cms.double(3.00)
00378         ),
00379         secondaryVertex  = cms.PSet(
00380           label = cms.InputTag("simpleSecondaryVertexHighEffBJetTags"),
00381           workingPoint = cms.double(2.05)
00382         )
00383       ),                                                
00384     ),
00385     ## [optional] : when omitted no mass window will be applied
00386     ## for the W mass before filling the event monitoring plots
00387     massExtras = cms.PSet(
00388       lowerEdge = cms.double( 70.),
00389       upperEdge = cms.double(110.)
00390     ),
00391     ## [optional] : when omitted the monitoring plots for triggering
00392     ## will be empty
00393     triggerExtras = cms.PSet(
00394       src   = cms.InputTag("TriggerResults","","HLT"),
00395      paths = cms.vstring(['HLT_Mu3:HLT_QuadJet15U',
00396                           'HLT_Mu5:HLT_QuadJet15U',
00397                           'HLT_Mu7:HLT_QuadJet15U',
00398                           'HLT_Mu9:HLT_QuadJet15U',
00399                           'HLT_Mu11:HLT_QuadJet15U'])      
00400     )
00401   ),
00402   ## ------------------------------------------------------
00403   ## PRESELECTION
00404   ##
00405   ## setup of the event preselection, which will not
00406   ## be monitored
00407   ## [mandatory] : but may be empty
00408   ##
00409   preselection = cms.PSet(
00410    trigger = cms.PSet(
00411       src    = cms.InputTag("TriggerResults","","HLT"),
00412       select = cms.vstring(['HLT_Iso10Mu20_eta2p1_CentralPFJet30_BTagIPIter_v1'])#ONLY ONE PATH
00413     ),
00414     ## [optional] : when omitted no preselection is applied
00415     vertex = cms.PSet(
00416       src    = cms.InputTag("offlinePrimaryVertices"),
00417       select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
00418     )                                       
00419   ), 
00420   ## ------------------------------------------------------
00421   ## SELECTION
00422   ##
00423   ## monitor histrograms are filled after each selection
00424   ## step, the selection is applied in the order defined
00425   ## by this vector
00426   ## [mandatory] : may be empty or contain an arbitrary
00427   ## number of PSets
00428   selection = cms.VPSet(
00429     cms.PSet(
00430       label  = cms.string("Hlt:step0"),
00431       src    = cms.InputTag(""),
00432       select = cms.string(""),
00433       min    = cms.int32(0),
00434       max    = cms.int32(0),
00435     ),
00436     cms.PSet(
00437       label  = cms.string("muons:step1"),
00438       src    = cms.InputTag("muons"),
00439       select = cms.string("pt>20 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10 & (isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1"),       
00440       min    = cms.int32(1),
00441       max    = cms.int32(1),
00442     ),
00443     cms.PSet(
00444       label  = cms.string("jets/calo:step2"),
00445       src    = cms.InputTag("ak5CaloJets"),
00446       jetCorrector = cms.string("ak5CaloL2L3"),
00447       select = cms.string("pt>30 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00448       jetID  = cms.PSet(
00449         label  = cms.InputTag("ak5JetID"),
00450         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00451       ),
00452       min = cms.int32(1),
00453     ), 
00454     cms.PSet(
00455       label  = cms.string("jets/calo:step3"),
00456       src    = cms.InputTag("ak5CaloJets"),
00457       jetCorrector = cms.string("ak5CaloL2L3"),
00458       select = cms.string("pt>30 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00459       jetID  = cms.PSet(
00460         label  = cms.InputTag("ak5JetID"),
00461         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00462       ),
00463       min = cms.int32(2),
00464     ), 
00465     cms.PSet(
00466       label  = cms.string("jets/calo:step4"),
00467       src    = cms.InputTag("ak5CaloJets"),
00468       jetCorrector = cms.string("ak5CaloL2L3"),
00469       select = cms.string("pt>30 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00470       jetID  = cms.PSet(
00471         label  = cms.InputTag("ak5JetID"),
00472         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00473       ),
00474       min = cms.int32(3),                                                
00475     ), 
00476     cms.PSet(
00477       label  = cms.string("jets/calo:step5"),
00478       src    = cms.InputTag("ak5CaloJets"),
00479       jetCorrector = cms.string("ak5CaloL2L3"),
00480       select = cms.string("pt>30 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00481       jetID  = cms.PSet(
00482         label  = cms.InputTag("ak5JetID"),
00483         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00484       ),
00485       min = cms.int32(4),                                                
00486     ),
00487   )
00488 )
00489 
00490 topSingleElectronLooseTriggerDQM = cms.EDAnalyzer("TopHLTSingleLeptonDQM",
00491   ## ------------------------------------------------------
00492   ## SETUP
00493   ##
00494   ## configuration of the MonitoringEnsemble(s)
00495   ## [mandatory] : optional PSets may be omitted
00496   ##
00497   setup = cms.PSet(
00498     ## sub-directory to write the monitor histograms to
00499     ## [mandatory] : should not be changed w/o explicit
00500     ## communication to TopCom!
00501     directory = cms.string("HLTriggerOffline/Top/TopSingleElectronLooseTriggerDQM/"),
00502     ## [mandatory]
00503     sources = cms.PSet(
00504       muons = cms.InputTag("muons"),
00505       elecs = cms.InputTag("gsfElectrons"),
00506       jets  = cms.InputTag("ak5CaloJets"),
00507       mets  = cms.VInputTag("met", "tcMet", "pfMet"),
00508       pvs   = cms.InputTag("offlinePrimaryVertices")
00509 
00510     ),
00511     ## [optional] : when omitted the verbosity level is set to STANDARD
00512     monitoring = cms.PSet(
00513       verbosity = cms.string("DEBUG")
00514     ),
00515     ## [optional] : when omitted all monitoring plots for primary vertices
00516     ## will be filled w/o extras
00517     pvExtras = cms.PSet(
00518       ## when omitted electron plots will be filled w/o additional pre-
00519       ## selection of the primary vertex candidates                                                                                            
00520       select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
00521     ),
00522     ## [optional] : when omitted all monitoring plots for electrons
00523     ## will be filled w/o extras
00524     elecExtras = cms.PSet(
00525       ## when omitted electron plots will be filled w/o cut on electronId
00526       electronId = cms.PSet( src = cms.InputTag("simpleEleId70cIso"), pattern = cms.int32(1) ),
00527       ## when omitted electron plots will be filled w/o additional pre-
00528       ## selection of the electron candidates
00529       select     = cms.string("pt>30 & abs(eta)<2.5"),
00530       ## when omitted isolated electron multiplicity plot will be equi-
00531       ## valent to inclusive electron multiplicity plot                                                    
00532       isolation  = cms.string("(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.1"),                                                   
00533     ),
00534     ## [optional] : when omitted all monitoring plots for jets
00535     ## will be filled w/o extras
00536     jetExtras = cms.PSet(
00537       ## when omitted monitor plots for pt will be filled from uncorrected
00538       ## jets
00539       jetCorrector = cms.string("ak5CaloL2L3"),
00540       ## when omitted monitor plots will be filled w/o additional cut on
00541       ## jetID                                                   
00542       jetID  = cms.PSet(
00543         label  = cms.InputTag("ak5JetID"),
00544         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00545       ),
00546       ## when omitted no extra selection will be applied on jets before
00547       ## filling the monitor histograms; if jetCorrector is present the
00548       ## selection will be applied to corrected jets
00549       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"), 
00550       ## when omitted monitor histograms for b-tagging will not be filled                                                   
00551       jetBTaggers  = cms.PSet(
00552         trackCountingEff = cms.PSet(
00553           label = cms.InputTag("trackCountingHighEffBJetTags" ),
00554           workingPoint = cms.double(1.25)
00555         ),
00556         trackCountingPur = cms.PSet(
00557           label = cms.InputTag("trackCountingHighPurBJetTags" ),
00558           workingPoint = cms.double(3.00)
00559         ),
00560         secondaryVertex  = cms.PSet(
00561           label = cms.InputTag("simpleSecondaryVertexHighEffBJetTags"),
00562           workingPoint = cms.double(2.05)
00563         )
00564       ),
00565     ),
00566     ## [optional] : when omitted no mass window will be applied
00567     ## for the W mass before filling the event monitoring plots
00568     massExtras = cms.PSet(
00569       lowerEdge = cms.double( 70.),
00570       upperEdge = cms.double(110.)
00571     ),
00572     ## [optional] : when omitted the monitoring plots for triggering
00573     ## will be empty
00574     triggerExtras = cms.PSet(
00575       src   = cms.InputTag("TriggerResults","","HLT"),
00576       paths = cms.vstring(['HLT_Ele15_LW_L1R:HLT_QuadJetU15'])
00577     )
00578   ),
00579   ## ------------------------------------------------------
00580   ## PRESELECTION
00581   ##
00582   ## setup of the event preselection, which will not
00583   ## be monitored
00584   ## [mandatory] : but may be empty
00585   ##
00586   preselection = cms.PSet(
00587    trigger = cms.PSet(
00588       src    = cms.InputTag("TriggerResults","","HLT"),
00589       select = cms.vstring(['HLT_Iso10Mu20_eta2p1_CentralPFJet30_BTagIPIter_v1'])#ONLY ONE PATH
00590     ),
00591     ## [optional] : when omitted no preselection is applied
00592     vertex = cms.PSet(
00593       src    = cms.InputTag("offlinePrimaryVertices"),
00594       select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
00595     )                                       
00596   ), 
00597   ## ------------------------------------------------------
00598   ## SELECTION
00599   ##
00600   ## monitor histrograms are filled after each selection
00601   ## step, the selection is applied in the order defined
00602   ## by this vector
00603   ## [mandatory] : may be empty or contain an arbitrary
00604   ## number of PSets
00605   selection = cms.VPSet(
00606     cms.PSet(
00607       label  = cms.string("Hlt:step0"),
00608       src    = cms.InputTag(""),
00609       select = cms.string(""),
00610       min    = cms.int32(0),
00611       max    = cms.int32(0),
00612     ),
00613     cms.PSet(
00614       label  = cms.string("elecs:step1"),
00615       src    = cms.InputTag("gsfElectrons"),
00616       electronId = cms.PSet( src = cms.InputTag("simpleEleId70cIso"), pattern = cms.int32(1) ),
00617       select = cms.string("pt>15 & abs(eta)<2.5"),
00618       min    = cms.int32(1),
00619     ),
00620     cms.PSet(
00621       label  = cms.string("jets/calo:step2"),
00622       src    = cms.InputTag("ak5CaloJets"),
00623       jetCorrector = cms.string("ak5CaloL2L3"),
00624       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00625       jetID  = cms.PSet(
00626         label  = cms.InputTag("ak5JetID"),
00627         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00628       ),
00629       min = cms.int32(1),                                                   
00630     ), 
00631     cms.PSet(
00632       label  = cms.string("jets/calo:step3"),
00633       src    = cms.InputTag("ak5CaloJets"),
00634       jetCorrector = cms.string("ak5CaloL2L3"),
00635       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00636       jetID  = cms.PSet(
00637         label  = cms.InputTag("ak5JetID"),
00638         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00639       ),
00640       min = cms.int32(2),
00641     ), 
00642     cms.PSet(
00643       label  = cms.string("jets/calo:step4"),
00644       src    = cms.InputTag("ak5CaloJets"),
00645       jetCorrector = cms.string("ak5CaloL2L3"),
00646       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00647       jetID  = cms.PSet(
00648         label  = cms.InputTag("ak5JetID"),
00649         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00650       ),
00651       min = cms.int32(3),
00652     ), 
00653     cms.PSet(
00654       label  = cms.string("jets/calo:step5"),
00655       src    = cms.InputTag("ak5CaloJets"),
00656       jetCorrector = cms.string("ak5CaloL2L3"),
00657       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00658       jetID  = cms.PSet(
00659         label  = cms.InputTag("ak5JetID"),
00660         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00661       ),
00662       min = cms.int32(4),
00663     ), 
00664   )
00665 )
00666 
00667 topSingleElectronMediumTriggerDQM = cms.EDAnalyzer("TopHLTSingleLeptonDQM",
00668   ## ------------------------------------------------------
00669   ## SETUP
00670   ##
00671   ## configuration of the MonitoringEnsemble(s)
00672   ## [mandatory] : optional PSets may be omitted
00673   ##
00674   setup = cms.PSet(
00675     ## sub-directory to write the monitor histograms to
00676     ## [mandatory] : should not be changed w/o explicit
00677     ## communication to TopCom!
00678     directory = cms.string("HLTriggerOffline/Top/TopSingleElectronMediumTriggerDQM/"),
00679     ## [mandatory]
00680     sources = cms.PSet(
00681       muons = cms.InputTag("muons"),
00682       elecs = cms.InputTag("gsfElectrons"),
00683       jets  = cms.InputTag("ak5CaloJets"),
00684       mets  = cms.VInputTag("met", "tcMet", "pfMet"),
00685       pvs   = cms.InputTag("offlinePrimaryVertices")
00686 
00687     ),
00688     ## [optional] : when omitted the verbosity level is set to STANDARD
00689     monitoring = cms.PSet(
00690       verbosity = cms.string("DEBUG")
00691     ),
00692     ## [optional] : when omitted all monitoring plots for primary vertices
00693     ## will be filled w/o extras
00694     pvExtras = cms.PSet(
00695       ## when omitted electron plots will be filled w/o additional pre-
00696       ## selection of the primary vertex candidates                                                                                            
00697       select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
00698     ),
00699     ## [optional] : when omitted all monitoring plots for electrons
00700     ## will be filled w/o extras
00701     elecExtras = cms.PSet(
00702       ## when omitted electron plots will be filled w/o cut on electronId
00703       electronId = cms.PSet( src = cms.InputTag("simpleEleId70cIso"), pattern = cms.int32(1) ),
00704       ## when omitted electron plots will be filled w/o additional pre-
00705       ## selection of the electron candidates
00706       select     = cms.string("pt>25 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.1"),
00707       ## when omitted isolated electron multiplicity plot will be equi-
00708       ## valent to inclusive electron multiplicity plot 
00709       isolation  = cms.string("(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.1"),
00710     ),
00711     ## [optional] : when omitted all monitoring plots for jets
00712     ## will be filled w/o extras
00713     jetExtras = cms.PSet(
00714       ## when omitted monitor plots for pt will be filled from uncorrected
00715       ## jets
00716       jetCorrector = cms.string("ak5CaloL2L3"),
00717       ## when omitted monitor plots will be filled w/o additional cut on
00718       ## jetID
00719       jetID  = cms.PSet(
00720         label  = cms.InputTag("ak5JetID"),
00721         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00722       ),
00723       ## when omitted no extra selection will be applied on jets before
00724       ## filling the monitor histograms; if jetCorrector is present the
00725       ## selection will be applied to corrected jets 
00726       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00727       ## when omitted monitor histograms for b-tagging will not be filled
00728       jetBTaggers  = cms.PSet(
00729         trackCountingEff = cms.PSet(
00730           label = cms.InputTag("trackCountingHighEffBJetTags" ),
00731           workingPoint = cms.double(1.25)
00732         ),
00733         trackCountingPur = cms.PSet(
00734           label = cms.InputTag("trackCountingHighPurBJetTags" ),
00735           workingPoint = cms.double(3.00)
00736         ),
00737         secondaryVertex  = cms.PSet(
00738           label = cms.InputTag("simpleSecondaryVertexHighEffBJetTags"),
00739           workingPoint = cms.double(2.05)
00740         )
00741       ),
00742     ),
00743     ## [optional] : when omitted no mass window will be applied
00744     ## for the W mass before filling the event monitoring plots
00745     massExtras = cms.PSet(
00746       lowerEdge = cms.double( 70.),
00747       upperEdge = cms.double(110.)
00748     ),
00749     ## [optional] : when omitted the monitoring plots for triggering
00750     ## will be empty
00751     triggerExtras = cms.PSet(
00752       src   = cms.InputTag("TriggerResults","","HLT"),
00753       paths = cms.vstring([ 'HLT_Ele15_LW_L1R:HLT_QuadJetU15'])
00754     )
00755   ),
00756   ## ------------------------------------------------------
00757   ## PRESELECTION
00758   ##
00759   ## setup of the event preselection, which will not
00760   ## be monitored
00761   ## [mandatory] : but may be empty
00762   ##
00763   preselection = cms.PSet(
00764    trigger = cms.PSet(
00765       src    = cms.InputTag("TriggerResults","","HLT"),
00766       select = cms.vstring(['HLT_Iso10Mu20_eta2p1_CentralPFJet30_BTagIPIter_v1'])#ONLY ONE PATH
00767     ),
00768     ## [optional] : when omitted no preselection is applied
00769     vertex = cms.PSet(
00770       src    = cms.InputTag("offlinePrimaryVertices"),
00771       select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
00772     )                                       
00773   ), 
00774   ## ------------------------------------------------------
00775   ## SELECTION
00776   ##
00777   ## monitor histrograms are filled after each selection
00778   ## step, the selection is applied in the order defined
00779   ## by this vector
00780   ## [mandatory] : may be empty or contain an arbitrary
00781   ## number of PSets
00782   selection = cms.VPSet(
00783     cms.PSet(
00784       label  = cms.string("Hlt:step0"),
00785       src    = cms.InputTag(""),
00786       select = cms.string(""),
00787       min    = cms.int32(0),
00788       max    = cms.int32(0),
00789     ),
00790     cms.PSet(
00791       label = cms.string("elecs:step1"),
00792       src   = cms.InputTag("gsfElectrons"),
00793       electronId = cms.PSet( src = cms.InputTag("simpleEleId70cIso"), pattern = cms.int32(1) ),
00794       select = cms.string("pt>25 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.1"),
00795       min = cms.int32(1),
00796       max = cms.int32(1),
00797     ),
00798     cms.PSet(
00799       label = cms.string("jets/calo:step2"),
00800       src   = cms.InputTag("ak5CaloJets"),
00801       jetCorrector = cms.string("ak5CaloL2L3"),
00802       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00803       jetID  = cms.PSet(
00804         label  = cms.InputTag("ak5JetID"),
00805         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00806       ),
00807       min = cms.int32(1),
00808     ), 
00809     cms.PSet(
00810       label  = cms.string("jets/calo:step3"),
00811       src    = cms.InputTag("ak5CaloJets"),
00812       jetCorrector = cms.string("ak5CaloL2L3"),
00813       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00814       jetID  = cms.PSet(
00815         label  = cms.InputTag("ak5JetID"),
00816         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00817       ),
00818       min = cms.int32(2),
00819     ), 
00820     cms.PSet(
00821       label  = cms.string("jets/calo:step4"),
00822       src    = cms.InputTag("ak5CaloJets"),
00823       jetCorrector = cms.string("ak5CaloL2L3"),
00824       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00825       jetID  = cms.PSet(
00826         label  = cms.InputTag("ak5JetID"),
00827         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00828       ),
00829       min = cms.int32(3),
00830     ), 
00831     cms.PSet(
00832       label  = cms.string("jets/calo:step5"),
00833       src    = cms.InputTag("ak5CaloJets"),
00834       jetCorrector = cms.string("ak5CaloL2L3"),
00835       select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
00836       jetID  = cms.PSet(
00837         label  = cms.InputTag("ak5JetID"),
00838         select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
00839       ),
00840       min = cms.int32(4),
00841     ), 
00842   )
00843 )