CMS 3D CMS Logo

TracksterInferenceByCNNv4.h
Go to the documentation of this file.
1 #ifndef RecoHGCal_TICL_TracksterInferenceByCNNv4_H__
2 #define RecoHGCal_TICL_TracksterInferenceByCNNv4_H__
3 
6 
7 namespace ticl {
8 
10  public:
11  explicit TracksterInferenceByCNNv4(const edm::ParameterSet& conf);
12  void inputData(const std::vector<reco::CaloCluster>& layerClusters, std::vector<Trackster>& tracksters) override;
13  void runInference(std::vector<Trackster>& tracksters) override;
14 
16 
17  private:
19 
21  const std::vector<std::string> inputNames_;
22  const std::vector<std::string> outputNames_;
23  const float eidMinClusterEnergy_;
24  const int eidNLayers_;
25  const int eidNClusters_;
26  static constexpr int eidNFeatures_ = 3;
27  int doPID_;
29 
31  std::vector<std::vector<int64_t>> input_shapes_;
32  std::vector<int> tracksterIndices_;
33  std::vector<std::vector<float>> input_Data_;
35  };
36 } // namespace ticl
37 
38 #endif // RecoHGCal_TICL_TracksterInferenceByDNN_H__
static void fillPSetDescription(edm::ParameterSetDescription &iDesc)
const std::vector< std::string > outputNames_
const cms::Ort::ONNXRuntime * onnxSession_
void inputData(const std::vector< reco::CaloCluster > &layerClusters, std::vector< Trackster > &tracksters) override
std::vector< std::vector< int64_t > > input_shapes_
std::vector< std::vector< float > > input_Data_
TracksterInferenceByCNNv4(const edm::ParameterSet &conf)
void runInference(std::vector< Trackster > &tracksters) override
Definition: Common.h:10
const std::vector< std::string > inputNames_