CMS 3D CMS Logo

LinkingAlgoBase.h
Go to the documentation of this file.
1 #ifndef RecoHGCal_TICL_LinkingAlgoBase_H__
2 #define RecoHGCal_TICL_LinkingAlgoBase_H__
3 
4 #include <vector>
17 
18 namespace edm {
19  class Event;
20  class EventSetup;
21 } // namespace edm
22 
23 namespace ticl {
25  public:
26  LinkingAlgoBase(const edm::ParameterSet& conf) : algo_verbosity_(conf.getParameter<int>("algo_verbosity")) {}
27 
28  virtual ~LinkingAlgoBase(){};
29 
30  virtual void initialize(const HGCalDDDConstants* hgcons,
31  const hgcal::RecHitTools rhtools,
32  const edm::ESHandle<MagneticField> bfieldH,
33  const edm::ESHandle<Propagator> propH) = 0;
34 
35  virtual void linkTracksters(const edm::Handle<std::vector<reco::Track>> tkH,
36  const edm::ValueMap<float>& tkTime,
37  const edm::ValueMap<float>& tkTimeErr,
38  const edm::ValueMap<float>& tkTimeQual,
39  const std::vector<reco::Muon>& muons,
40  const edm::Handle<std::vector<Trackster>> tsH,
41  std::vector<TICLCandidate>& resultTracksters,
42  std::vector<TICLCandidate>& resultFromTracks) = 0;
43 
44  static void fillPSetDescription(edm::ParameterSetDescription& desc) { desc.add<int>("algo_verbosity", 0); };
45 
46  protected:
47  int algo_verbosity_;
48  };
49 } // namespace ticl
50 
51 #endif
LinkingAlgoBase(const edm::ParameterSet &conf)
virtual void linkTracksters(const edm::Handle< std::vector< reco::Track >> tkH, const edm::ValueMap< float > &tkTime, const edm::ValueMap< float > &tkTimeErr, const edm::ValueMap< float > &tkTimeQual, const std::vector< reco::Muon > &muons, const edm::Handle< std::vector< Trackster >> tsH, std::vector< TICLCandidate > &resultTracksters, std::vector< TICLCandidate > &resultFromTracks)=0
virtual void initialize(const HGCalDDDConstants *hgcons, const hgcal::RecHitTools rhtools, const edm::ESHandle< MagneticField > bfieldH, const edm::ESHandle< Propagator > propH)=0
static void fillPSetDescription(edm::ParameterSetDescription &desc)
HLT enums.
Definition: Common.h:8