1 #ifndef MINTDALITZ_CHI2_BINNING_HH 2 #define MINTDALITZ_CHI2_BINNING_HH 53 if(0 != mcPtr)
fillMC(*mcPtr, pdf);
79 void print(std::ostream& os = std::cout)
const;
MINT::counted_ptr< TH1D > getChi2Distribution() const
static void makeColourPaletteBlueGrey()
double getChi2_perBin() const
double getMaxChi2() const
static void makeColourPaletteBlueWhite()
static int * __colourPalette
Chi2BoxSet splitBoxes(MINT::IMinimalEventList< DalitzEvent > *events, int maxPerBin) const
static void makeColourPaletteRGB()
double setEventsAndPdf(MINT::IMinimalEventList< DalitzEvent > *data, MINT::IMinimalEventList< DalitzEvent > *mc, IDalitzPdf *pdf, IFastAmplitudeIntegrable *fas=0)
void drawChi2Distribution(const std::string &fname="chi2Distribution.eps") const
void fillMC(MINT::IMinimalEventList< DalitzEvent > &mc, IDalitzPdf *pdf)
double chi2_ofBin(unsigned int i) const
int createBinning(MINT::IMinimalEventList< DalitzEvent > *events, int minPerBin=10, int maxPerBin=100)
bool operator()(const Chi2BoxSet &a, const Chi2BoxSet &b) const
void setBoxesNormFactors()
static void makeColourPalette()
void fillData(MINT::IMinimalEventList< DalitzEvent > &data)
static int * getColourPalette()
void fillMC(MINT::IMinimalEventList< DalitzEvent > *mcPtr, IDalitzPdf *pdf)
DalitzHistoStackSet getMCHistoStack()
std::vector< Chi2BoxSet > _boxSets
DalitzHistoStackSet getDataHistoStack()
void setFas(IFastAmplitudeIntegrable *fas)
int mergeBoxes(Chi2BoxSet &boxes, int minPerBin)
void fillData(MINT::IMinimalEventList< DalitzEvent > *dataPtr)
std::ostream & operator<<(std::ostream &os, const Chi2Binning &c2b)
void print(std::ostream &os=std::cout) const
double normFactor() const
bool operator()(const Chi2Box &a, const Chi2Box &b) const