CMS 3D CMS Logo

PatternRecognitionbyFastJet.h
Go to the documentation of this file.
1 // Author: Marco Rovere - marco.rovere@cern.ch
2 // Date: 10/2021
3 
4 #ifndef __RecoHGCal_TICL_PRbyFASTJET_H__
5 #define __RecoHGCal_TICL_PRbyFASTJET_H__
6 #include <memory> // unique_ptr
9 
10 // fwd declaration
11 
12 namespace fastjet {
13  class PseudoJet;
14 };
15 
16 namespace ticl {
17  template <typename TILES>
19  public:
21  ~PatternRecognitionbyFastJet() override = default;
22 
24  std::vector<Trackster>& result,
25  std::unordered_map<int, std::vector<int>>& seedToTracksterAssociation) override;
26 
27  void energyRegressionAndID(const std::vector<reco::CaloCluster>& layerClusters,
28  const tensorflow::Session*,
29  std::vector<Trackster>& result);
30 
32 
33  private:
35  const double antikt_radius_;
40  const float eidMinClusterEnergy_;
41  const int eidNLayers_;
42  const int eidNClusters_;
43 
45  tensorflow::Session* eidSession_;
46 
47  static const int eidNFeatures_ = 3;
48 
49  void buildJetAndTracksters(std::vector<fastjet::PseudoJet>&, std::vector<ticl::Trackster>&);
50  };
51 
52 } // namespace ticl
53 #endif
void energyRegressionAndID(const std::vector< reco::CaloCluster > &layerClusters, const tensorflow::Session *, std::vector< Trackster > &result)
static std::string const input
Definition: EdmProvDump.cc:50
PatternRecognitionbyFastJet(const edm::ParameterSet &conf, edm::ConsumesCollector)
static void fillPSetDescription(edm::ParameterSetDescription &iDesc)
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeomToken_
void makeTracksters(const typename PatternRecognitionAlgoBaseT< TILES >::Inputs &input, std::vector< Trackster > &result, std::unordered_map< int, std::vector< int >> &seedToTracksterAssociation) override
void buildJetAndTracksters(std::vector< fastjet::PseudoJet > &, std::vector< ticl::Trackster > &)
Definition: Common.h:8
~PatternRecognitionbyFastJet() override=default