added calculate chisq/maxLH only once without fitting and send the result to the stdout

This commit is contained in:
nemu
2009-02-20 06:43:47 +00:00
parent dee034e99e
commit 72c39e6ce7
3 changed files with 41 additions and 12 deletions

View File

@@ -63,7 +63,7 @@ Will handle all the possible minuit commands and actually do things ...
class PFitter
{
public:
PFitter(PMsrHandler *runInfo, PRunListCollection *runListCollection);
PFitter(PMsrHandler *runInfo, PRunListCollection *runListCollection, bool chisq_only = false);
virtual ~PFitter();
bool IsValid() { return fIsValid; }
@@ -71,6 +71,7 @@ class PFitter
private:
bool fIsValid;
bool fChisqOnly;
bool fUseChi2;
PMsrHandler *fRunInfo;