#include <DeepTauBase.h>
Classes | |
struct | Output |
Public Member Functions | |
DeepTauBase (const edm::ParameterSet &cfg, const OutputCollection &outputs, const DeepTauCache *cache) | |
void | produce (edm::Event &event, const edm::EventSetup &es) override |
~DeepTauBase () override | |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DeepTauCache > > | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | globalEndJob (const DeepTauCache *cache) |
static std::unique_ptr< DeepTauCache > | initializeGlobalCache (const edm::ParameterSet &cfg) |
Protected Attributes | |
const DeepTauCache * | cache_ |
OutputCollection | outputs_ |
edm::EDGetTokenT< pat::PackedCandidateCollection > | pfcandToken_ |
edm::EDGetTokenT< TauCollection > | tausToken_ |
edm::EDGetTokenT< reco::VertexCollection > | vtxToken_ |
std::map< std::string, WPList > | workingPoints_ |
Private Member Functions | |
virtual void | createOutputs (edm::Event &event, const tensorflow::Tensor &pred, edm::Handle< TauCollection > taus) |
virtual tensorflow::Tensor | getPredictions (edm::Event &event, const edm::EventSetup &es, edm::Handle< TauCollection > taus)=0 |
Definition at line 58 of file DeepTauBase.h.
Definition at line 68 of file DeepTauBase.h.
using deep_tau::DeepTauBase::CutterPtr = std::unique_ptr<Cutter> |
Definition at line 69 of file DeepTauBase.h.
Definition at line 65 of file DeepTauBase.h.
using deep_tau::DeepTauBase::LorentzVectorXYZ = ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double> > |
Definition at line 67 of file DeepTauBase.h.
Definition at line 66 of file DeepTauBase.h.
using deep_tau::DeepTauBase::OutputCollection = std::map<std::string, Output> |
Definition at line 82 of file DeepTauBase.h.
using deep_tau::DeepTauBase::TauCollection = std::vector<TauType> |
Definition at line 62 of file DeepTauBase.h.
Definition at line 61 of file DeepTauBase.h.
Definition at line 63 of file DeepTauBase.h.
Definition at line 64 of file DeepTauBase.h.
Definition at line 60 of file DeepTauBase.h.
using deep_tau::DeepTauBase::WPList = std::vector<CutterPtr> |
Definition at line 70 of file DeepTauBase.h.
deep_tau::DeepTauBase::DeepTauBase | ( | const edm::ParameterSet & | cfg, |
const OutputCollection & | outputs, | ||
const DeepTauCache * | cache | ||
) |
Definition at line 76 of file DeepTauBase.cc.
References looper::cfg, outputs_, AlCaHLTBitMon_QueryRunRegistry::string, and workingPoints_.
|
inlineoverride |
Definition at line 85 of file DeepTauBase.h.
|
privatevirtual |
Definition at line 101 of file DeepTauBase.cc.
References eostools::move(), outputs_, mps_fire::result, Tau3MuMonitor_cff::taus, and workingPoints_.
Referenced by produce().
|
privatepure virtual |
Implemented in DeepTauId, and DPFIsolation.
Referenced by produce().
|
inlinestatic |
Definition at line 90 of file DeepTauBase.h.
|
static |
Definition at line 108 of file DeepTauBase.cc.
References looper::cfg, mps_splice::entry, edm::FileInPath::fullPath(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 93 of file DeepTauBase.cc.
References createOutputs(), getPredictions(), Tau3MuMonitor_cff::taus, and tausToken_.
|
protected |
Definition at line 104 of file DeepTauBase.h.
Referenced by DeepTauId::DeepTauId(), DPFIsolation::DPFIsolation(), DeepTauId::getPartialPredictions(), DPFIsolation::getPredictions(), DeepTauId::getPredictionsV1(), DeepTauId::getPredictionsV2(), and DeepTauId::globalEndJob().
|
protected |
Definition at line 103 of file DeepTauBase.h.
Referenced by createOutputs(), DeepTauBase(), DPFIsolation::GetOutputs(), DeepTauId::GetOutputs(), and DPFIsolation::getPredictions().
|
protected |
Definition at line 100 of file DeepTauBase.h.
Referenced by DPFIsolation::getPredictions(), and DeepTauId::getPredictions().
|
protected |
Definition at line 99 of file DeepTauBase.h.
Referenced by produce().
|
protected |
Definition at line 101 of file DeepTauBase.h.
Referenced by DPFIsolation::getPredictions(), and DeepTauId::getPredictions().
|
protected |
Definition at line 102 of file DeepTauBase.h.
Referenced by createOutputs(), and DeepTauBase().