CMS 3D CMS Logo

ResolutionModel.h
Go to the documentation of this file.
1 #ifndef __SimTracker_TrackAssociation_ResolutionModel_h__
2 #define __SimTracker_TrackAssociation_ResolutionModel_h__
3 
7 
8 #include <iostream>
9 #include <string>
10 
12 public:
13  ResolutionModel(const edm::ParameterSet &conf) : _modelName(conf.getParameter<std::string>("modelName")) {}
14  virtual ~ResolutionModel() {}
15  // get rid of things we should never use...
16  ResolutionModel(const ResolutionModel &) = delete;
17  ResolutionModel &operator=(const ResolutionModel &) = delete;
18 
19  virtual float getTimeResolution(const reco::Track &) const { return -1.f; }
20  virtual float getTimeResolution(const reco::PFCluster &) const { return -1.f; }
21 
22  const std::string &name() const { return _modelName; }
23 
24 private:
26 };
27 
30 
31 #endif
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:42
virtual ~ResolutionModel()
ResolutionModel & operator=(const ResolutionModel &)=delete
edmplugin::PluginFactory< ResolutionModel *(const edm::ParameterSet &)> ResolutionModelFactory
virtual float getTimeResolution(const reco::Track &) const
const std::string & name() const
ResolutionModel(const edm::ParameterSet &conf)
virtual float getTimeResolution(const reco::PFCluster &) const
const std::string _modelName