Logo ROOT  
Reference Guide
UnBinData.cxx
Go to the documentation of this file.
1// @(#)root/mathcore:$Id$
2// Author: L. Moneta Wed Aug 30 11:10:03 2006
3
4/**********************************************************************
5 * *
6 * Copyright (c) 2006 LCG ROOT Math Team, CERN/PH-SFT *
7 * *
8 * *
9 **********************************************************************/
10
11// Implementation file for class UnBinData
12
13#include "Fit/UnBinData.h"
14#include "Math/Error.h"
15
16#include <cassert>
17#include <cmath>
18
19namespace ROOT {
20
21 namespace Fit {
22
23/// copy constructor
25 FitData(rhs),
26 fWeighted(rhs.fWeighted)
27{}
28
29///assignment operator
31{
32 FitData::operator=( rhs );
33 fWeighted = rhs.fWeighted;
34 return *this;
35}
36
37
38 } // end namespace Fit
39
40} // end namespace ROOT
41
Base class for all the fit data types: Stores the coordinates and the DataOptions.
Definition: FitData.h:56
FitData & operator=(const FitData &rhs)
Definition: FitData.cxx:218
Class describing the un-binned data sets (just x coordinates values) of any dimensions.
Definition: UnBinData.h:46
UnBinData & operator=(const UnBinData &)
assignment operator
Definition: UnBinData.cxx:30
UnBinData(unsigned int maxpoints=0, unsigned int dim=1, bool isWeighted=false)
constructor from dimension of point and max number of points (to pre-allocate vector)
Definition: UnBinData.h:54
TFitResultPtr Fit(FitObject *h1, TF1 *f1, Foption_t &option, const ROOT::Math::MinimizerOptions &moption, const char *goption, ROOT::Fit::DataRange &range)
Definition: HFitImpl.cxx:133
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.