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::PFCluster &) const
 
virtual float getTimeResolution (const reco::Track &) 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")) {}

◆ ~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::PFCluster ) const
inlinevirtual

Reimplemented in ConfigurableFlatResolutionModel, and PerfectResolutionModel.

Definition at line 20 of file ResolutionModel.h.

20 { return -1.f; }

◆ getTimeResolution() [2/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; }

◆ name()

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

Definition at line 22 of file ResolutionModel.h.

22 { return _modelName; }

References _modelName.

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

◆ 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().

ResolutionModel::_modelName
const std::string _modelName
Definition: ResolutionModel.h:25
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303