#include <PtAssignmentEngineDxy.h>
Public Member Functions | |
const PtAssignmentEngineAux2017 & | aux () const |
virtual void | calculate_pt_dxy (const EMTFTrack &track, emtf::Feature &feature, emtf::Prediction &prediction) const |
virtual void | call_tensorflow_dxy (const emtf::Feature &feature, emtf::Prediction &prediction) const |
void | configure (int verbose, const std::string pbFileNameDxy) |
virtual void | preprocessing_dxy (const EMTFTrack &track, emtf::Feature &feature) const |
PtAssignmentEngineDxy () | |
virtual | ~PtAssignmentEngineDxy () |
Protected Attributes | |
tensorflow::GraphDef * | graphDefDxy_ |
std::string | inputNameDxy_ |
std::vector< std::string > | outputNamesDxy_ |
std::string | pbFileNameDxy_ |
std::string | pbFilePathDxy_ |
tensorflow::Session * | sessionDxy_ |
int | verbose_ |
Definition at line 16 of file PtAssignmentEngineDxy.h.
|
explicit |
Definition at line 9 of file PtAssignmentEngineDxy.cc.
|
virtual |
Definition at line 11 of file PtAssignmentEngineDxy.cc.
References tensorflow::closeSession(), graphDefDxy_, and sessionDxy_.
const PtAssignmentEngineAux2017 & PtAssignmentEngineDxy::aux | ( | ) | const |
Definition at line 39 of file PtAssignmentEngineDxy.cc.
References instance.
Referenced by preprocessing_dxy().
|
virtual |
Definition at line 44 of file PtAssignmentEngineDxy.cc.
References call_tensorflow_dxy(), and preprocessing_dxy().
Referenced by PtAssignment::process().
|
virtual |
Definition at line 241 of file PtAssignmentEngineDxy.cc.
References filterCSVwithJSON::copy, ztail::d, data, emtf_assert, input, inputNameDxy_, emtf::NUM_FEATURES, emtf::NUM_PREDICTIONS, outputNamesDxy_, tensorflow::run(), and sessionDxy_.
Referenced by calculate_pt_dxy().
void PtAssignmentEngineDxy::configure | ( | int | verbose, |
const std::string | pbFileNameDxy | ||
) |
Definition at line 18 of file PtAssignmentEngineDxy.cc.
References tensorflow::createSession(), emtf_assert, contentValuesFiles::fullPath, graphDefDxy_, inputNameDxy_, tensorflow::loadGraphDef(), outputNamesDxy_, pbFileNameDxy_, pbFilePathDxy_, sessionDxy_, AlCaHLTBitMon_QueryRunRegistry::string, verbose, and verbose_.
Referenced by PtAssignment::configure().
|
virtual |
Definition at line 53 of file PtAssignmentEngineDxy.cc.
References funct::abs(), aux(), PtAssignmentEngineAux2017::calcBendFromPattern(), l1t::EMTFPtLUT::cpattern, data, l1t::EMTFPtLUT::delta_ph, l1t::EMTFPtLUT::delta_th, l1t::EMTFTrack::Endcap(), l1t::EMTFPtLUT::fr, l1t::EMTFTrack::Mode(), l1t::EMTFTrack::PtLUT(), l1t::EMTFPtLUT::sign_ph, l1t::EMTFPtLUT::sign_th, l1t::EMTFPtLUT::st1_ring2, and l1t::EMTFTrack::Theta_fp().
Referenced by calculate_pt_dxy().
|
protected |
Definition at line 34 of file PtAssignmentEngineDxy.h.
Referenced by configure(), and ~PtAssignmentEngineDxy().
|
protected |
Definition at line 38 of file PtAssignmentEngineDxy.h.
Referenced by call_tensorflow_dxy(), and configure().
|
protected |
Definition at line 39 of file PtAssignmentEngineDxy.h.
Referenced by call_tensorflow_dxy(), and configure().
|
protected |
Definition at line 36 of file PtAssignmentEngineDxy.h.
Referenced by configure().
|
protected |
Definition at line 37 of file PtAssignmentEngineDxy.h.
Referenced by configure().
|
protected |
Definition at line 35 of file PtAssignmentEngineDxy.h.
Referenced by call_tensorflow_dxy(), configure(), and ~PtAssignmentEngineDxy().
|
protected |
Definition at line 32 of file PtAssignmentEngineDxy.h.
Referenced by configure().