Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
sbnana
sbnana
CAFAna
Extrap
TrivialExtrap.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
sbnana/CAFAna/Extrap/IExtrap.h
"
4
5
namespace
ana
6
{
7
class
Loaders;
8
9
/// "Extrapolation" that simply returns the MC prediction
10
class
TrivialExtrap
:
public
IExtrap
11
{
12
public
:
13
TrivialExtrap
(
SpectrumLoaderBase
& loaderNonswap,
14
SpectrumLoaderBase
& loaderNue,
15
SpectrumLoaderBase
& loaderNuTau,
16
SpectrumLoaderBase
& loaderIntrinsic,
17
const
HistAxis
& axis,
18
const
SpillCut
& spillcut,
19
const
Cut
& cut,
20
const
SystShifts
&
shift
,
21
const
Var
& wei);
22
23
TrivialExtrap
(
SpectrumLoaderBase
& loaderNonswap,
24
SpectrumLoaderBase
& loaderNue,
25
SpectrumLoaderBase
& loaderNuTau,
26
SpectrumLoaderBase
& loaderIntrinsic,
27
std::string label,
28
const
Binning
& bins,
29
const
Var
& var,
30
const
SpillCut
& spillcut,
31
const
Cut
& cut,
32
const
SystShifts
& shift,
33
const
Var
& wei);
34
35
TrivialExtrap
(
Loaders
& loaders,
36
std::string label,
37
const
Binning
& bins,
38
const
Var
& var,
39
const
SpillCut
& spillcut,
40
const
Cut
& cut,
41
const
SystShifts
& shift =
kNoShift
,
42
const
Var
& wei =
kUnweighted
);
43
44
TrivialExtrap
(
Loaders
& loaders,
45
const
HistAxis
& axis,
46
const
SpillCut
& spillcut,
47
const
Cut
& cut,
48
const
SystShifts
& shift =
kNoShift
,
49
const
Var
& wei =
kUnweighted
);
50
51
virtual
OscillatableSpectrum
NueSurvComponent
() {
return
fNueSurv
;}
52
virtual
OscillatableSpectrum
AntiNueSurvComponent
() {
return
fNueSurvAnti
;}
53
54
virtual
OscillatableSpectrum
NumuSurvComponent
() {
return
fNumuSurv
;}
55
virtual
OscillatableSpectrum
AntiNumuSurvComponent
() {
return
fNumuSurvAnti
;}
56
57
virtual
OscillatableSpectrum
NueAppComponent
() {
return
fNueApp
;}
58
virtual
OscillatableSpectrum
AntiNueAppComponent
() {
return
fNueAppAnti
;}
59
60
virtual
OscillatableSpectrum
NumuAppComponent
() {
return
fNumuApp
;}
61
virtual
OscillatableSpectrum
AntiNumuAppComponent
() {
return
fNumuAppAnti
;}
62
63
virtual
OscillatableSpectrum
TauFromEComponent
() {
return
fTauFromE
;}
64
virtual
OscillatableSpectrum
AntiTauFromEComponent
() {
return
fTauFromEAnti
;}
65
66
virtual
OscillatableSpectrum
TauFromMuComponent
() {
return
fTauFromMu
;}
67
virtual
OscillatableSpectrum
AntiTauFromMuComponent
() {
return
fTauFromMuAnti
;}
68
69
virtual
OscillatableSpectrum
NCComponentFromNumu
() {
return
fNCFromNumu
;}
70
virtual
OscillatableSpectrum
NCComponentFromNue
() {
return
fNCFromNue
;}
71
72
virtual
void
SaveTo
(TDirectory*
dir
)
const
;
73
static
std::unique_ptr<TrivialExtrap>
LoadFrom
(TDirectory*
dir
);
74
75
protected
:
76
TrivialExtrap
()
77
:
fNueApp
(0, {}, {}, 0, 0),
fNueAppAnti
(0, {}, {}, 0, 0),
78
fNumuSurv
(0, {}, {}, 0, 0),
fNumuSurvAnti
(0, {}, {}, 0, 0),
79
fNumuApp
(0, {}, {}, 0, 0),
fNumuAppAnti
(0, {}, {}, 0, 0),
80
fNueSurv
(0, {}, {}, 0, 0),
fNueSurvAnti
(0, {}, {}, 0, 0),
81
fTauFromE
(0, {}, {}, 0, 0),
fTauFromEAnti
(0, {}, {}, 0, 0),
82
fTauFromMu
(0, {}, {}, 0, 0),
fTauFromMuAnti
(0, {}, {}, 0, 0),
83
fNCFromNumu
(0, {}, {}, 0, 0),
fNCFromNue
(0, {}, {}, 0, 0)
84
{}
85
86
OscillatableSpectrum
fNueApp
,
fNueAppAnti
;
87
OscillatableSpectrum
fNumuSurv
,
fNumuSurvAnti
;
88
OscillatableSpectrum
fNumuApp
,
fNumuAppAnti
;
89
OscillatableSpectrum
fNueSurv
,
fNueSurvAnti
;
90
OscillatableSpectrum
fTauFromE
,
fTauFromEAnti
;
91
OscillatableSpectrum
fTauFromMu
,
fTauFromMuAnti
;
92
OscillatableSpectrum
fNCFromNumu
,
fNCFromNue
;
93
};
94
}
ana::TrivialExtrap::NumuSurvComponent
virtual OscillatableSpectrum NumuSurvComponent()
Charged current muon neutrino survival ( )
Definition:
TrivialExtrap.h:54
ana::TrivialExtrap::fTauFromMuAnti
OscillatableSpectrum fTauFromMuAnti
Definition:
TrivialExtrap.h:91
ana::TrivialExtrap::AntiNueSurvComponent
virtual OscillatableSpectrum AntiNueSurvComponent()
Charged current electron antineutrino survival ( )
Definition:
TrivialExtrap.h:52
ana::TrivialExtrap::fNueAppAnti
OscillatableSpectrum fNueAppAnti
Definition:
TrivialExtrap.h:86
ana::TrivialExtrap::fNueSurvAnti
OscillatableSpectrum fNueSurvAnti
Definition:
TrivialExtrap.h:89
ana::Binning
Represent the binning of a Spectrum's x-axis.
Definition:
Binning.h:18
ana::TrivialExtrap::fNCFromNue
OscillatableSpectrum fNCFromNue
Definition:
TrivialExtrap.h:92
ana::SystShifts
Simple record of shifts applied to systematic parameters.
Definition:
SystShifts.h:16
ana::TrivialExtrap::fTauFromE
OscillatableSpectrum fTauFromE
Definition:
TrivialExtrap.h:90
ana::Loaders
Collection of SpectrumLoaders for many configurations.
Definition:
Loaders.h:12
ana::TrivialExtrap::TauFromMuComponent
virtual OscillatableSpectrum TauFromMuComponent()
Charged current tau neutrino appearance from muon neutrino ( )
Definition:
TrivialExtrap.h:66
ana::TrivialExtrap::fNCFromNumu
OscillatableSpectrum fNCFromNumu
Definition:
TrivialExtrap.h:92
ana::TrivialExtrap::NumuAppComponent
virtual OscillatableSpectrum NumuAppComponent()
Charged current muon neutrino appearance ( )
Definition:
TrivialExtrap.h:60
ana::TrivialExtrap::fNueApp
OscillatableSpectrum fNueApp
Definition:
TrivialExtrap.h:86
ana::TrivialExtrap::AntiNueAppComponent
virtual OscillatableSpectrum AntiNueAppComponent()
Charged current electron antineutrino appearance ( )
Definition:
TrivialExtrap.h:58
ana::TrivialExtrap::fNumuAppAnti
OscillatableSpectrum fNumuAppAnti
Definition:
TrivialExtrap.h:88
ana
process_name opflashCryoW ana
Definition:
stage0_icarus_light_only.fcl:60
shift
shift
Definition:
fcl_checks.sh:26
ana::TrivialExtrap::fNumuSurvAnti
OscillatableSpectrum fNumuSurvAnti
Definition:
TrivialExtrap.h:87
ana::TrivialExtrap::SaveTo
virtual void SaveTo(TDirectory *dir) const
Definition:
TrivialExtrap.cxx:109
ana::TrivialExtrap
"Extrapolation" that simply returns the MC prediction
Definition:
TrivialExtrap.h:10
ana::TrivialExtrap::NCComponentFromNue
virtual OscillatableSpectrum NCComponentFromNue()
Definition:
TrivialExtrap.h:70
ana::TrivialExtrap::NCComponentFromNumu
virtual OscillatableSpectrum NCComponentFromNumu()
Neutral currents.
Definition:
TrivialExtrap.h:69
ana::TrivialExtrap::LoadFrom
static std::unique_ptr< TrivialExtrap > LoadFrom(TDirectory *dir)
Definition:
TrivialExtrap.cxx:136
ana::TrivialExtrap::fTauFromMu
OscillatableSpectrum fTauFromMu
Definition:
TrivialExtrap.h:91
ana::TrivialExtrap::fNueSurv
OscillatableSpectrum fNueSurv
Definition:
TrivialExtrap.h:89
IExtrap.h
ana::TrivialExtrap::AntiTauFromEComponent
virtual OscillatableSpectrum AntiTauFromEComponent()
Charged current tau antineutrino appearance from electron antineutrino ( )
Definition:
TrivialExtrap.h:64
ana::TrivialExtrap::fNumuApp
OscillatableSpectrum fNumuApp
Definition:
TrivialExtrap.h:88
ana::TrivialExtrap::fTauFromEAnti
OscillatableSpectrum fTauFromEAnti
Definition:
TrivialExtrap.h:90
ana::TrivialExtrap::AntiTauFromMuComponent
virtual OscillatableSpectrum AntiTauFromMuComponent()
Charged current tau antineutrino appearance from muon antineutrino ( )
Definition:
TrivialExtrap.h:67
ana::TrivialExtrap::TrivialExtrap
TrivialExtrap()
Definition:
TrivialExtrap.h:76
ana::TrivialExtrap::NueSurvComponent
virtual OscillatableSpectrum NueSurvComponent()
Charged current electron neutrino survival ( )
Definition:
TrivialExtrap.h:51
ana::kNoShift
const SystShifts kNoShift
Definition:
SystShifts.h:61
dropbox.dir
tuple dir
Definition:
dropbox.py:28
ana::SpectrumLoaderBase
Base class for the various types of spectrum loader.
Definition:
SpectrumLoaderBase.h:36
ana::TrivialExtrap::NueAppComponent
virtual OscillatableSpectrum NueAppComponent()
Charged current electron neutrino appearance ( )
Definition:
TrivialExtrap.h:57
ana::TrivialExtrap::fNumuSurv
OscillatableSpectrum fNumuSurv
Definition:
TrivialExtrap.h:87
ana::IExtrap
Interface to extrapolation procedures.
Definition:
IExtrap.h:8
ana::_HistAxis< Var >
ana::kUnweighted
const Var kUnweighted([](const caf::SRSliceProxy *){return 1;})
The simplest possible Var, always 1. Used as a default weight.
ana::_Cut< caf::SRSpillProxy >
ana::_Var< caf::SRSliceProxy >
ana::TrivialExtrap::TauFromEComponent
virtual OscillatableSpectrum TauFromEComponent()
Charged current tau neutrino appearance from electron neutrino ( )
Definition:
TrivialExtrap.h:63
ana::OscillatableSpectrum
Spectrum with true energy information, allowing it to be oscillated
Definition:
OscillatableSpectrum.h:24
ana::TrivialExtrap::AntiNumuSurvComponent
virtual OscillatableSpectrum AntiNumuSurvComponent()
Charged current muon antineutrino survival ( )
Definition:
TrivialExtrap.h:55
ana::TrivialExtrap::AntiNumuAppComponent
virtual OscillatableSpectrum AntiNumuAppComponent()
Charged current muon antineutrino appearance ( )
Definition:
TrivialExtrap.h:61
Generated by
1.8.5