Newer
Older
#ifndef _MOmegaPiFcn_H
#define _MOmegaPiFcn_H
#include <iostream>
#include <fstream>
//#include <string>
#include <vector>
#include "Examples/pbarpToOmegaPi/minuitstartparam.hh"
//#include <cassert>
#include "Minuit2/FCNBase.h"
namespace ROOT {
namespace Minuit2 {
class MOmegaPiFcn : public FCNBase {
public:
MOmegaPiFcn(boost::shared_ptr<AbsOmegaPiLh> absOmegaPiLh);
virtual ~MOmegaPiFcn();
double operator()(const std::vector<double>& par) const;
double Up() const;
private:
boost::shared_ptr<AbsOmegaPiLh> _omegaPiLhPtr;
};
} // namespace Minuit2
} // namespace ROOT
#endif /* _etacToapi0fcn_H */