CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::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
virtual ResolutionModel::~ResolutionModel ( )
inlinevirtual

Definition at line 14 of file ResolutionModel.h.

14 {}
ResolutionModel::ResolutionModel ( const ResolutionModel )
delete

Member Function Documentation

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; }
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; }
const std::string& ResolutionModel::name ( void  ) const
inline
ResolutionModel& ResolutionModel::operator= ( const ResolutionModel )
delete

Member Data Documentation

const std::string ResolutionModel::_modelName
private

Definition at line 25 of file ResolutionModel.h.

Referenced by name().