CMS 3D CMS Logo

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;
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_
~StringResolutionProvider() override
default destructor
Class to provide resolution factors for PAT candidates.
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_
pat::CandKinResolution getResolution(const reco::Candidate &cand) const override
get a CandKinResolution object from the service
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_