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
PluginFactory.h
ResolutionModel::_modelName
const std::string _modelName
Definition: ResolutionModel.h:25
ResolutionModel::operator=
ResolutionModel & operator=(const ResolutionModel &)=delete
ResolutionModel::getTimeResolution
virtual float getTimeResolution(const reco::PFCluster &) const
Definition: ResolutionModel.h:20
Track.h
reco::Track
Definition: Track.h:27
PFCluster.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ResolutionModel::name
const std::string & name() const
Definition: ResolutionModel.h:22
edm::ParameterSet
Definition: ParameterSet.h:47
edmplugin::PluginFactory
Definition: PluginFactory.h:34
std
Definition: JetResolutionObject.h:76
reco::PFCluster
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:42
ParameterSet.h
ResolutionModel
Definition: ResolutionModel.h:11
ResolutionModel::ResolutionModel
ResolutionModel(const edm::ParameterSet &conf)
Definition: ResolutionModel.h:13
ResolutionModel::getTimeResolution
virtual float getTimeResolution(const reco::Track &) const
Definition: ResolutionModel.h:19
ResolutionModel::~ResolutionModel
virtual ~ResolutionModel()
Definition: ResolutionModel.h:14