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 
45  public:
48 
52  ~StringResolutionProvider() override;
55 
56  private:
59  std::vector<pat::CandKinResolution::Scalar> constraints_;
64  std::vector<std::string> bins_;
66  std::vector<std::string> funcEt_, funcEta_, funcPhi_;
67 };
68 
69 #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_