CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ResolutionModel Class Reference

#include <ResolutionModel.h>

Inheritance diagram for ResolutionModel:
ConfigurableFlatResolutionModel PerfectResolutionModel

Public Member Functions

virtual float getTimeResolution (const reco::Track &) const
 
virtual float getTimeResolution (const reco::PFCluster &) const
 
const std::string & name () const
 
ResolutionModeloperator= (const ResolutionModel &)=delete
 
 ResolutionModel (const edm::ParameterSet &conf)
 
 ResolutionModel (const ResolutionModel &)=delete
 
virtual ~ResolutionModel ()
 

Private Attributes

const std::string _modelName
 

Detailed Description

Definition at line 11 of file ResolutionModel.h.

Constructor & Destructor Documentation

◆ ResolutionModel() [1/2]

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

Definition at line 13 of file ResolutionModel.h.

13 : _modelName(conf.getParameter<std::string>("modelName")) {}
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
const std::string _modelName

◆ ~ResolutionModel()

virtual ResolutionModel::~ResolutionModel ( )
inlinevirtual

Definition at line 14 of file ResolutionModel.h.

14 {}

◆ ResolutionModel() [2/2]

ResolutionModel::ResolutionModel ( const ResolutionModel )
delete

Member Function Documentation

◆ getTimeResolution() [1/2]

virtual float ResolutionModel::getTimeResolution ( const reco::Track ) const
inlinevirtual

Reimplemented in ConfigurableFlatResolutionModel, and PerfectResolutionModel.

Definition at line 19 of file ResolutionModel.h.

19 { return -1.f; }

◆ getTimeResolution() [2/2]

virtual float ResolutionModel::getTimeResolution ( const reco::PFCluster ) const
inlinevirtual

Reimplemented in ConfigurableFlatResolutionModel, and PerfectResolutionModel.

Definition at line 20 of file ResolutionModel.h.

20 { return -1.f; }

◆ name()

const std::string& ResolutionModel::name ( void  ) const
inline

Definition at line 22 of file ResolutionModel.h.

References _modelName.

Referenced by config.CFG::__str__(), and validation.Sample::digest().

22 { return _modelName; }
const std::string _modelName

◆ operator=()

ResolutionModel& ResolutionModel::operator= ( const ResolutionModel )
delete

Member Data Documentation

◆ _modelName

const std::string ResolutionModel::_modelName
private

Definition at line 25 of file ResolutionModel.h.

Referenced by name().