#include <L1TTauOffline.h>
Public Types | |
enum | PlotConfig { nVertex, ETvsET, PHIvsPHI } |
Public Types inherited from DQMEDAnalyzer | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Attributes | |
static const std::map< std::string, unsigned int > | PlotConfigNames |
Protected Member Functions | |
void | analyze (edm::Event const &e, 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 | dqmEndRun (edm::Run const &run, edm::EventSetup const &eSetup) override |
void | endJob () 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::ProducerBase | |
ProducesCollector | producesCollector () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
void | normalise2DHistogramsToBinArea () |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 77 of file L1TTauOffline.h.
Enumerator | |
---|---|
nVertex | |
ETvsET | |
PHIvsPHI |
Definition at line 82 of file L1TTauOffline.h.
L1TTauOffline::L1TTauOffline | ( | const edm::ParameterSet & | ps | ) |
Definition at line 45 of file L1TTauOffline.cc.
|
override |
Definition at line 113 of file L1TTauOffline.cc.
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 164 of file L1TTauOffline.cc.
References pwdgSkimBPark_cfi::beamSpot, BXVector< T >::begin(), BsInputTag_, counter, BXVector< T >::end(), PVValHelper::eta, dqm::impl::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_, singleTopDQM_cfi::mets, MuonInputTag_, PDWG_BPHSkim_cff::muons, phi, BeamMonitor_cff::primaryVertex, DiDispStaMuonMonitor_cfi::pt, BXVector< T >::size(), stage2CaloLayer2TauToken_, AlCaHLTBitMon_QueryRunRegistry::string, metsig::tau, tauEfficiencyThresholds_, Tau3MuMonitor_cff::taus, theTauCollection_, MessageLogger_cff::threshold, B2GTnPMonitor_cfi::trigEvent, triggerEvent_, triggerResults_, bphysicsOniaDQM_cfi::vertex, and VtxInputTag_.
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 132 of file L1TTauOffline.cc.
References bookTauHistos(), newFWLiteAna::found, createfilelist::int, m_hltConfig, m_trigIndices, HLTConfigProvider::size(), AlCaHLTBitMon_QueryRunRegistry::string, HLTConfigProvider::triggerName(), and triggerPath_.
|
private |
Definition at line 330 of file L1TTauOffline.cc.
References dqmoffline::l1t::HistDefinition::binsX, dqmoffline::l1t::HistDefinition::binsY, dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), dqm::dqmstoreimpl::DQMStore::IBooker::cd(), efficiencyFolder_, L1TEGammaOffline_cfi::ETvsET, 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_, histDefinitions_, histFolder_, dqmoffline::l1t::HistDefinition::name, seedmultiplicitymonitor_newtracking_cfi::nBins, dqmoffline::l1t::HistDefinition::nbinsX, dqmoffline::l1t::HistDefinition::nbinsY, L1TEGammaOffline_cfi::nVertex, L1TEGammaOffline_cfi::PHIvsPHI, dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, tauEfficiencyBins_, tauEfficiencyThresholds_, MessageLogger_cff::threshold, dqmoffline::l1t::HistDefinition::title, dqmoffline::l1t::HistDefinition::xmax, dqmoffline::l1t::HistDefinition::xmin, dqmoffline::l1t::HistDefinition::ymax, and dqmoffline::l1t::HistDefinition::ymin.
Referenced by bookHistograms().
|
private |
|
private |
|
private |
|
overrideprotected |
Definition at line 120 of file L1TTauOffline.cc.
References HLTConfigProvider::init(), m_hltConfig, and trigProcess_.
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 323 of file L1TTauOffline.cc.
|
overrideprotectedvirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 677 of file L1TTauOffline.cc.
References normalise2DHistogramsToBinArea().
|
protected |
Definition at line 497 of file L1TTauOffline.cc.
References reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), edm::HandleBase::isValid(), reco::BeamSpot::position(), reco::Vertex::position(), BeamMonitor_cff::primaryVertex, and reco::BeamSpot::sigmaZ().
Referenced by analyze().
|
protected |
Definition at line 624 of file L1TTauOffline.cc.
References AntiEleInputTag_, AntiMuInputTag_, comb3TInputTag_, DecayModeFindingInputTag_, HCALHighEnergyHPDFilter_cfi::energy, PVValHelper::eta, edm::Event::getByToken(), edm::HandleBase::isValid(), m_ProbeTaus, m_TightMuons, phi, and DiDispStaMuonMonitor_cfi::pt.
Referenced by analyze().
|
protected |
Definition at line 556 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 580 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 527 of file L1TTauOffline.cc.
References PbPb_ZMuSkimMuonDPG_cff::deltaR, trigger::TriggerEvent::filterIds(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::getObjects(), HLT_2018_cff::InputTag, m_hltConfig, m_MaxHltTauDR, m_trigIndices, HLTConfigProvider::moduleLabels(), HLTConfigProvider::size(), TriggerAnalyzer::trigObjs, and trigProcess_.
Referenced by getTightMuons().
|
private |
Definition at line 679 of file L1TTauOffline.cc.
References DEFINE_FWK_MODULE, h, h_L1TauEtavsTauEta_, h_L1TauETvsTauET_EB_, h_L1TauETvsTauET_EB_EE_, h_L1TauETvsTauET_EE_, h_L1TauPhivsTauPhi_EB_, h_L1TauPhivsTauPhi_EB_EE_, h_L1TauPhivsTauPhi_EE_, and LaserDQM_cfi::mon.
Referenced by endJob().
|
private |
Definition at line 130 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 129 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 136 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 132 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 131 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 142 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 195 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 205 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 194 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 204 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 209 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 207 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 208 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 179 of file L1TTauOffline.h.
Referenced by analyze(), bookTauHistos(), and normalise2DHistogramsToBinArea().
|
private |
Definition at line 171 of file L1TTauOffline.h.
Referenced by analyze(), bookTauHistos(), and normalise2DHistogramsToBinArea().
|
private |
Definition at line 173 of file L1TTauOffline.h.
Referenced by analyze(), bookTauHistos(), and normalise2DHistogramsToBinArea().
|
private |
Definition at line 172 of file L1TTauOffline.h.
Referenced by analyze(), bookTauHistos(), and normalise2DHistogramsToBinArea().
|
private |
Definition at line 175 of file L1TTauOffline.h.
Referenced by analyze(), bookTauHistos(), and normalise2DHistogramsToBinArea().
|
private |
Definition at line 177 of file L1TTauOffline.h.
Referenced by analyze(), bookTauHistos(), and normalise2DHistogramsToBinArea().
|
private |
Definition at line 176 of file L1TTauOffline.h.
Referenced by analyze(), bookTauHistos(), and normalise2DHistogramsToBinArea().
|
private |
Definition at line 167 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 182 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 183 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 190 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 186 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 187 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 168 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 146 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 141 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 123 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 121 of file L1TTauOffline.h.
Referenced by bookHistograms(), dqmBeginRun(), and matchHlt().
Definition at line 155 of file L1TTauOffline.h.
|
private |
Definition at line 158 of file L1TTauOffline.h.
|
private |
Definition at line 153 of file L1TTauOffline.h.
|
private |
Definition at line 162 of file L1TTauOffline.h.
Referenced by analyze(), and matchHlt().
|
private |
Definition at line 161 of file L1TTauOffline.h.
Referenced by analyze(), and getTauL1tPairs().
|
private |
Definition at line 160 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 149 of file L1TTauOffline.h.
Referenced by getProbeTaus(), and getTauL1tPairs().
|
private |
Definition at line 124 of file L1TTauOffline.h.
|
private |
Definition at line 125 of file L1TTauOffline.h.
|
private |
Definition at line 154 of file L1TTauOffline.h.
|
private |
Definition at line 152 of file L1TTauOffline.h.
|
private |
Definition at line 150 of file L1TTauOffline.h.
Referenced by analyze(), and getTauL1tPairs().
|
private |
Definition at line 148 of file L1TTauOffline.h.
Referenced by getProbeTaus(), and getTightMuons().
|
private |
Definition at line 164 of file L1TTauOffline.h.
Referenced by bookHistograms(), and matchHlt().
|
private |
Definition at line 134 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 133 of file L1TTauOffline.h.
Referenced by analyze().
|
static |
Definition at line 84 of file L1TTauOffline.h.
Referenced by TauL1TPair::dR().
|
private |
Definition at line 119 of file L1TTauOffline.h.
|
private |
Definition at line 143 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 145 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 144 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 128 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 137 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 140 of file L1TTauOffline.h.
Referenced by bookHistograms().
|
private |
Definition at line 139 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 138 of file L1TTauOffline.h.
Referenced by dqmBeginRun(), and matchHlt().
|
private |
Definition at line 135 of file L1TTauOffline.h.
Referenced by analyze().