#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 | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () 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, WPMap > | 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::WPMap = std::map<std::string, 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 79 of file DeepTauBase.cc.
References edm::ParameterSet::getParameter(), outputs_, AlCaHLTBitMon_QueryRunRegistry::string, and workingPoints_.
|
inlineoverride |
|
privatevirtual |
Definition at line 107 of file DeepTauBase.cc.
References eostools::move(), outputs_, mps_fire::result, and workingPoints_.
Referenced by produce().
|
privatepure virtual |
Implemented in DeepTauId, and DPFIsolation.
Referenced by produce().
|
inlinestatic |
Definition at line 91 of file DeepTauBase.h.
References nano_cff::taus.
Referenced by DeepTauId::globalEndJob().
|
static |
Definition at line 116 of file DeepTauBase.cc.
References mps_splice::entry, edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by DeepTauId::initializeGlobalCache().
|
override |
Definition at line 98 of file DeepTauBase.cc.
References createOutputs(), getPredictions(), nano_cff::taus, and tausToken_.
|
protected |
Definition at line 103 of file DeepTauBase.h.
|
protected |
Definition at line 102 of file DeepTauBase.h.
Referenced by createOutputs(), and DeepTauBase().
|
protected |
Definition at line 99 of file DeepTauBase.h.
|
protected |
Definition at line 98 of file DeepTauBase.h.
Referenced by produce().
|
protected |
Definition at line 100 of file DeepTauBase.h.
|
protected |
Definition at line 101 of file DeepTauBase.h.
Referenced by createOutputs(), and DeepTauBase().