#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 | 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) |
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 82 of file L1TTauOffline.h.
Enumerator | |
---|---|
nVertex | |
ETvsET | |
PHIvsPHI |
Definition at line 89 of file L1TTauOffline.h.
L1TTauOffline::L1TTauOffline | ( | const edm::ParameterSet & | ps | ) |
Definition at line 53 of file L1TTauOffline.cc.
|
override |
Definition at line 80 of file L1TTauOffline.cc.
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 140 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_, nano_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_.
|
overrideprotected |
Definition at line 132 of file L1TTauOffline.cc.
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 100 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 320 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 88 of file L1TTauOffline.cc.
References HLTConfigProvider::init(), m_hltConfig, and trigProcess_.
|
overrideprotected |
Definition at line 304 of file L1TTauOffline.cc.
|
overrideprotected |
Definition at line 312 of file L1TTauOffline.cc.
|
protected |
Definition at line 440 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 565 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 506 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 536 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 474 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 134 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 133 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 140 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 136 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 135 of file L1TTauOffline.h.
Referenced by getProbeTaus().
|
private |
Definition at line 146 of file L1TTauOffline.h.
Referenced by 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 204 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 214 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 212 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 213 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 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 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 172 of file L1TTauOffline.h.
Referenced by 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 195 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 193 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 173 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 150 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 145 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 127 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 125 of file L1TTauOffline.h.
Referenced by bookHistograms(), dqmBeginRun(), and matchHlt().
Definition at line 160 of file L1TTauOffline.h.
|
private |
Definition at line 163 of file L1TTauOffline.h.
|
private |
Definition at line 158 of file L1TTauOffline.h.
|
private |
Definition at line 167 of file L1TTauOffline.h.
Referenced by analyze(), and matchHlt().
|
private |
Definition at line 166 of file L1TTauOffline.h.
Referenced by analyze(), and getTauL1tPairs().
|
private |
Definition at line 165 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 153 of file L1TTauOffline.h.
Referenced by getProbeTaus(), and getTauL1tPairs().
|
private |
Definition at line 128 of file L1TTauOffline.h.
|
private |
Definition at line 129 of file L1TTauOffline.h.
|
private |
Definition at line 159 of file L1TTauOffline.h.
|
private |
Definition at line 157 of file L1TTauOffline.h.
|
private |
Definition at line 154 of file L1TTauOffline.h.
Referenced by analyze(), and getTauL1tPairs().
|
private |
Definition at line 152 of file L1TTauOffline.h.
Referenced by getProbeTaus(), and getTightMuons().
|
private |
Definition at line 169 of file L1TTauOffline.h.
Referenced by bookHistograms(), and matchHlt().
|
private |
Definition at line 138 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 137 of file L1TTauOffline.h.
Referenced by analyze().
|
static |
Definition at line 95 of file L1TTauOffline.h.
Referenced by TauL1TPair::dR().
|
private |
Definition at line 123 of file L1TTauOffline.h.
|
private |
Definition at line 147 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 149 of file L1TTauOffline.h.
Referenced by bookTauHistos().
|
private |
Definition at line 148 of file L1TTauOffline.h.
Referenced by analyze(), and bookTauHistos().
|
private |
Definition at line 132 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 141 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 144 of file L1TTauOffline.h.
Referenced by bookHistograms().
|
private |
Definition at line 143 of file L1TTauOffline.h.
Referenced by analyze().
|
private |
Definition at line 142 of file L1TTauOffline.h.
Referenced by dqmBeginRun(), and matchHlt().
|
private |
Definition at line 139 of file L1TTauOffline.h.
Referenced by analyze().