test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
45  public:
48 
52  virtual ~StringResolutionProvider();
54  virtual pat::CandKinResolution getResolution(const reco::Candidate& cand) const;
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_
Class to provide resolution factors for PAT candidates.
virtual ~StringResolutionProvider()
default destructor
StringObjectFunction< reco::Candidate > Function
short cut within the common namespace
virtual pat::CandKinResolution getResolution(const reco::Candidate &cand) const
get a CandKinResolution object from the service
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_