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::PFCluster &) const override
 
float getTimeResolution (const reco::Track &) const override
 
- Public Member Functions inherited from ResolutionModel
const std::string & name () const
 
const std::string & name () const
 
ResolutionModeloperator= (const ResolutionModel &)=delete
 
ResolutionModeloperator= (const ResolutionModel &)=delete
 
 ResolutionModel (const edm::ParameterSet &conf)
 
 ResolutionModel (const edm::ParameterSet &conf)
 
 ResolutionModel (const ResolutionModel &)=delete
 
 ResolutionModel (const ResolutionModel &)=delete
 
virtual ~ResolutionModel ()
 
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")) {}

Member Function Documentation

◆ getTimeResolution() [1/2]

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

Reimplemented from ResolutionModel.

Definition at line 9 of file ConfigurableFlatResolutionModel.cc.

9 { return reso_; }

References reso_.

◆ getTimeResolution() [2/2]

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

Reimplemented from ResolutionModel.

Definition at line 8 of file ConfigurableFlatResolutionModel.cc.

8 { return reso_; }

References reso_.

Member Data Documentation

◆ reso_

const float ConfigurableFlatResolutionModel::reso_
private

Definition at line 12 of file ConfigurableFlatResolutionModel.cc.

Referenced by getTimeResolution().

ConfigurableFlatResolutionModel::reso_
const float reso_
Definition: ConfigurableFlatResolutionModel.cc:12
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
ResolutionModel::ResolutionModel
ResolutionModel(const edm::ParameterSet &conf)
Definition: ResolutionModel.h:13