CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/HLTriggerOffline/SUSYBSM/python/SUSYBSM_triggerValidation_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 import HLTriggerOffline.SUSYBSM.mcSel_RA1_cff as mcSel_RA1
00003 import HLTriggerOffline.SUSYBSM.mcSel_RA2_cff as mcSel_RA2
00004 import HLTriggerOffline.SUSYBSM.mcSel_RA3_cff as mcSel_RA3
00005 import HLTriggerOffline.SUSYBSM.mcSel_RA4_e_cff as mcSel_RA4_e
00006 import HLTriggerOffline.SUSYBSM.mcSel_RA4_m_cff as mcSel_RA4_m
00007 import HLTriggerOffline.SUSYBSM.mcSel_RA5RA6_1e1m_cff as mcSel_RA5RA6_1e1m
00008 import HLTriggerOffline.SUSYBSM.mcSel_RA5RA6_2e_cff as mcSel_RA5RA6_2e
00009 import HLTriggerOffline.SUSYBSM.mcSel_RA5RA6_2m_cff as mcSel_RA5RA6_2m
00010 import HLTriggerOffline.SUSYBSM.mcSel_RA7_1e2m_cff as mcSel_RA7_1e2m
00011 import HLTriggerOffline.SUSYBSM.mcSel_RA7_2e1m_cff as mcSel_RA7_2e1m
00012 import HLTriggerOffline.SUSYBSM.mcSel_RA7_3e_cff as mcSel_RA7_3e
00013 import HLTriggerOffline.SUSYBSM.mcSel_RA7_3m_cff as mcSel_RA7_3m
00014 
00015 HLTSusyExoVal = cms.EDAnalyzer("TriggerValidator",
00016     TurnOnParams = cms.PSet(
00017         hlt1MuonIsoList = cms.vstring('hltSingleMuIsoLevel1Seed', 
00018             'hltSingleMuIsoL1Filtered', 
00019             'hltSingleMuIsoL2PreFiltered', 
00020             'hltSingleMuIsoL2IsoFiltered', 
00021             'hltSingleMuIsoL3PreFiltered', 
00022             'hltSingleMuIsoL3IsoFiltered'),
00023         hltMuonTracks = cms.string('hltL3MuonCandidates'),
00024         hlt1MuonNonIsoList = cms.vstring('hltSingleMuNoIsoLevel1Seed', 
00025             'hltSingleMuNoIsoL1Filtered', 
00026             'hltSingleMuNoIsoL2PreFiltered', 
00027             'hltSingleMuNoIsoL3PreFiltered'),
00028         genMother = cms.string('b'), ## it can be W, b, WtoJ, All
00029 
00030         recoMuons = cms.string('muons'),
00031         mcParticles = cms.string('genParticles')
00032         ),
00033     statFileName = cms.untracked.string('MonElements_LM1_IDEAL_30x_v1_300pre7.stat'),
00034     dirname = cms.untracked.string('HLT/SusyExo'),
00035     L1Label = cms.InputTag("hltL1GtObjectMap"),
00036     HltLabel = cms.InputTag("TriggerResults","","HLT"),
00037     reco_parametersets = cms.VPSet(
00038         cms.PSet(
00039             name = cms.string('Reco1'),
00040             reco_ptJet2Min = cms.double(30.0),
00041             jets = cms.string('iterativeCone5CaloJets'),
00042             reco_ptElecMin = cms.double(10.0),
00043             reco_ptJet1Min = cms.double(80.0),
00044             photonProducer = cms.string('photons'),
00045             reco_metMin = cms.double(100.0),
00046             photons = cms.string(''),
00047             muons = cms.string('muons'),
00048             reco_ptMuonMin = cms.double(10.0),
00049             reco_ptPhotMin = cms.double(0.0),
00050             calomet = cms.string('met'),
00051             electrons = cms.string('gsfElectrons')
00052         )
00053     ),
00054                                
00055     # if mc_flag = false the McSelection folder will contain empty histograms
00056     mc_parametersets = cms.VPSet(
00057         cms.PSet(
00058             name = cms.string("RA1"),
00059             genMet = cms.string('genMetTrue'),
00060             genJets = cms.string('iterativeCone5GenJets'),
00061             mcparticles = cms.string('genParticles'),
00062             mc_nJet = mcSel_RA1.mc_nJet,
00063             mc_nPhot = mcSel_RA1.mc_nPhot,
00064             mc_nElec = mcSel_RA1.mc_nElec,
00065             mc_nMuon = mcSel_RA1.mc_nMuon,
00066             mc_ptElecMin = mcSel_RA1.mc_ptElecMin,
00067             mc_ptPhotMin = mcSel_RA1.mc_ptPhotMin,
00068             mc_ptJetMin = mcSel_RA1.mc_ptJetMin,
00069             mc_ptMuonMin = mcSel_RA1.mc_ptMuonMin,
00070             mc_metMin = mcSel_RA1.mc_metMin,
00071             mc_ptTauMin = mcSel_RA1.mc_ptTauMin,
00072             mc_ptJetForHtMin = mcSel_RA1.mc_ptJetForHtMin,
00073             mc_htMin = mcSel_RA1.mc_htMin,
00074             mc_nTau = mcSel_RA1.mc_nTau,
00075             mc_nMuonRule = mcSel_RA1.mc_nMuonRule,
00076             mc_nElecRule = mcSel_RA1.mc_nElecRule
00077         ),
00078         cms.PSet(
00079             name = cms.string("RA2"),
00080             genMet = cms.string('genMetTrue'),
00081             genJets = cms.string('iterativeCone5GenJets'),
00082             mcparticles = cms.string('genParticles'),
00083             mc_nJet = mcSel_RA2.mc_nJet,
00084             mc_nPhot = mcSel_RA2.mc_nPhot,
00085             mc_nElec = mcSel_RA2.mc_nElec,
00086             mc_nMuon = mcSel_RA2.mc_nMuon,
00087             mc_ptElecMin = mcSel_RA2.mc_ptElecMin,
00088             mc_ptPhotMin = mcSel_RA2.mc_ptPhotMin,
00089             mc_ptJetMin = mcSel_RA2.mc_ptJetMin,
00090             mc_ptMuonMin = mcSel_RA2.mc_ptMuonMin,
00091             mc_metMin = mcSel_RA2.mc_metMin,
00092             mc_ptTauMin = mcSel_RA2.mc_ptTauMin,
00093             mc_ptJetForHtMin = mcSel_RA2.mc_ptJetForHtMin,
00094             mc_htMin = mcSel_RA2.mc_htMin,
00095             mc_nTau = mcSel_RA2.mc_nTau,
00096             mc_nMuonRule = mcSel_RA2.mc_nMuonRule,
00097             mc_nElecRule = mcSel_RA2.mc_nElecRule
00098         ),
00099         cms.PSet(
00100             name = cms.string("RA3"),
00101             genMet = cms.string('genMetTrue'),
00102             genJets = cms.string('iterativeCone5GenJets'),
00103             mcparticles = cms.string('genParticles'),
00104             mc_nJet = mcSel_RA3.mc_nJet,
00105             mc_nPhot = mcSel_RA3.mc_nPhot,
00106             mc_nElec = mcSel_RA3.mc_nElec,
00107             mc_nMuon = mcSel_RA3.mc_nMuon,
00108             mc_ptElecMin = mcSel_RA3.mc_ptElecMin,
00109             mc_ptPhotMin = mcSel_RA3.mc_ptPhotMin,
00110             mc_ptJetMin = mcSel_RA3.mc_ptJetMin,
00111             mc_ptMuonMin = mcSel_RA3.mc_ptMuonMin,
00112             mc_metMin = mcSel_RA3.mc_metMin,
00113             mc_ptTauMin = mcSel_RA3.mc_ptTauMin,
00114             mc_ptJetForHtMin = mcSel_RA3.mc_ptJetForHtMin,
00115             mc_htMin = mcSel_RA3.mc_htMin,
00116             mc_nTau = mcSel_RA3.mc_nTau,
00117             mc_nMuonRule = mcSel_RA3.mc_nMuonRule,
00118             mc_nElecRule = mcSel_RA3.mc_nElecRule
00119         ),
00120         cms.PSet(
00121             name = cms.string("RA4_e"),
00122             genMet = cms.string('genMetTrue'),
00123             genJets = cms.string('iterativeCone5GenJets'),
00124             mcparticles = cms.string('genParticles'),
00125             mc_nJet = mcSel_RA4_e.mc_nJet,
00126             mc_nPhot = mcSel_RA4_e.mc_nPhot,
00127             mc_nElec = mcSel_RA4_e.mc_nElec,
00128             mc_nMuon = mcSel_RA4_e.mc_nMuon,
00129             mc_ptElecMin = mcSel_RA4_e.mc_ptElecMin,
00130             mc_ptPhotMin = mcSel_RA4_e.mc_ptPhotMin,
00131             mc_ptJetMin = mcSel_RA4_e.mc_ptJetMin,
00132             mc_ptMuonMin = mcSel_RA4_e.mc_ptMuonMin,
00133             mc_metMin = mcSel_RA4_e.mc_metMin,
00134             mc_ptTauMin = mcSel_RA4_e.mc_ptTauMin,
00135             mc_ptJetForHtMin = mcSel_RA4_e.mc_ptJetForHtMin,
00136             mc_htMin = mcSel_RA4_e.mc_htMin,
00137             mc_nTau = mcSel_RA4_e.mc_nTau,
00138             mc_nMuonRule = mcSel_RA4_e.mc_nMuonRule,
00139             mc_nElecRule = mcSel_RA4_e.mc_nElecRule
00140         ),
00141         cms.PSet(
00142             name = cms.string("RA4_m"),
00143             genMet = cms.string('genMetTrue'),
00144             genJets = cms.string('iterativeCone5GenJets'),
00145             mcparticles = cms.string('genParticles'),
00146             mc_nJet = mcSel_RA4_m.mc_nJet,
00147             mc_nPhot = mcSel_RA4_m.mc_nPhot,
00148             mc_nElec = mcSel_RA4_m.mc_nElec,
00149             mc_nMuon = mcSel_RA4_m.mc_nMuon,
00150             mc_ptElecMin = mcSel_RA4_m.mc_ptElecMin,
00151             mc_ptPhotMin = mcSel_RA4_m.mc_ptPhotMin,
00152             mc_ptJetMin = mcSel_RA4_m.mc_ptJetMin,
00153             mc_ptMuonMin = mcSel_RA4_m.mc_ptMuonMin,
00154             mc_metMin = mcSel_RA4_m.mc_metMin,
00155             mc_ptTauMin = mcSel_RA4_m.mc_ptTauMin,
00156             mc_ptJetForHtMin = mcSel_RA4_m.mc_ptJetForHtMin,
00157             mc_htMin = mcSel_RA4_m.mc_htMin,
00158             mc_nTau = mcSel_RA4_m.mc_nTau,
00159             mc_nMuonRule = mcSel_RA4_m.mc_nMuonRule,
00160             mc_nElecRule = mcSel_RA4_m.mc_nElecRule
00161         ),
00162         cms.PSet(
00163             name = cms.string("RA5RA6_1e1m"),
00164             genMet = cms.string('genMetTrue'),
00165             genJets = cms.string('iterativeCone5GenJets'),
00166             mcparticles = cms.string('genParticles'),
00167             mc_nJet = mcSel_RA5RA6_1e1m.mc_nJet,
00168             mc_nPhot = mcSel_RA5RA6_1e1m.mc_nPhot,
00169             mc_nElec = mcSel_RA5RA6_1e1m.mc_nElec,
00170             mc_nMuon = mcSel_RA5RA6_1e1m.mc_nMuon,
00171             mc_ptElecMin = mcSel_RA5RA6_1e1m.mc_ptElecMin,
00172             mc_ptPhotMin = mcSel_RA5RA6_1e1m.mc_ptPhotMin,
00173             mc_ptJetMin = mcSel_RA5RA6_1e1m.mc_ptJetMin,
00174             mc_ptMuonMin = mcSel_RA5RA6_1e1m.mc_ptMuonMin,
00175             mc_metMin = mcSel_RA5RA6_1e1m.mc_metMin,
00176             mc_ptTauMin = mcSel_RA5RA6_1e1m.mc_ptTauMin,
00177             mc_ptJetForHtMin = mcSel_RA5RA6_1e1m.mc_ptJetForHtMin,
00178             mc_htMin = mcSel_RA5RA6_1e1m.mc_htMin,
00179             mc_nTau = mcSel_RA5RA6_1e1m.mc_nTau,
00180             mc_nMuonRule = mcSel_RA5RA6_1e1m.mc_nMuonRule,
00181             mc_nElecRule = mcSel_RA5RA6_1e1m.mc_nElecRule
00182         ),
00183         cms.PSet(
00184             name = cms.string("RA5RA6_2e"),
00185             genMet = cms.string('genMetTrue'),
00186             genJets = cms.string('iterativeCone5GenJets'),
00187             mcparticles = cms.string('genParticles'),
00188             mc_nJet = mcSel_RA5RA6_2e.mc_nJet,
00189             mc_nPhot = mcSel_RA5RA6_2e.mc_nPhot,
00190             mc_nElec = mcSel_RA5RA6_2e.mc_nElec,
00191             mc_nMuon = mcSel_RA5RA6_2e.mc_nMuon,
00192             mc_ptElecMin = mcSel_RA5RA6_2e.mc_ptElecMin,
00193             mc_ptPhotMin = mcSel_RA5RA6_2e.mc_ptPhotMin,
00194             mc_ptJetMin = mcSel_RA5RA6_2e.mc_ptJetMin,
00195             mc_ptMuonMin = mcSel_RA5RA6_2e.mc_ptMuonMin,
00196             mc_metMin = mcSel_RA5RA6_2e.mc_metMin,
00197             mc_ptTauMin = mcSel_RA5RA6_2e.mc_ptTauMin,
00198             mc_ptJetForHtMin = mcSel_RA5RA6_2e.mc_ptJetForHtMin,
00199             mc_htMin = mcSel_RA5RA6_2e.mc_htMin,
00200             mc_nTau = mcSel_RA5RA6_2e.mc_nTau,
00201             mc_nMuonRule = mcSel_RA5RA6_2e.mc_nMuonRule,
00202             mc_nElecRule = mcSel_RA5RA6_2e.mc_nElecRule
00203         ),                       
00204         cms.PSet(
00205             name = cms.string("RA5RA6_2m"),
00206             genMet = cms.string('genMetTrue'),
00207             genJets = cms.string('iterativeCone5GenJets'),
00208             mcparticles = cms.string('genParticles'),
00209             mc_nJet = mcSel_RA5RA6_2m.mc_nJet,
00210             mc_nPhot = mcSel_RA5RA6_2m.mc_nPhot,
00211             mc_nElec = mcSel_RA5RA6_2m.mc_nElec,
00212             mc_nMuon = mcSel_RA5RA6_2m.mc_nMuon,
00213             mc_ptElecMin = mcSel_RA5RA6_2m.mc_ptElecMin,
00214             mc_ptPhotMin = mcSel_RA5RA6_2m.mc_ptPhotMin,
00215             mc_ptJetMin = mcSel_RA5RA6_2m.mc_ptJetMin,
00216             mc_ptMuonMin = mcSel_RA5RA6_2m.mc_ptMuonMin,
00217             mc_metMin = mcSel_RA5RA6_2m.mc_metMin,
00218             mc_ptTauMin = mcSel_RA5RA6_2m.mc_ptTauMin,
00219             mc_ptJetForHtMin = mcSel_RA5RA6_2m.mc_ptJetForHtMin,
00220             mc_htMin = mcSel_RA5RA6_2m.mc_htMin,
00221             mc_nTau = mcSel_RA5RA6_2m.mc_nTau,
00222             mc_nMuonRule = mcSel_RA5RA6_2m.mc_nMuonRule,
00223             mc_nElecRule = mcSel_RA5RA6_2m.mc_nElecRule
00224         ),
00225         cms.PSet(
00226             name = cms.string("RA7_1e2m"),
00227             genMet = cms.string('genMetTrue'),
00228             genJets = cms.string('iterativeCone5GenJets'),
00229             mcparticles = cms.string('genParticles'),
00230             mc_nJet = mcSel_RA7_1e2m.mc_nJet,
00231             mc_nPhot = mcSel_RA7_1e2m.mc_nPhot,
00232             mc_nElec = mcSel_RA7_1e2m.mc_nElec,
00233             mc_nMuon = mcSel_RA7_1e2m.mc_nMuon,
00234             mc_ptElecMin = mcSel_RA7_1e2m.mc_ptElecMin,
00235             mc_ptPhotMin = mcSel_RA7_1e2m.mc_ptPhotMin,
00236             mc_ptJetMin = mcSel_RA7_1e2m.mc_ptJetMin,
00237             mc_ptMuonMin = mcSel_RA7_1e2m.mc_ptMuonMin,
00238             mc_metMin = mcSel_RA7_1e2m.mc_metMin,
00239             mc_ptTauMin = mcSel_RA7_1e2m.mc_ptTauMin,
00240             mc_ptJetForHtMin = mcSel_RA7_1e2m.mc_ptJetForHtMin,
00241             mc_htMin = mcSel_RA7_1e2m.mc_htMin,
00242             mc_nTau = mcSel_RA7_1e2m.mc_nTau,
00243             mc_nMuonRule = mcSel_RA7_1e2m.mc_nMuonRule,
00244             mc_nElecRule = mcSel_RA7_1e2m.mc_nElecRule
00245         ),
00246         cms.PSet(
00247             name = cms.string("RA7_2e1m"),
00248             genMet = cms.string('genMetTrue'),
00249             genJets = cms.string('iterativeCone5GenJets'),
00250             mcparticles = cms.string('genParticles'),
00251             mc_nJet = mcSel_RA7_2e1m.mc_nJet,
00252             mc_nPhot = mcSel_RA7_2e1m.mc_nPhot,
00253             mc_nElec = mcSel_RA7_2e1m.mc_nElec,
00254             mc_nMuon = mcSel_RA7_2e1m.mc_nMuon,
00255             mc_ptElecMin = mcSel_RA7_2e1m.mc_ptElecMin,
00256             mc_ptPhotMin = mcSel_RA7_2e1m.mc_ptPhotMin,
00257             mc_ptJetMin = mcSel_RA7_2e1m.mc_ptJetMin,
00258             mc_ptMuonMin = mcSel_RA7_2e1m.mc_ptMuonMin,
00259             mc_metMin = mcSel_RA7_2e1m.mc_metMin,
00260             mc_ptTauMin = mcSel_RA7_2e1m.mc_ptTauMin,
00261             mc_ptJetForHtMin = mcSel_RA7_2e1m.mc_ptJetForHtMin,
00262             mc_htMin = mcSel_RA7_2e1m.mc_htMin,
00263             mc_nTau = mcSel_RA7_2e1m.mc_nTau,
00264             mc_nMuonRule = mcSel_RA7_2e1m.mc_nMuonRule,
00265             mc_nElecRule = mcSel_RA7_2e1m.mc_nElecRule
00266         ),
00267         cms.PSet(
00268             name = cms.string("RA7_3e"),
00269             genMet = cms.string('genMetTrue'),
00270             genJets = cms.string('iterativeCone5GenJets'),
00271             mcparticles = cms.string('genParticles'),
00272             mc_nJet = mcSel_RA7_3e.mc_nJet,
00273             mc_nPhot = mcSel_RA7_3e.mc_nPhot,
00274             mc_nElec = mcSel_RA7_3e.mc_nElec,
00275             mc_nMuon = mcSel_RA7_3e.mc_nMuon,
00276             mc_ptElecMin = mcSel_RA7_3e.mc_ptElecMin,
00277             mc_ptPhotMin = mcSel_RA7_3e.mc_ptPhotMin,
00278             mc_ptJetMin = mcSel_RA7_3e.mc_ptJetMin,
00279             mc_ptMuonMin = mcSel_RA7_3e.mc_ptMuonMin,
00280             mc_metMin = mcSel_RA7_3e.mc_metMin,
00281             mc_ptTauMin = mcSel_RA7_3e.mc_ptTauMin,
00282             mc_ptJetForHtMin = mcSel_RA7_3e.mc_ptJetForHtMin,
00283             mc_htMin = mcSel_RA7_3e.mc_htMin,
00284             mc_nTau = mcSel_RA7_3e.mc_nTau,
00285             mc_nMuonRule = mcSel_RA7_3e.mc_nMuonRule,
00286             mc_nElecRule = mcSel_RA7_3e.mc_nElecRule
00287         ),
00288         cms.PSet(
00289             name = cms.string("RA7_3m"),
00290             genMet = cms.string('genMetTrue'),
00291             genJets = cms.string('iterativeCone5GenJets'),
00292             mcparticles = cms.string('genParticles'),
00293             mc_nJet = mcSel_RA7_3m.mc_nJet,
00294             mc_nPhot = mcSel_RA7_3m.mc_nPhot,
00295             mc_nElec = mcSel_RA7_3m.mc_nElec,
00296             mc_nMuon = mcSel_RA7_3m.mc_nMuon,
00297             mc_ptElecMin = mcSel_RA7_3m.mc_ptElecMin,
00298             mc_ptPhotMin = mcSel_RA7_3m.mc_ptPhotMin,
00299             mc_ptJetMin = mcSel_RA7_3m.mc_ptJetMin,
00300             mc_ptMuonMin = mcSel_RA7_3m.mc_ptMuonMin,
00301             mc_metMin = mcSel_RA7_3m.mc_metMin,
00302             mc_ptTauMin = mcSel_RA7_3m.mc_ptTauMin,
00303             mc_ptJetForHtMin = mcSel_RA7_3m.mc_ptJetForHtMin,
00304             mc_htMin = mcSel_RA7_3m.mc_htMin,
00305             mc_nTau = mcSel_RA7_3m.mc_nTau,
00306             mc_nMuonRule = mcSel_RA7_3m.mc_nMuonRule,
00307             mc_nElecRule = mcSel_RA7_3m.mc_nElecRule
00308         )
00309     ),
00310 
00311     mc_flag = cms.untracked.bool(True), ## put mc_flag = false if you don't want to use the mc information.
00312     l1_flag = cms.untracked.bool(False), ## put l1_flag = false if you don't want the plots for the L1 objects. 
00313                                          ## Put false for usage in the DQM framework (reduce the number of bins).
00314     triggerTag = cms.InputTag("hltTriggerSummaryAOD"),
00315     hltConfigName = cms.string("HLT"),
00316     triggerName = cms.string("@"),
00317     muonTag = cms.InputTag('muons'),
00318     histoFileName = cms.untracked.string('MonElements_LM1_IDEAL_30x_v1_300pre7.root'),
00319     PlotMakerL1Input = cms.PSet(
00320         l1extramc = cms.string('hltL1extraParticles')
00321     ),
00322     PlotMakerRecoInput = cms.PSet(
00323         def_electronPtMin = cms.double(10.0),
00324         def_muonPtMin = cms.double(7.0),
00325         def_photonPtMin = cms.double(30.0),
00326         calomet = cms.string('met'),
00327         electrons = cms.string('gsfElectrons'),
00328         jets = cms.string('iterativeCone5CaloJets'),
00329         muons = cms.string('muons'),
00330         def_jetPtMin = cms.double(30.0),
00331         photons = cms.string(''),
00332         photonProducer = cms.string('photons'),
00333         BinFactor = cms.int32(1) #put a number >1 to have a larger number of bins for eta and phi distributions. Put 1 for DQM.
00334     )
00335 )