#include <L1TTauOffline.h>
Public Types | |
enum | PlotConfig { nVertex, ETvsET, PHIvsPHI } |
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 | endJob () 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) |
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 83 of file L1TTauOffline.h.
L1TTauOffline::L1TTauOffline | ( | const edm::ParameterSet & | ps | ) |
Definition at line 47 of file L1TTauOffline.cc.
|
override |
Definition at line 116 of file L1TTauOffline.cc.
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 169 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 |
Implements DQMEDAnalyzer.
Definition at line 136 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 337 of file L1TTauOffline.cc.
References dqmoffline::l1t::HistDefinition::binsX, dqmoffline::l1t::HistDefinition::binsY, 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_, histDefinitions_, histFolder_, dqmoffline::l1t::HistDefinition::name, dqmoffline::l1t::HistDefinition::nbinsX, dqmoffline::l1t::HistDefinition::nbinsY, DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, tauEfficiencyBins_, tauEfficiencyThresholds_, electronIdCutBased_cfi::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 124 of file L1TTauOffline.cc.
References HLTConfigProvider::init(), m_hltConfig, and trigProcess_.
|
overrideprotectedvirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 639 of file L1TTauOffline.cc.
References normalise2DHistogramsToBinArea().
|
overrideprotected |
Definition at line 329 of file L1TTauOffline.cc.
|
protected |
Definition at line 451 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 583 of file L1TTauOffline.cc.
References AntiEleInputTag_, AntiMuInputTag_, comb3TInputTag_, DecayModeFindingInputTag_, PVValHelper::eta, edm::Event::getByToken(), edm::HandleBase::isValid(), m_ProbeTaus, m_TightMuons, phi, and EnergyCorrector::pt.
Referenced by analyze().
|
protected |
Definition at line 513 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 538 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 482 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 643 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 131 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 130 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 137 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 133 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 132 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 143 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 196 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 206 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 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 200 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 210 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 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 180 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 174 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 176 of file L1TTauOffline.h.
Referenced by analyze(), bookTauHistos(), and normalise2DHistogramsToBinArea().
|
private |
Definition at line 178 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 168 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 183 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 185 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 191 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 189 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 169 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 147 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 142 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 124 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 122 of file L1TTauOffline.h.
Referenced by bookHistograms(), dqmBeginRun(), and matchHlt().
Definition at line 156 of file L1TTauOffline.h.
|
private |
Definition at line 159 of file L1TTauOffline.h.
|
private |
Definition at line 154 of file L1TTauOffline.h.
|
private |
Definition at line 163 of file L1TTauOffline.h.
Referenced by analyze(), and matchHlt().
|
private |
Definition at line 162 of file L1TTauOffline.h.
Referenced by analyze(), and getTauL1tPairs().
|
private |
Definition at line 161 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 150 of file L1TTauOffline.h.
Referenced by getProbeTaus(), and getTauL1tPairs().
|
private |
Definition at line 125 of file L1TTauOffline.h.
|
private |
Definition at line 126 of file L1TTauOffline.h.
|
private |
Definition at line 155 of file L1TTauOffline.h.
|
private |
Definition at line 153 of file L1TTauOffline.h.
|
private |
Definition at line 151 of file L1TTauOffline.h.
Referenced by analyze(), and getTauL1tPairs().
|
private |
Definition at line 149 of file L1TTauOffline.h.
Referenced by getProbeTaus(), and getTightMuons().
|
private |
Definition at line 165 of file L1TTauOffline.h.
Referenced by bookHistograms(), and matchHlt().
|
private |
Definition at line 135 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 134 of file L1TTauOffline.h.
Referenced by analyze().
|
static |
Definition at line 85 of file L1TTauOffline.h.
Referenced by TauL1TPair::dR().
|
private |
Definition at line 120 of file L1TTauOffline.h.
|
private |
Definition at line 144 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 146 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 145 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 129 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 138 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 141 of file L1TTauOffline.h.
Referenced by bookHistograms().
|
private |
Definition at line 140 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 139 of file L1TTauOffline.h.
Referenced by dqmBeginRun(), and matchHlt().
|
private |
Definition at line 136 of file L1TTauOffline.h.
Referenced by analyze().