CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PDFWeightsHelper.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_HepMCCandAlgos_PDFWeightsHelper_h
2 #define PhysicsTools_HepMCCandAlgos_PDFWeightsHelper_h
3 
4 #include <Eigen/Dense>
5 
6 #include <iostream>
7 
9 
11 public:
13 
14  void Init(unsigned int nreplicas, unsigned int neigenvectors, const edm::FileInPath &incsv);
15  void DoMC2Hessian(double nomweight, const double *inweights, double *outweights) const;
16 
17  unsigned int neigenvectors() const { return transformation_.cols(); }
18 
19 protected:
21 };
22 #endif
void Init(unsigned int nreplicas, unsigned int neigenvectors, const edm::FileInPath &incsv)
void DoMC2Hessian(double nomweight, const double *inweights, double *outweights) const
unsigned int neigenvectors() const
Eigen::MatrixXd transformation_
Eigen::MatrixXd MatrixXd
Definition: FitUtils.h:13