Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User

RooFit Toolkit for Data Modeling
#include "RooAbsOptGoodnessOfFit.hh"

RooAbsOptGoodnessOfFit


class description - source file - inheritance tree (.pdf)

class RooAbsOptGoodnessOfFit : public RooAbsGoodnessOfFit

Inheritance Chart:
TObject
<-
TNamed
RooPrintable
<-
RooAbsArg
<-
RooAbsReal
<-
RooAbsGoodnessOfFit
<-
RooAbsOptGoodnessOfFit
<-
RooChi2Var
RooNLLVar
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.


    protected:
virtual void constOptimize(RooAbsArg::ConstOpCode opcode) virtual void printCompactTreeHook(ostream& os, const char* indent = "") virtual Bool_t redirectServersHook(const RooAbsCollection& newServerList, Bool_t mustReplaceAll, Bool_t nameChange, Bool_t isRecursive) public:
virtual ~RooAbsOptGoodnessOfFit() static TClass* Class() virtual Double_t combinedValue(RooAbsReal** gofArray, Int_t nVal) const virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
RooArgSet* _normSet RooArgSet* _pdfCloneSet RooAbsData* _dataClone RooAbsPdf* _pdfClone RooArgSet* _projDeps

Class Description

 RooAbsOptGoodnessOfFit is the abstract base class for goodness-of-fit
 variables that evaluate the PDF at each point of a given dataset.
 This class provides generic optimizations, such as caching and precalculation
 of constant terms that can be made for all such quantities

 Implementations should define evaluatePartition(), which calculates the
 value of a (sub)range of the dataset and optionally combinedValue(),
 which combines the values calculated for each partition. If combinedValue()
 is overloaded, the default implementation will add the partition results
 to obtain the combined result

 Support for calculation in partitions is needed to allow parallel calculation
 of goodness-of-fit values.

~RooAbsOptGoodnessOfFit()

Double_t combinedValue(RooAbsReal** array, Int_t n) const
 Default implementation returns sum of components

Bool_t redirectServersHook(const RooAbsCollection& newServerList, Bool_t mustReplaceAll, Bool_t nameChange, Bool_t isRecursive)

void printCompactTreeHook(ostream& os, const char* indent)

void constOptimize(ConstOpCode opcode)
 Driver function to propagate const optimization



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
Last CVS Update: v 1.24 2005/06/20 15:44:45 wverkerke Top
Copyright © 2000-2005 University of California, Stanford University

Page maintained by Wouter Verkerke and David Kirkby

SourceForge.net Logo