1 #ifndef L1TRIGGER_PHASE2L1PARTICLEFLOWS_JETID_H 2 #define L1TRIGGER_PHASE2L1PARTICLEFLOWS_JETID_H 12 #include "hls4ml/emulator.h" 19 std::unique_ptr<tensorflow::GraphDef>
graphDef;
27 const std::shared_ptr<hls4mlEmulator::Model>
model,
ap_fixed< 16, 6 > EvaluateNNFixed()
unique_ptr< float[]> fDZ_
unique_ptr< float[]> fId_
unique_ptr< float[]> fDX_
ap_fixed< 16, 6 > computeFixed(const l1t::PFJet &iJet, float vz, bool useRawPt)
GraphDef * loadGraphDef(const std::string &pbFile)
JetId(const std::string &iInput, const std::string &iOutput, const std::shared_ptr< hls4mlEmulator::Model > model, int iNParticles)
std::unique_ptr< tensorflow::GraphDef > graphDef
std::vector< float > NNvectorVar_
float compute(const l1t::PFJet &iJet, float vz, bool useRawPt)
unique_ptr< float[]> fPhi_
unique_ptr< float[]> fEta_
bool closeSession(Session *&session)
Session * createSession()
unique_ptr< int[]> fCharge_
BJetTFCache(const std::string &graphPath)
unique_ptr< float[]> fPt_
tensorflow::Session * session
unique_ptr< float[]> fDY_
std::shared_ptr< hls4mlEmulator::Model > modelRef_
tensorflow::Session * sessionRef_