|
ROOTPWA
|
Plot generator Class reads fitResult trees and creates graphs even for larger number of fits. More...
#include <pwaPlotter.h>
Public Member Functions | |
| pwaPlotter () | |
| virtual | ~pwaPlotter () |
| const std::set< std::string > & | wavesNames () |
| const std::set< std::string > & | listJPCME () |
| void | addFit (const std::string &filename, const std::string &title, const unsigned int colour=1, const std::string &treename="pwa", const std::string &branchname="fitResult_v2", const unsigned int numb_bins=0) |
| Main function to add information to plotter title will be used as a prefix for the graphs from this fit. | |
| void | produceDensityPlots () |
| Create 2D density plots of the intensities This will produce a wheighted probability density profile combining the information of all the fits added. | |
| void | writeAllIntensities (std::string filename) |
| void | writeAllIntensities (TFile *outfile) |
| void | writeAll (std::string filename) |
| void | writeAll (TFile *outfile) |
| void | printStats () |
Private Member Functions | |
| bool | registerWave (const std::string &wavename) |
| create wave histograms/graphs | |
| ClassDef (pwaPlotter, 2) | |
Private Attributes | |
| std::set< std::string > | mWavenames |
| list of wave names | |
| std::set< std::string > | mJPCME |
| list of available spin totals | |
| std::vector< fitResultMetaInfo > | mResultMetaInfo |
| list of available fits | |
| std::map< std::string, TH2D * > | mIntensityDensityPlots |
| TMultiGraphs. | |
| std::map< std::string, TMultiGraph * > | mIntensities |
| std::map< strpair, TMultiGraph * > | mPhases |
| std::map< std::string, TGraph * > | mPhaseSpace |
| std::map< std::string, double > | mWaveEvidence |
| TMultiGraph * | mLogLikelihood |
| TMultiGraph * | mLogLikelihoodPerEvent |
| TMultiGraph * | mEvidence |
| TMultiGraph * | mEvidencePerEvent |
| double | mMinEvidence |
Plot generator Class reads fitResult trees and creates graphs even for larger number of fits.
Definition at line 111 of file pwaPlotter.h.
| pwaPlotter::pwaPlotter | ( | ) |
Definition at line 92 of file pwaPlotter.cc.
References i, mEvidence, mEvidencePerEvent, mLogLikelihood, mLogLikelihoodPerEvent, and mPhases.
|
virtual |
Definition at line 155 of file pwaPlotter.cc.
References mWavenames.
| void pwaPlotter::addFit | ( | const std::string & | filename, |
| const std::string & | title, | ||
| const unsigned int | colour = 1, |
||
| const std::string & | treename = "pwa", |
||
| const std::string & | branchname = "fitResult_v2", |
||
| const unsigned int | numb_bins = 0 |
||
| ) |
Main function to add information to plotter title will be used as a prefix for the graphs from this fit.
Definition at line 161 of file pwaPlotter.cc.
References rpwa::fitResult::evidence(), getIGJPCMEps(), i, int, rpwa::fitResult::intensity(), rpwa::fitResult::intensityErr(), rpwa::fitResult::logLikelihood(), rpwa::fitResult::massBinCenter(), meta, mEvidence, mEvidencePerEvent, mIntensities, mLogLikelihood, mLogLikelihoodPerEvent, mMinEvidence, mPhases, mPhaseSpace, mResultMetaInfo, mWaveEvidence, rpwa::fitResult::nmbEvents(), rpwa::fitResult::normIntegral(), rpwa::fitResult::phase(), rpwa::fitResult::phaseErr(), registerWave(), rpwa::fitResultMetaInfo::setBinRange(), rpwa::fitResultMetaInfo::setLikelihoods(), rpwa::fitResultMetaInfo::setNWaves(), rpwa::fitResult::waveIndex(), and rpwa::fitResult::waveNames().
Referenced by main().
|
private |
|
inline |
Definition at line 120 of file pwaPlotter.h.
References mJPCME.
| void pwaPlotter::printStats | ( | ) |
Definition at line 521 of file pwaPlotter.cc.
References i, mIntensities, mResultMetaInfo, and mWaveEvidence.
Referenced by main().
| void pwaPlotter::produceDensityPlots | ( | ) |
Create 2D density plots of the intensities This will produce a wheighted probability density profile combining the information of all the fits added.
Definition at line 554 of file pwaPlotter.cc.
References bin, drawDensity(), rpwa::TPwaFitGraphErrors::fitindex, mIntensities, mIntensityDensityPlots, and mResultMetaInfo.
Referenced by main().
|
private |
create wave histograms/graphs
Definition at line 499 of file pwaPlotter.cc.
References mIntensities, mPhaseSpace, mWaveEvidence, and mWavenames.
Referenced by addFit().
|
inline |
Definition at line 119 of file pwaPlotter.h.
References mWavenames.
| void pwaPlotter::writeAll | ( | std::string | filename | ) |
Definition at line 622 of file pwaPlotter.cc.
Referenced by main().
| void pwaPlotter::writeAll | ( | TFile * | outfile | ) |
Definition at line 634 of file pwaPlotter.cc.
References mEvidence, mEvidencePerEvent, mLogLikelihood, mLogLikelihoodPerEvent, and writeAllIntensities().
| void pwaPlotter::writeAllIntensities | ( | std::string | filename | ) |
Definition at line 646 of file pwaPlotter.cc.
Referenced by writeAll().
| void pwaPlotter::writeAllIntensities | ( | TFile * | outfile | ) |
Definition at line 660 of file pwaPlotter.cc.
References mIntensities, mIntensityDensityPlots, mPhases, and mPhaseSpace.
|
private |
Definition at line 174 of file pwaPlotter.h.
Referenced by addFit(), pwaPlotter(), and writeAll().
|
private |
Definition at line 175 of file pwaPlotter.h.
Referenced by addFit(), pwaPlotter(), and writeAll().
|
private |
Definition at line 166 of file pwaPlotter.h.
Referenced by addFit(), printStats(), produceDensityPlots(), registerWave(), and writeAllIntensities().
|
private |
TMultiGraphs.
Definition at line 165 of file pwaPlotter.h.
Referenced by produceDensityPlots(), and writeAllIntensities().
|
private |
list of available spin totals
Definition at line 158 of file pwaPlotter.h.
Referenced by listJPCME().
|
private |
Definition at line 172 of file pwaPlotter.h.
Referenced by addFit(), pwaPlotter(), and writeAll().
|
private |
Definition at line 173 of file pwaPlotter.h.
Referenced by addFit(), pwaPlotter(), and writeAll().
|
private |
Definition at line 178 of file pwaPlotter.h.
Referenced by addFit().
|
private |
Definition at line 167 of file pwaPlotter.h.
Referenced by addFit(), pwaPlotter(), and writeAllIntensities().
|
private |
Definition at line 169 of file pwaPlotter.h.
Referenced by addFit(), registerWave(), and writeAllIntensities().
|
private |
list of available fits
2D-probability distributions (TH2D)
Definition at line 159 of file pwaPlotter.h.
Referenced by addFit(), printStats(), and produceDensityPlots().
|
private |
Definition at line 170 of file pwaPlotter.h.
Referenced by addFit(), printStats(), and registerWave().
|
private |
list of wave names
Definition at line 157 of file pwaPlotter.h.
Referenced by registerWave(), wavesNames(), and ~pwaPlotter().
1.8.1.2