00001 import FWCore.ParameterSet.Config as cms
00002
00003 hltTauValidationProcess = "HLT"
00004
00005
00006 l1setup =cms.PSet(
00007 DQMFolder = cms.string('HLT/TauRelVal/MC_Default/L1'),
00008 L1Taus = cms.InputTag("hltL1extraParticles","Tau"),
00009 L1Jets = cms.InputTag("hltL1extraParticles","Central"),
00010 L1Electrons = cms.InputTag("hltL1extraParticles","Isolated"),
00011 L1Muons = cms.InputTag("hltL1extraParticles")
00012 )
00013
00014
00015 l2setup=cms.PSet(
00016 DQMFolder = cms.string('HLT/TauRelVal/MC_Default/L2'),
00017 L2InfoAssociationInput = cms.InputTag("hltL2TauNarrowConeIsolationProducer"),
00018 L2IsolatedJets = cms.InputTag("hltL2TauRelaxingIsolationSelector","Isolated"),
00019 L2RegionalJets = cms.VInputTag(
00020 cms.InputTag("hltIconeTau1Regional"),
00021 cms.InputTag("hltIconeTau2Regional"),
00022 cms.InputTag("hltIconeTau3Regional"),
00023 cms.InputTag("hltIconeTau4Regional"),
00024 cms.InputTag("hltIconeCentral1Regional"),
00025 cms.InputTag("hltIconeCentral2Regional"),
00026 cms.InputTag("hltIconeCentral3Regional"),
00027 cms.InputTag("hltIconeCentral4Regional"))
00028
00029 )
00030
00031
00032 doubleTauSetup=cms.PSet(
00033 triggerEventObject = cms.untracked.InputTag("hltTriggerSummaryRAW","",hltTauValidationProcess),
00034 DQMFolder = cms.untracked.string('HLT/TauRelVal/MC_Default/DoubleTau'),
00035 Filter = cms.untracked.VInputTag(
00036 cms.InputTag("hltL1sDoubleLooseIsoTau15","",hltTauValidationProcess),
00037 cms.InputTag("hltFilterL2EtCutDoubleLooseIsoTau15","",hltTauValidationProcess),
00038 cms.InputTag("hltFilterL2EcalIsolationDoubleLooseIsoTau15","",hltTauValidationProcess)
00039 ),
00040 MatchDeltaR = cms.untracked.vdouble(0.5,0.3,0.3,0.3),
00041 NTriggeredTaus = cms.untracked.vuint32(2,2,2,2,2),
00042 NTriggeredLeptons = cms.untracked.vuint32(0,0,0,0,0),
00043 TauType = cms.untracked.vint32(-86,84,84,84),
00044 LeptonType = cms.untracked.vint32(0,0,0,0)
00045 )
00046
00047
00048 aodSetup=cms.PSet(
00049 triggerEventObject = cms.untracked.InputTag("hltTriggerSummaryAOD","",hltTauValidationProcess),
00050 DQMFolder = cms.untracked.string('HLT/TauRelVal/MC_Default/Summary'),
00051 Filter = cms.untracked.VInputTag(
00052 cms.InputTag("hltFilterL2EcalIsolationDoubleLooseIsoTau15","",hltTauValidationProcess),
00053 cms.InputTag("hltFilterL2EcalIsolationSingleIsoTau20","",hltTauValidationProcess)
00054 ),
00055 PathName = cms.untracked.vstring(
00056 'DoubleLooseIsoTau',
00057 'SingleLooseIsoTau'
00058 ),
00059 NTriggeredTaus = cms.untracked.vuint32(2,1),
00060 NTriggeredLeptons = cms.untracked.vuint32(0,0),
00061 TauType = cms.untracked.vint32(0,0),
00062 LeptonType = cms.untracked.vint32(0,0)
00063 )
00064
00065 singleTauSetup = cms.PSet(
00066 triggerEventObject = cms.untracked.InputTag("hltTriggerSummaryRAW","",hltTauValidationProcess),
00067 DQMFolder = cms.untracked.string('HLT/TauRelVal/MC_Default/SingleTau'),
00068 Filter = cms.untracked.VInputTag(
00069 cms.InputTag("hltL1sSingleLooseIsoTau20","",hltTauValidationProcess),
00070 cms.InputTag("hltFilterL2EtCutSingleLooseIsoTau20","",hltTauValidationProcess),
00071 cms.InputTag("hltFilterL2EcalIsolationSingleLooseIsoTau20","",hltTauValidationProcess)
00072 ),
00073 MatchDeltaR = cms.untracked.vdouble(0.5,0.3,0.3,0.3,0,0.3),
00074 NTriggeredTaus = cms.untracked.vuint32(1,1,1,1,1,1),
00075 NTriggeredLeptons = cms.untracked.vuint32(0,0,0,0,0,0),
00076 TauType = cms.untracked.vint32(-86,84,84,84,84),
00077 LeptonType = cms.untracked.vint32(0,0,0,0,0)
00078 )
00079
00080
00081
00082 hltTauValDefMonitor = cms.EDAnalyzer("HLTTauDQMOfflineSource",
00083 MonitorSetup = cms.VPSet(
00084 doubleTauSetup,
00085 singleTauSetup,
00086 aodSetup,
00087 l1setup,
00088 l2setup
00089 ),
00090 ConfigType = cms.vstring(
00091 "Path",
00092 "Path",
00093 "LitePath",
00094 "L1",
00095 "Calo",
00096 ),
00097
00098 doMatching = cms.bool(True),
00099 refObjects = cms.untracked.VInputTag(
00100 cms.InputTag("TauMCProducer","HadronicTauOneAndThreeProng"),
00101 cms.InputTag("TauMCProducer","LeptonicTauElectrons"),
00102 cms.InputTag("TauMCProducer","LeptonicTauMuons")
00103
00104 )
00105 )
00106
00107
00108 hltTauValDefault = cms.Sequence(hltTauValDefMonitor)
00109