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
emtf::Feature
std::array< float, NUM_FEATURES > Feature
Definition: Common.h:71
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11713
TensorFlow.h
PtAssignmentEngineDxy::graphDefDxy_
tensorflow::GraphDef * graphDefDxy_
Definition: PtAssignmentEngineDxy.h:34
PtAssignmentEngineAux2017.h
PtAssignmentEngineAux2017
Definition: PtAssignmentEngineAux2017.h:6
FileInPath.h
PtAssignmentEngineDxy::configure
void configure(int verbose, const std::string pbFileNameDxy)
Definition: PtAssignmentEngineDxy.cc:18
PtAssignmentEngineDxy::call_tensorflow_dxy
virtual void call_tensorflow_dxy(const emtf::Feature &feature, emtf::Prediction &prediction) const
Definition: PtAssignmentEngineDxy.cc:241
PtAssignmentEngineDxy::verbose_
int verbose_
Definition: PtAssignmentEngineDxy.h:32
PtAssignmentEngineDxy::calculate_pt_dxy
virtual void calculate_pt_dxy(const EMTFTrack &track, emtf::Feature &feature, emtf::Prediction &prediction) const
Definition: PtAssignmentEngineDxy.cc:44
verbose
static constexpr int verbose
Definition: HLTExoticaSubAnalysis.cc:25
PtAssignmentEngineDxy::outputNamesDxy_
std::vector< std::string > outputNamesDxy_
Definition: PtAssignmentEngineDxy.h:39
PtAssignmentEngineDxy
Definition: PtAssignmentEngineDxy.h:16
l1t::EMTFTrack
Definition: EMTFTrack.h:42
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PtAssignmentEngineDxy::preprocessing_dxy
virtual void preprocessing_dxy(const EMTFTrack &track, emtf::Feature &feature) const
Definition: PtAssignmentEngineDxy.cc:53
PtAssignmentEngineDxy::~PtAssignmentEngineDxy
virtual ~PtAssignmentEngineDxy()
Definition: PtAssignmentEngineDxy.cc:11
PtAssignmentEngineDxy::PtAssignmentEngineDxy
PtAssignmentEngineDxy()
Definition: PtAssignmentEngineDxy.cc:9
PtAssignmentEngineDxy::inputNameDxy_
std::string inputNameDxy_
Definition: PtAssignmentEngineDxy.h:38
PtAssignmentEngineDxy::pbFilePathDxy_
std::string pbFilePathDxy_
Definition: PtAssignmentEngineDxy.h:37
PtAssignmentEngineDxy::sessionDxy_
tensorflow::Session * sessionDxy_
Definition: PtAssignmentEngineDxy.h:35
Common.h
PtAssignmentEngineDxy::pbFileNameDxy_
std::string pbFileNameDxy_
Definition: PtAssignmentEngineDxy.h:36
PtAssignmentEngineDxy::aux
const PtAssignmentEngineAux2017 & aux() const
Definition: PtAssignmentEngineDxy.cc:39
emtf::Prediction
std::array< float, NUM_PREDICTIONS > Prediction
Definition: Common.h:72