14 # pragma warning(disable:4231)
17 # pragma warning(disable:4251)
20 # pragma warning(disable:4275)
23 # pragma warning(disable:4800)
28 #include <boost/python.hpp>
36 using namespace boost::python;
44 class_ < NTupleFCN, bases < StatedFCN >,
47 "A objective function class used in fitting that uses a DataSource to\n"
51 .def (
"setDataSource",
52 (
void ( NTupleFCN::* )
54 &NTupleFCN::setDataSource )
56 .def (
"setDataSource",
57 (
void ( NTupleFCN::* )
60 const std::vector < int > & ) )
61 &NTupleFCN::setDataSource,
62 "setDataSource ( DataSource ) -> None\n"
63 "setDataSource ( DataSource, value, sequence ) -> None\n"
65 "The first form sets the data source with default indexes. The\n"
66 "second form takes in addition the dimensionality of the\n"
67 "coordinate and a column indexes from the sequence." )