#include <L1TTauOffline.h>
Protected Member Functions | |
void | analyze (edm::Event const &e, edm::EventSetup const &eSetup) override |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | dqmBeginRun (const edm::Run &run, const edm::EventSetup &iSetup) override |
void | endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup) override |
void | endRun (edm::Run const &run, edm::EventSetup const &eSetup) override |
const reco::Vertex | getPrimaryVertex (edm::Handle< reco::VertexCollection > const &vertex, edm::Handle< reco::BeamSpot > const &beamSpot) |
void | getProbeTaus (const edm::Event &e, edm::Handle< reco::PFTauCollection > const &taus, edm::Handle< reco::MuonCollection > const &muons, const reco::Vertex &vertex) |
void | getTauL1tPairs (edm::Handle< l1t::TauBxCollection > const &l1tCands) |
void | getTightMuons (edm::Handle< reco::MuonCollection > const &muons, edm::Handle< reco::PFMETCollection > const &mets, const reco::Vertex &vertex, edm::Handle< trigger::TriggerEvent > const &trigEvent) |
bool | matchHlt (edm::Handle< trigger::TriggerEvent > const &triggerEvent, const reco::Muon *muon) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Private Member Functions | |
void | bookTauHistos (DQMStore::IBooker &) |
double | calcDeltaPhi (double phi1, double phi2) |
double | Distance (const reco::Candidate &c1, const reco::Candidate &c2) |
double | DistancePhi (const reco::Candidate &c1, const reco::Candidate &c2) |
Definition at line 80 of file L1TTauOffline.h.
L1TTauOffline::L1TTauOffline | ( | const edm::ParameterSet & | ps | ) |
Definition at line 48 of file L1TTauOffline.cc.
|
override |
Definition at line 74 of file L1TTauOffline.cc.
|
overrideprotectedvirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 134 of file L1TTauOffline.cc.
References ecalDrivenElectronSeedsParameters_cff::beamSpot, BXVector< T >::begin(), BsInputTag_, counter, BXVector< T >::end(), PVValHelper::eta, MonitorElement::Fill(), edm::EventSetup::get(), edm::Event::getByToken(), getPrimaryVertex(), getProbeTaus(), getTauL1tPairs(), getTightMuons(), h_efficiencyIsoTauET_EB_EE_pass_, h_efficiencyIsoTauET_EB_EE_total_, h_efficiencyIsoTauET_EB_pass_, h_efficiencyIsoTauET_EB_total_, h_efficiencyIsoTauET_EE_pass_, h_efficiencyIsoTauET_EE_total_, h_efficiencyNonIsoTauET_EB_EE_pass_, h_efficiencyNonIsoTauET_EB_EE_total_, h_efficiencyNonIsoTauET_EB_pass_, h_efficiencyNonIsoTauET_EB_total_, h_efficiencyNonIsoTauET_EE_pass_, h_efficiencyNonIsoTauET_EE_total_, h_L1TauEtavsTauEta_, h_L1TauETvsTauET_EB_, h_L1TauETvsTauET_EB_EE_, h_L1TauETvsTauET_EE_, h_L1TauPhivsTauPhi_EB_, h_L1TauPhivsTauPhi_EB_EE_, h_L1TauPhivsTauPhi_EE_, h_resolutionTauET_EB_, h_resolutionTauET_EB_EE_, h_resolutionTauET_EE_, h_resolutionTauEta_, h_resolutionTauPhi_EB_, h_resolutionTauPhi_EB_EE_, h_resolutionTauPhi_EE_, edm::HandleBase::isValid(), m_BField, m_MaxHltTauDR, m_MaxL1tTauDR, m_MaxTauEta, m_TauL1tPairs, MetInputTag_, TtSemiLepSignalSelMVAComputer_cfi::mets, MuonInputTag_, extraflags_cff::muons, phi, impactParameterTagInfos_cfi::primaryVertex, EnergyCorrector::pt, BXVector< T >::size(), stage2CaloLayer2TauToken_, AlCaHLTBitMon_QueryRunRegistry::string, metsig::tau, tauEfficiencyThresholds_, nano_cff::taus, theTauCollection_, electronIdCutBased_cfi::threshold, triggerEvent_, triggerResults_, and VtxInputTag_.
|
overrideprotectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 126 of file L1TTauOffline.cc.
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 94 of file L1TTauOffline.cc.
References bookTauHistos(), runEdmFileComparison::found, createfilelist::int, m_hltConfig, m_trigIndices, HLTConfigProvider::size(), AlCaHLTBitMon_QueryRunRegistry::string, HLTConfigProvider::triggerName(), and triggerPath_.
|
private |
Definition at line 314 of file L1TTauOffline.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::cd(), efficiencyFolder_, h_efficiencyIsoTauET_EB_EE_pass_, h_efficiencyIsoTauET_EB_EE_total_, h_efficiencyIsoTauET_EB_pass_, h_efficiencyIsoTauET_EB_total_, h_efficiencyIsoTauET_EE_pass_, h_efficiencyIsoTauET_EE_total_, h_efficiencyNonIsoTauET_EB_EE_pass_, h_efficiencyNonIsoTauET_EB_EE_total_, h_efficiencyNonIsoTauET_EB_pass_, h_efficiencyNonIsoTauET_EB_total_, h_efficiencyNonIsoTauET_EE_pass_, h_efficiencyNonIsoTauET_EE_total_, h_L1TauEtavsTauEta_, h_L1TauETvsTauET_EB_, h_L1TauETvsTauET_EB_EE_, h_L1TauETvsTauET_EE_, h_L1TauPhivsTauPhi_EB_, h_L1TauPhivsTauPhi_EB_EE_, h_L1TauPhivsTauPhi_EE_, h_nVertex_, h_resolutionTauET_EB_, h_resolutionTauET_EB_EE_, h_resolutionTauET_EE_, h_resolutionTauEta_, h_resolutionTauPhi_EB_, h_resolutionTauPhi_EB_EE_, h_resolutionTauPhi_EE_, h_tagAndProbeMass_, histFolder_, DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, tauEfficiencyBins_, tauEfficiencyThresholds_, and electronIdCutBased_cfi::threshold.
Referenced by bookHistograms().
|
private |
|
private |
|
private |
|
overrideprotected |
Definition at line 82 of file L1TTauOffline.cc.
References HLTConfigProvider::init(), m_hltConfig, and trigProcess_.
|
overrideprotectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 298 of file L1TTauOffline.cc.
|
overrideprotectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 306 of file L1TTauOffline.cc.
|
protected |
Definition at line 426 of file L1TTauOffline.cc.
References reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), edm::HandleBase::isValid(), reco::BeamSpot::position(), reco::Vertex::position(), impactParameterTagInfos_cfi::primaryVertex, and reco::BeamSpot::sigmaZ().
Referenced by analyze().
|
protected |
Definition at line 551 of file L1TTauOffline.cc.
References AntiEleInputTag_, AntiMuInputTag_, comb3TInputTag_, DecayModeFindingInputTag_, DEFINE_FWK_MODULE, PVValHelper::eta, edm::Event::getByToken(), edm::HandleBase::isValid(), m_ProbeTaus, m_TightMuons, phi, and EnergyCorrector::pt.
Referenced by analyze().
|
protected |
Definition at line 492 of file L1TTauOffline.cc.
References BXVector< T >::begin(), TauL1TPair::dR(), BXVector< T >::end(), TauL1TPair::l1tPt(), m_MaxL1tTauDR, m_ProbeTaus, m_TauL1tPairs, BXVector< T >::size(), and metsig::tau.
Referenced by analyze().
|
protected |
Definition at line 522 of file L1TTauOffline.cc.
References muon::isLooseMuon(), m_TightMuons, matchHlt(), SiStripPI::max, TtSemiLepEvtBuilder_cfi::mt, funct::pow(), reco::LeafCandidate::pt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), and mathSSE::sqrt().
Referenced by analyze().
|
protected |
Definition at line 460 of file L1TTauOffline.cc.
References deltaR(), trigger::TriggerEvent::filterIds(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::getObjects(), m_hltConfig, m_MaxHltTauDR, m_trigIndices, HLTConfigProvider::moduleLabels(), HLTConfigProvider::size(), TriggerAnalyzer::trigObjs, and trigProcess_.
Referenced by getTightMuons().
|
private |
Definition at line 124 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 123 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 130 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 126 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 125 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 136 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 189 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 199 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 187 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 197 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 188 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 198 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 193 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 203 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 191 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 201 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 192 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 202 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 173 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 165 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 167 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 166 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 169 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 171 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 170 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 161 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 176 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 178 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 177 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 184 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 180 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 182 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 181 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 162 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 135 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 117 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 115 of file L1TTauOffline.h.
Referenced by bookHistograms(), dqmBeginRun(), and matchHlt().
Definition at line 149 of file L1TTauOffline.h.
|
private |
Definition at line 152 of file L1TTauOffline.h.
|
private |
Definition at line 147 of file L1TTauOffline.h.
|
private |
Definition at line 156 of file L1TTauOffline.h.
Referenced by analyze(), and matchHlt().
|
private |
Definition at line 155 of file L1TTauOffline.h.
Referenced by analyze(), and getTauL1tPairs().
|
private |
Definition at line 154 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 142 of file L1TTauOffline.h.
Referenced by getProbeTaus(), and getTauL1tPairs().
|
private |
Definition at line 118 of file L1TTauOffline.h.
|
private |
Definition at line 119 of file L1TTauOffline.h.
|
private |
Definition at line 148 of file L1TTauOffline.h.
|
private |
Definition at line 146 of file L1TTauOffline.h.
|
private |
Definition at line 143 of file L1TTauOffline.h.
Referenced by analyze(), and getTauL1tPairs().
|
private |
Definition at line 141 of file L1TTauOffline.h.
Referenced by getProbeTaus(), and getTightMuons().
|
private |
Definition at line 158 of file L1TTauOffline.h.
Referenced by bookHistograms(), and matchHlt().
|
private |
Definition at line 128 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 127 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 113 of file L1TTauOffline.h.
|
private |
Definition at line 137 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 139 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 138 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 122 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 131 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 134 of file L1TTauOffline.h.
Referenced by bookHistograms().
|
private |
Definition at line 133 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 132 of file L1TTauOffline.h.
Referenced by dqmBeginRun(), and matchHlt().
|
private |
Definition at line 129 of file L1TTauOffline.h.
Referenced by analyze().