CMS 3D CMS Logo

ConfigurableFlatResolutionModel.cc
Go to the documentation of this file.
2 
4 public:
6  : ResolutionModel(conf), reso_(conf.getParameter<double>("resolutionInNs")) {}
7 
8  float getTimeResolution(const reco::Track &) const override { return reso_; }
9  float getTimeResolution(const reco::PFCluster &) const override { return reso_; }
10 
11 private:
12  const float reso_;
13 };
14 
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:47
float getTimeResolution(const reco::Track &) const override
ConfigurableFlatResolutionModel(const edm::ParameterSet &conf)
float getTimeResolution(const reco::PFCluster &) const override
#define DEFINE_EDM_PLUGIN(factory, type, name)