Skip to content
Snippets Groups Projects
MOmegaPiFcn.hh 722 B
Newer Older
Bertram Kopf's avatar
Bertram Kopf committed
#ifndef _MOmegaPiFcn_H
#define _MOmegaPiFcn_H

#include <iostream>
#include <fstream>
//#include <string>
#include <vector>
#include <map>
Bertram Kopf's avatar
Bertram Kopf committed
#include <boost/shared_ptr.hpp>
#include "Examples/pbarpToOmegaPi/minuitstartparam.hh"


Bertram Kopf's avatar
Bertram Kopf committed
//#include <cassert>
#include "Minuit2/FCNBase.h"
using namespace std;
class AbsOmegaPiLh;
Bertram Kopf's avatar
Bertram Kopf committed

namespace ROOT {

   namespace Minuit2 {
class MOmegaPiFcn : public FCNBase {

public:

  MOmegaPiFcn(boost::shared_ptr<AbsOmegaPiLh> absOmegaPiLh);
Bertram Kopf's avatar
Bertram Kopf committed
  virtual ~MOmegaPiFcn();

  double operator()(const std::vector<double>& par) const;

  double Up() const;


private:
  boost::shared_ptr<AbsOmegaPiLh> _omegaPiLhPtr;
Bertram Kopf's avatar
Bertram Kopf committed
};
  }  // namespace Minuit2

}  // namespace ROOT


#endif /* _etacToapi0fcn_H */