Changeset View
Changeset View
Standalone View
Standalone View
inc/LauCalcChiSq.hh
Show All 17 Lines | |||||
/* | /* | ||||
Laura++ package authors: | Laura++ package authors: | ||||
John Back | John Back | ||||
Paul Harrison | Paul Harrison | ||||
Thomas Latham | Thomas Latham | ||||
*/ | */ | ||||
#include "TH2Poly.h" | #include "TH2Poly.h" | ||||
#include "TGraph.h" | |||||
#include "TString.h" | #include "TString.h" | ||||
#include "ROOT/RDataFrame.hxx" | |||||
#include "ROOT/RResultPtr.hxx" | |||||
#include <vector> | #include <vector> | ||||
/*! \file LauCalcChiSq.hh | /*! \file LauCalcChiSq.hh | ||||
\brief File containing declaration of LauCalcChiSq class. | \brief File containing declaration of LauCalcChiSq class. | ||||
*/ | */ | ||||
/*! \class LauCalcChiSq | /*! \class LauCalcChiSq | ||||
\brief Utility class to allow the calculation of the chisq of the fit to the Dalitz plot | \brief Utility class to allow the calculation of the chisq of the fit to the Dalitz plot | ||||
▲ Show 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | private: | ||||
//! Name of the low stats data file | //! Name of the low stats data file | ||||
TString fileName1_; | TString fileName1_; | ||||
//! Name of the high stats data file | //! Name of the high stats data file | ||||
TString fileName2_; | TString fileName2_; | ||||
//! Name of the low stats data tree | //! Name of the low stats data tree | ||||
TString treeName1_; | TString treeName1_; | ||||
//! Name of the high stats data tree | //! Name of the high stats data tree | ||||
TString treeName2_; | TString treeName2_; | ||||
//! Experiment number in the toy file | |||||
TString iExpt_; | |||||
//! Name of the x-coordinate branch in tree 1 | //! Name of the x-coordinate branch in tree 1 | ||||
TString xName1_; | TString xName1_; | ||||
//! Name of the x-coordinate branch in tree 2 | //! Name of the x-coordinate branch in tree 2 | ||||
TString xName2_; | TString xName2_; | ||||
//! Name of the y-coordinate branch in tree 1 | //! Name of the y-coordinate branch in tree 1 | ||||
TString yName1_; | TString yName1_; | ||||
//! Name of the y-coordinate branch in tree 2 | //! Name of the y-coordinate branch in tree 2 | ||||
TString yName2_; | TString yName2_; | ||||
//! Title of the x-coordinate for drawing | |||||
TString xTitle_; | |||||
//! Title of the y-coordinate for drawing | |||||
TString yTitle_; | |||||
//! The minimum bin content | //! The minimum bin content | ||||
Float_t minContent_; | Float_t minContent_; | ||||
//! Template histogram constructed from the binning scheme | //! Template histogram constructed from the binning scheme | ||||
TH2Poly* theHisto_; | TH2Poly* theHisto_; | ||||
//! Histogram (constructed from template) filled from tree 1 | //! Histogram (constructed from template) filled from tree 1 | ||||
TH2Poly* histo1_; | TH2Poly* histo1_; | ||||
//! Histogram (constructed from template) filled from tree 2 | //! Histogram (constructed from template) filled from tree 2 | ||||
TH2Poly* histo2_; | TH2Poly* histo2_; | ||||
//! Histogram (constructed from template) filled with pulls of tree1 vs tree2 | //! Histogram (constructed from template) filled with pulls of tree1 vs tree2 | ||||
TH2Poly* pullHisto_; | TH2Poly* pullHisto_; | ||||
//! Histogram (constructed from template) filled with chisq of tree1 vs tree2 | //! Histogram (constructed from template) filled with chisq of tree1 vs tree2 | ||||
TH2Poly* chiSqHisto_; | TH2Poly* chiSqHisto_; | ||||
//! Histogram (constructed from template) filled with signed chisq of tree1 vs tree2 | //! Histogram (constructed from template) filled with signed chisq of tree1 vs tree2 | ||||
TH2Poly* chiSqSignedHisto_; | TH2Poly* chiSqSignedHisto_; | ||||
//! Graph for data | |||||
ROOT::RDF::RResultPtr<TGraph> g_data_smartptr; | |||||
TGraph* g_data_; | |||||
//! Graph for toy | |||||
ROOT::RDF::RResultPtr<TGraph> g_toy_smartptr; | |||||
TGraph* g_toy_; | |||||
//! Minimum x coordinate of histograms | //! Minimum x coordinate of histograms | ||||
Float_t xMin_; | Float_t xMin_; | ||||
//! Maximum x coordinate of histograms | //! Maximum x coordinate of histograms | ||||
Float_t xMax_; | Float_t xMax_; | ||||
//! Minimum y coordinate of histograms | //! Minimum y coordinate of histograms | ||||
Float_t yMin_; | Float_t yMin_; | ||||
//! Maximum y coordinate of histograms | //! Maximum y coordinate of histograms | ||||
Float_t yMax_; | Float_t yMax_; | ||||
Show All 12 Lines |