test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ConfigurableFlatResolutionModel.cc
Go to the documentation of this file.
2 
4 public:
6  ResolutionModel( conf ),
7  reso_( conf.getParameter<double>("resolutionInNs") ) {
8  }
9 
10  virtual float getTimeResolution(const reco::Track&) const override { return reso_; }
11  virtual 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
virtual float getTimeResolution(const reco::Track &) const override
ConfigurableFlatResolutionModel(const edm::ParameterSet &conf)
#define DEFINE_EDM_PLUGIN(factory, type, name)
virtual float getTimeResolution(const reco::PFCluster &) const override