Just return the ND truth spectra as the decomposition. More...
#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-03-07/CAFAna/Decomp/CheatDecomp.h"
Static Public Member Functions | |
static std::unique_ptr< CheatDecomp > | LoadFrom (TDirectory *dir, const std::string &name) |
Protected Member Functions | |
CheatDecomp () | |
Protected Attributes | |
Spectrum | fNCTot |
Spectrum | fNC |
Spectrum | fNCAnti |
Spectrum | fNumu |
Spectrum | fNue |
Spectrum | fAntiNumu |
Spectrum | fAntiNue |
Just return the ND truth spectra as the decomposition.
Definition at line 10 of file CheatDecomp.h.
ana::CheatDecomp::CheatDecomp | ( | SpectrumLoaderBase & | loader, |
std::string | label, | ||
const Binning & | bins, | ||
const Var & | var, | ||
const Cut & | cut, | ||
const SystShifts & | shift = kNoShift , |
||
const Var & | wei = kUnweighted |
||
) |
Definition at line 17 of file CheatDecomp.cxx.
ana::CheatDecomp::CheatDecomp | ( | SpectrumLoaderBase & | loader, |
const HistAxis & | axis, | ||
const Cut & | cut, | ||
const SystShifts & | shift = kNoShift , |
||
const Var & | wei = kUnweighted |
||
) |
Definition at line 29 of file CheatDecomp.cxx.
|
inlineprotected |
Definition at line 41 of file CheatDecomp.h.
|
inlineoverridevirtual |
Implements ana::IDecomp.
Definition at line 34 of file CheatDecomp.h.
References fAntiNue.
Referenced by make_plots(), PlotSyst(), and test_beam_errorband().
|
inlineoverridevirtual |
Implements ana::IDecomp.
Definition at line 33 of file CheatDecomp.h.
References fAntiNumu.
Referenced by make_plots(), PlotSyst(), and test_beam_errorband().
|
virtualinherited |
Reimplemented in ana::BENDecomp, ana::MichelDecomp, ana::FluxDecomp, ana::ProportionalDecomp, ana::FakeDecomp, ana::NumuDecomp, ana::NueDecomp, and ana::NCDecomp.
Definition at line 16 of file IDecomp.cxx.
References om::cout, and allTimeWatchdog::endl.
Referenced by ana::GetNDComponents(), ana::GetNDCompsFromDecomp(), ana::GetNDDecompsFromDecomp(), and ana::IDecomp::NCTotalComponent().
|
static |
Definition at line 73 of file CheatDecomp.cxx.
References ana::assert(), dir, ana::Spectrum::LoadFrom(), and runNovaSAM::ret.
Referenced by make_dataMC(), NDDataMC(), NDDataMCSystBandAna(), nue_data_mc_validation(), numu_data_mc_validation(), and TotalMC().
|
virtualinherited |
Reimplemented in ana::BENDecomp, ana::MichelDecomp, ana::FluxDecomp, ana::ProportionalDecomp, and ana::NumuDecomp.
Definition at line 46 of file IDecomp.cxx.
References om::cout, and allTimeWatchdog::endl.
Referenced by ana::GetNDCompsFromDecomp(), and ana::IDecomp::NCTotalComponent().
|
virtualinherited |
Reimplemented in ana::BENDecomp, ana::MichelDecomp, ana::FluxDecomp, ana::ProportionalDecomp, and ana::NumuDecomp.
Definition at line 38 of file IDecomp.cxx.
References om::cout, and allTimeWatchdog::endl.
Referenced by ana::GetNDCompsFromDecomp(), and ana::IDecomp::NCTotalComponent().
|
virtualinherited |
Reimplemented in ana::MichelDecomp, ana::FluxDecomp, and ana::ProportionalDecomp.
Definition at line 30 of file IDecomp.cxx.
References om::cout, and allTimeWatchdog::endl.
Referenced by ana::IDecomp::NCTotalComponent().
|
virtualinherited |
Reimplemented in ana::MichelDecomp, ana::FluxDecomp, and ana::ProportionalDecomp.
Definition at line 26 of file IDecomp.cxx.
References om::cout, and allTimeWatchdog::endl.
Referenced by ana::IDecomp::NCTotalComponent().
|
virtualinherited |
Reimplemented in ana::BENDecomp, ana::MichelDecomp, ana::FluxDecomp, ana::ProportionalDecomp, and ana::NumuDecomp.
Definition at line 22 of file IDecomp.cxx.
References om::cout, and allTimeWatchdog::endl.
Referenced by ana::GetNDCompsFromDecomp(), and ana::IDecomp::NCTotalComponent().
|
virtualinherited |
Reimplemented in ana::BENDecomp, ana::MichelDecomp, ana::FluxDecomp, ana::ProportionalDecomp, and ana::NumuDecomp.
Definition at line 42 of file IDecomp.cxx.
References om::cout, and allTimeWatchdog::endl.
Referenced by ana::GetNDCompsFromDecomp(), and ana::IDecomp::NCTotalComponent().
|
virtualinherited |
Reimplemented in ana::BENDecomp, ana::MichelDecomp, ana::FluxDecomp, ana::ProportionalDecomp, and ana::NumuDecomp.
Definition at line 34 of file IDecomp.cxx.
References om::cout, and allTimeWatchdog::endl.
Referenced by ana::GetNDCompsFromDecomp(), and ana::IDecomp::NCTotalComponent().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements ana::IDecomp.
Definition at line 28 of file CheatDecomp.h.
References fNC.
Referenced by make_plots().
|
inlineoverridevirtual |
Reimplemented from ana::IDecomp.
Definition at line 27 of file CheatDecomp.h.
References fNCTot.
Referenced by make_plots(), PlotSyst(), and test_beam_errorband().
|
inlineoverridevirtual |
Implements ana::IDecomp.
Definition at line 32 of file CheatDecomp.h.
References fNue.
Referenced by make_plots(), PlotSyst(), and test_beam_errorband().
|
inlineoverridevirtual |
Implements ana::IDecomp.
Definition at line 31 of file CheatDecomp.h.
References fNumu.
Referenced by make_plots(), PlotSyst(), and test_beam_errorband().
|
overridevirtual |
Implements ana::IDecomp.
Definition at line 47 of file CheatDecomp.cxx.
References dir, fAntiNue, fAntiNumu, fNC, fNCAnti, fNCTot, fNue, fNumu, ana::Spectrum::SaveTo(), and tmp.
Referenced by NDDataMCSystBandLoad(), test_beam_errorband(), and TotalMC().
|
inline |
|
protected |
Definition at line 62 of file CheatDecomp.h.
Referenced by AntiNueComponent(), SaveTo(), and TotalMC().
|
protected |
Definition at line 61 of file CheatDecomp.h.
Referenced by AntiNumuComponent(), SaveTo(), and TotalMC().
|
protected |
Definition at line 56 of file CheatDecomp.h.
Referenced by NCComponent(), and SaveTo().
|
protected |
Definition at line 57 of file CheatDecomp.h.
Referenced by NCAntiComponent(), and SaveTo().
|
protected |
Definition at line 52 of file CheatDecomp.h.
Referenced by NCTotalComponent(), SaveTo(), and TotalMC().
|
protected |
Definition at line 60 of file CheatDecomp.h.
Referenced by NueComponent(), SaveTo(), and TotalMC().
|
protected |
Definition at line 59 of file CheatDecomp.h.
Referenced by NumuComponent(), SaveTo(), and TotalMC().