![]() |
Tools for Reactor-Antineutrino Studies in RAT-PAC
1.2.0
Code for running and analyzing reactor-IBD simulations
|
Class for analyzing DeltaPhi for each individual angle alongside TKSMultiRes. More...
#include <TKSMultiRibbons.h>


Public Types | |
| enum | EPlotTypes { kRibbons , kHeatmap , kBoth } |
| Which plots to make: More... | |
Public Member Functions | |
| TKSMultiRibbons () | |
| Default ctor. | |
| Bool_t | IsInit () |
| Whether Init() has been run yet. | |
| void | SetPlotTypes (EPlotTypes plotSelection) |
| void | SetCurrentPlotType (EPlotTypes plotSelection) |
| void | SetFileList (TObjArray *newFileList) |
| void | SetOutFileName (TString fileName) |
| void | SetOutFileName (const char *filename) |
| void | SetOutFile (TFile *fNew) |
| Int_t | GetNFiles () |
| Int_t | GetNAngles () |
| EPlotTypes | GetPlotTypes () |
| EPlotTypes | GetCurrentPlotType () |
| TObjArray * | GetFileList () |
| TString | GetOutFileName () |
| TFile * | GetOutFile () |
| TCanvas * | GetHeatmapCanvas () |
| TCanvas * | GetRibbonCanvas () |
| TList * | GetRibbonList () |
| TList * | GetCutList () |
| TMatrixD * | GetDeltas () |
| void | Init () |
| Initialize. | |
| void | DrawPlots () |
| Draw specified plots. | |
| void | Ribbons () |
| Fit distributions for each angle and draw as ribbon plot. | |
| void | Heatmap () |
| Fit distributions for each angle and draw as heatmap. | |
| void | Save () |
| Save results. | |
| void | Run () |
| Perform all selected analyses. | |
| void | PrintEnums () |
| Display this class' enums. | |
Private Member Functions | |
| void | SetInit (Bool_t newInit) |
| void | FillFileList () |
| Scan for KSSummary files and store in fFileList. | |
| void | SetNFiles (Int_t newNFiles) |
| void | SetNAngles (Int_t newNAngles) |
| void | SetDeltas (TMatrixD *newDeltas) |
| Fill difference matrix. | |
| TMatrixD | RetrieveData () |
| Fetch data from files. | |
| void | FillData () |
| Fill difference data. | |
Private Attributes | |
| Bool_t | fkInit |
| Whether Init() has been run yet. | |
| Int_t | fkNFiles |
| Number of 'KSSummary.root' files found. | |
| Int_t | fkNAngles |
| Number of angles in each file. | |
| EPlotTypes | fPlotTypes |
| Which plots to make. | |
| EPlotTypes | fCurrentPlotType |
| Currently-active plot type. | |
| TObjArray * | fFileList |
| List of KSSummary files to analyze. | |
| TString | fOutFileName |
| Output filename. | |
| TFile * | fOutFile |
| Output TFile*. | |
| TCanvas * | fHeatmapCanvas |
| Canvas for heatmap plot. | |
| TCanvas * | fRibbonCanvas |
| Canvas for ribbon plots. | |
| TList * | fRibbonList |
| List of ribbon plots. | |
| TList * | fCutList |
| List of xy cuts for ribbon plots. | |
| TMatrixD * | fDeltas |
| Matrix containing (phi_recon-phi_true), dimensions <N_files>x<N_angles> | |
Class for analyzing DeltaPhi for each individual angle alongside TKSMultiRes.
Class for making ribbon and heatmap plots, specifically from KSSummary data.
To use:
Plot-type enum options are:
Example: