CMS 3D CMS Logo

Public Member Functions

KinematicResolutionProvider Class Reference

Interface for derived classes to provide object resolutions for PAT. More...

#include <PhysicsTools/PatAlgos/interface/KinematicResolutionProvider.h>

Inheritance diagram for KinematicResolutionProvider:
StringResolutionProvider

List of all members.

Public Member Functions

virtual pat::CandKinResolution getResolution (const reco::Candidate &c) const =0
virtual void setup (const edm::EventSetup &iSetup) const
 everything that needs to be done before the event loop

Detailed Description

Interface for derived classes to provide object resolutions for PAT.

This vitrtual base class is an interface for all derived classes that provide resolution factors for PAT. The following functions need to be implemented by any derived class:

getResolution

a setup function is provided but might need to be re-implemented.

Definition at line 22 of file KinematicResolutionProvider.h.


Member Function Documentation

virtual pat::CandKinResolution KinematicResolutionProvider::getResolution ( const reco::Candidate c) const [pure virtual]

get a CandKinResolution object from the service; this function needs to be implemented by any derived class

Implemented in StringResolutionProvider.

virtual void KinematicResolutionProvider::setup ( const edm::EventSetup iSetup) const [inline, virtual]

everything that needs to be done before the event loop

Definition at line 26 of file KinematicResolutionProvider.h.

{ }