#include <Chi2Sensitivity.h>
Classes | |
class | EventSample |
Public Member Functions | |
Chi2Sensitivity () | |
void | Initialize (fhicl::ParameterSet *config) |
void | ProcessEvent (const event::Event *event) |
void | ProcessSubRun (const SubRun *subrun) |
void | FileCleanup (TTree *eventTree) |
void | Finalize () |
void | Scale () |
void | GetChi2 () |
void | GetContours () |
void | Write () |
TH1D * | Oscillate (double sinth, double dm2) |
Public Member Functions inherited from core::PostProcessorBase | |
PostProcessorBase () | |
virtual | ~PostProcessorBase () |
void | Run (std::vector< std::string > filelist) |
void | Initialize (char *config=NULL, const std::string &output_fname="", unsigned n_workers=1) |
Public Attributes | |
TGraph2D * | chisqplot |
TGraph * | contour_90pct |
TGraph * | contour_3sigma |
TGraph * | contour_5sigma |
Private Attributes | |
std::string | fEnergyType |
double | fSelectionEfficiency |
double | fBackgroundRejection |
int | fNumDm2 |
int | fNumSin |
std::vector< double > | fLogDm2Lims |
std::vector< double > | fLogSinLims |
std::string | fOutputFile |
int | fSavePDFs |
bool | fSaveSignal |
bool | fSaveBackground |
std::vector< std::array < double, 2 > > | fSaveOscillations |
unsigned | fSampleIndex |
Covariance | fCovariance |
std::vector< EventSample > | fEventSamples |
std::vector< double > | sin2theta |
std::vector< double > | dm2 |
std::vector< std::vector < double > > | chisq_diffs |
Container for chi2 values. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from core::PostProcessorBase | |
virtual void | ProcessFileMeta (const FileMeta *filemeta) |
virtual void | FileSetup (TFile *f, TTree *eventTree) |
virtual void | InitializeThread () |
unsigned | NWorkers () |
unsigned | WorkerID () |
Protected Attributes inherited from core::PostProcessorBase | |
ProviderManager * | fProviderManager |
Interface for provider access. More... | |
int | fConfigExperimentID |
Definition at line 21 of file Chi2Sensitivity.h.
|
inline |
Definition at line 26 of file Chi2Sensitivity.h.
|
virtual |
Any cleanup needed per file
eventTree | the TTree associated with the sbncode event. |
Reimplemented from core::PostProcessorBase.
Definition at line 244 of file Chi2Sensitivity.cxx.
|
inlinevirtual |
Perform user-level finalization. Called after all events have been processed.
Reimplemented from core::PostProcessorBase.
Definition at line 33 of file Chi2Sensitivity.h.
void ana::SBNOsc::Chi2Sensitivity::GetChi2 | ( | ) |
Definition at line 358 of file Chi2Sensitivity.cxx.
void ana::SBNOsc::Chi2Sensitivity::GetContours | ( | ) |
Definition at line 492 of file Chi2Sensitivity.cxx.
|
virtual |
Perform user-level initialization.
config | A configuration, as a JSON object. |
Implements core::PostProcessorBase.
Definition at line 110 of file Chi2Sensitivity.cxx.
TH1D* ana::SBNOsc::Chi2Sensitivity::Oscillate | ( | double | sinth, |
double | dm2 | ||
) |
|
virtual |
Process one event.
event | The sbncode event for the current event |
Implements core::PostProcessorBase.
Definition at line 257 of file Chi2Sensitivity.cxx.
|
virtual |
Reimplemented from core::PostProcessorBase.
Definition at line 252 of file Chi2Sensitivity.cxx.
void ana::SBNOsc::Chi2Sensitivity::Scale | ( | ) |
Definition at line 335 of file Chi2Sensitivity.cxx.
void ana::SBNOsc::Chi2Sensitivity::Write | ( | ) |
Definition at line 587 of file Chi2Sensitivity.cxx.
|
private |
Container for chi2 values.
Definition at line 118 of file Chi2Sensitivity.h.
TGraph2D* ana::SBNOsc::Chi2Sensitivity::chisqplot |
Definition at line 50 of file Chi2Sensitivity.h.
TGraph * ana::SBNOsc::Chi2Sensitivity::contour_3sigma |
Definition at line 51 of file Chi2Sensitivity.h.
TGraph * ana::SBNOsc::Chi2Sensitivity::contour_5sigma |
Definition at line 51 of file Chi2Sensitivity.h.
TGraph* ana::SBNOsc::Chi2Sensitivity::contour_90pct |
Definition at line 51 of file Chi2Sensitivity.h.
|
private |
Definition at line 116 of file Chi2Sensitivity.h.
|
private |
Definition at line 93 of file Chi2Sensitivity.h.
|
private |
Definition at line 110 of file Chi2Sensitivity.h.
|
private |
Definition at line 91 of file Chi2Sensitivity.h.
|
private |
Definition at line 112 of file Chi2Sensitivity.h.
|
private |
Definition at line 97 of file Chi2Sensitivity.h.
|
private |
Definition at line 97 of file Chi2Sensitivity.h.
|
private |
Definition at line 95 of file Chi2Sensitivity.h.
|
private |
Definition at line 96 of file Chi2Sensitivity.h.
|
private |
Definition at line 99 of file Chi2Sensitivity.h.
|
private |
Definition at line 107 of file Chi2Sensitivity.h.
|
private |
Definition at line 103 of file Chi2Sensitivity.h.
|
private |
Definition at line 104 of file Chi2Sensitivity.h.
|
private |
Definition at line 101 of file Chi2Sensitivity.h.
|
private |
Definition at line 102 of file Chi2Sensitivity.h.
|
private |
Definition at line 93 of file Chi2Sensitivity.h.
|
private |
Definition at line 115 of file Chi2Sensitivity.h.