CMS 3D CMS Logo

TracksterInferenceAlgoBase.h
Go to the documentation of this file.
1 // Author: Felice Pantaleo - felice.pantaleo@cern.ch
2 // Date: 07/2024
3 
4 #ifndef RecoHGCal_TICL_TracksterInferenceAlgo_H__
5 #define RecoHGCal_TICL_TracksterInferenceAlgo_H__
6 
7 #include <vector>
13 
21 
22 namespace ticl {
24  public:
26  : algo_verbosity_(conf.getParameter<int>("algo_verbosity")) {}
28 
29  virtual void inputData(const std::vector<reco::CaloCluster>& layerClusters, std::vector<Trackster>& tracksters) = 0;
30  virtual void runInference(std::vector<Trackster>& tracksters) = 0;
31  static void fillPSetDescription(edm::ParameterSetDescription& desc) { desc.add<int>("algo_verbosity", 0); };
32 
33  protected:
34  int algo_verbosity_;
35  };
36 } // namespace ticl
37 
38 #endif
TracksterInferenceAlgoBase(const edm::ParameterSet &conf)
virtual void inputData(const std::vector< reco::CaloCluster > &layerClusters, std::vector< Trackster > &tracksters)=0
static void fillPSetDescription(edm::ParameterSetDescription &desc)
Definition: Common.h:10
virtual void runInference(std::vector< Trackster > &tracksters)=0