ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/JetFitAnalyzer/interface/HistoFitter.h
(Generate patch)

Comparing UserCode/JetFitAnalyzer/interface/HistoFitter.h (file contents):
Revision 1.7 by dnisson, Fri Jan 22 23:53:09 2010 UTC vs.
Revision 1.10 by dnisson, Sat Mar 27 01:58:10 2010 UTC

# Line 76 | Line 76 | public:
76      void setIndivMeanX(unsigned);
77      unsigned indivMeanY();
78      void setIndivMeanY(unsigned);
79 <    virtual double chisquareSigma(double) = 0;
79 >    virtual double chisquareSigma(double, double) = 0;
80      double formulaIntegral(double, double, double, double,
81                         double*, double, double);
82      std::vector< std::vector< double > > subtractCurrentFit(VectorHisto,
# Line 109 | Line 109 | public:
109      int theMaxNumberOfGaussians;
110    };
111  
112 <  int getNumberOfDegreesOfFreedom(VectorHisto, int);
112 >  static int getNumberOfDegreesOfFreedom(VectorHisto, int);
113  
114    FitResults putParsInFitResults(std::vector<TString>,
115 <                                 double *, double *, double *, double *);
115 >                                 double *, double *, double *, double *,
116 >                                 FitResults&);
117    static VectorHisto loadTH2IntoVectorHisto(TH2*);
118    Trouble minimize(TMinuit*, VectorHisto, int);
119  
120    int findNnewGauss(TH2 *, VectorHisto, FitResults);
121    FitResults fit_histo(TH2 *hist,
122                          std::vector<Trouble> &t,
123 <                    int start_theNumberOfGaussians = 1,
124 <                    double P_cutoff_val = 0.5);
123 >                       int start_theNumberOfGaussians,
124 >                       double P_cutoff_val,
125 >                       unsigned numberOfParticles);
126  
127    ModelDefinition& curr_ModelDefinition();
128    void set_ModelDefinition(ModelDefinition *_mdef);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines