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 filter(std::vector<Trackster>& output,
28  const std::vector<Trackster>& inTracksters,
30  std::unordered_map<int, std::vector<int>>& seedToTracksterAssociation) override;
31 
32  void energyRegressionAndID(const std::vector<reco::CaloCluster>& layerClusters,
33  const tensorflow::Session*,
34  std::vector<Trackster>& result);
35 
37 
38  private:
40  const double antikt_radius_;
42  const bool computeLocalTime_;
43 
45 
46  void buildJetAndTracksters(std::vector<fastjet::PseudoJet>&, std::vector<ticl::Trackster>&);
47  };
48 
49 } // namespace ticl
50 #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 > &)
void filter(std::vector< Trackster > &output, const std::vector< Trackster > &inTracksters, const typename PatternRecognitionAlgoBaseT< TILES >::Inputs &input, std::unordered_map< int, std::vector< int >> &seedToTracksterAssociation) override
Definition: Common.h:10
Definition: output.py:1
~PatternRecognitionbyFastJet() override=default