CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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:42
float getTimeResolution(const reco::Track &) const override
float getTimeResolution(const reco::PFCluster &) const override
ConfigurableFlatResolutionModel(const edm::ParameterSet &conf)
#define DEFINE_EDM_PLUGIN(factory, type, name)