CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
StringResolutionProvider.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_PatAlgos_StringResolutionProvider_H
2 #define PhysicsTools_PatAlgos_StringResolutionProvider_H
7 
9 
44 public:
47 
51  ~StringResolutionProvider() override;
53  pat::CandKinResolution getResolution(const reco::Candidate& cand) const override;
54 
55 private:
58  std::vector<pat::CandKinResolution::Scalar> constraints_;
63  std::vector<std::string> bins_;
65  std::vector<std::string> funcEt_, funcEta_, funcPhi_;
66 };
67 
68 #endif
pat::CandKinResolution::Parametrization parametrization_
tuple cfg
Definition: looper.py:296
~StringResolutionProvider() override
default destructor
Class to provide resolution factors for PAT candidates.
pat::CandKinResolution getResolution(const reco::Candidate &cand) const override
get a CandKinResolution object from the service
StringObjectFunction< reco::Candidate > Function
short cut within the common namespace
std::vector< std::string > funcEt_
vectors for the resolution functions
StringResolutionProvider(const edm::ParameterSet &cfg)
default constructor
std::vector< std::string > funcEta_
std::vector< pat::CandKinResolution::Scalar > constraints_
std::vector< std::string > bins_
a vector of strings for the binning
Interface for derived classes to provide object resolutions for PAT.
std::vector< std::string > funcPhi_