CMS 3D CMS Logo

PtAssignmentEngineDxy.h
Go to the documentation of this file.
1 #ifndef L1TMuonEndCap_PtAssignmentEngineDxy_h
2 #define L1TMuonEndCap_PtAssignmentEngineDxy_h
3 
4 #include <cstdint>
5 #include <cstdlib>
6 #include <cmath>
7 #include <string>
8 #include <vector>
9 #include <array>
10 
15 
17 public:
18  explicit PtAssignmentEngineDxy();
19  virtual ~PtAssignmentEngineDxy();
20 
21  void configure(int verbose, const std::string pbFileNameDxy);
22 
23  const PtAssignmentEngineAux2017& aux() const;
24 
25  virtual void calculate_pt_dxy(const EMTFTrack& track, emtf::Feature& feature, emtf::Prediction& prediction) const;
26 
27  virtual void preprocessing_dxy(const EMTFTrack& track, emtf::Feature& feature) const;
28 
29  virtual void call_tensorflow_dxy(const emtf::Feature& feature, emtf::Prediction& prediction) const;
30 
31 protected:
32  int verbose_;
33 
34  tensorflow::GraphDef* graphDefDxy_;
35  tensorflow::Session* sessionDxy_;
39  std::vector<std::string> outputNamesDxy_;
40 };
41 
42 #endif
bool verbose
std::vector< std::string > outputNamesDxy_
const PtAssignmentEngineAux2017 & aux() const
virtual void calculate_pt_dxy(const EMTFTrack &track, emtf::Feature &feature, emtf::Prediction &prediction) const
tensorflow::Session * sessionDxy_
void configure(int verbose, const std::string pbFileNameDxy)
virtual void call_tensorflow_dxy(const emtf::Feature &feature, emtf::Prediction &prediction) const
tensorflow::GraphDef * graphDefDxy_
std::array< float, NUM_PREDICTIONS > Prediction
Definition: Common.h:72
virtual void preprocessing_dxy(const EMTFTrack &track, emtf::Feature &feature) const
std::array< float, NUM_FEATURES > Feature
Definition: Common.h:71