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
 
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 ( 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
ResolutionModel(const edm::ParameterSet &conf)

Member Function Documentation

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

Reimplemented from ResolutionModel.

Definition at line 8 of file ConfigurableFlatResolutionModel.cc.

References reso_.

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

Reimplemented from ResolutionModel.

Definition at line 9 of file ConfigurableFlatResolutionModel.cc.

References reso_.

Member Data Documentation

const float ConfigurableFlatResolutionModel::reso_
private

Definition at line 12 of file ConfigurableFlatResolutionModel.cc.

Referenced by getTimeResolution().