CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ConfigurableFlatResolutionModel Class Reference
Inheritance diagram for ConfigurableFlatResolutionModel:
ResolutionModel

Public Member Functions

 ConfigurableFlatResolutionModel (const edm::ParameterSet &conf)
 
float getTimeResolution (const reco::Track &) const override
 
float getTimeResolution (const reco::PFCluster &) const override
 
- Public Member Functions inherited from ResolutionModel
const std::string & name () const
 
ResolutionModeloperator= (const ResolutionModel &)=delete
 
 ResolutionModel (const edm::ParameterSet &conf)
 
 ResolutionModel (const ResolutionModel &)=delete
 
virtual ~ResolutionModel ()
 

Private Attributes

const float reso_
 

Detailed Description

Definition at line 3 of file ConfigurableFlatResolutionModel.cc.

Constructor & Destructor Documentation

◆ ConfigurableFlatResolutionModel()

ConfigurableFlatResolutionModel::ConfigurableFlatResolutionModel ( const edm::ParameterSet conf)
inline

Definition at line 5 of file ConfigurableFlatResolutionModel.cc.

6  : ResolutionModel(conf), reso_(conf.getParameter<double>("resolutionInNs")) {}
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
ResolutionModel(const edm::ParameterSet &conf)

Member Function Documentation

◆ getTimeResolution() [1/2]

float ConfigurableFlatResolutionModel::getTimeResolution ( const reco::Track ) const
inlineoverridevirtual

Reimplemented from ResolutionModel.

Definition at line 8 of file ConfigurableFlatResolutionModel.cc.

References reso_.

◆ getTimeResolution() [2/2]

float ConfigurableFlatResolutionModel::getTimeResolution ( const reco::PFCluster ) const
inlineoverridevirtual

Reimplemented from ResolutionModel.

Definition at line 9 of file ConfigurableFlatResolutionModel.cc.

References reso_.

Member Data Documentation

◆ reso_

const float ConfigurableFlatResolutionModel::reso_
private

Definition at line 12 of file ConfigurableFlatResolutionModel.cc.

Referenced by getTimeResolution().