CMS 3D CMS Logo

ConfigurableFlatResolutionModel.cc
Go to the documentation of this file.
2 
4 public:
6  ResolutionModel( conf ),
7  reso_( conf.getParameter<double>("resolutionInNs") ) {
8  }
9 
10  float getTimeResolution(const reco::Track&) const override { return reso_; }
11  float getTimeResolution(const reco::PFCluster&) const override { return reso_; }
12 
13 private:
14  const float reso_;
15 };
16 
19  "ConfigurableFlatResolutionModel");
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)