NueExtrapSysts.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "CAFAna/Core/ISyst.h"
5 #include "CAFAna/Core/Var.h"
6 
7 class TH1;
8 
9 namespace ana
10 {
12  {
13  public:
14  NueExtrapSystBkg2017() : ISyst("extrap_bkg", "Extrapolation Bkg") {}
15 
16  void Shift(double sigma, caf::SRProxy* sr, double& weight) const override;
17  };
18 
20 
22  {
23  public:
24  NueExtrapSystSignalKin2017() : ISyst("extrap_signalkin", "Extrapolation ND to FD Kinematics Signal"), fWeightHist() {}
25 
26  void Shift(double sigma, caf::SRProxy* sr, double& weight) const override;
27 
28  protected:
29  mutable TH1* fWeightHist;
30  };
31 
33 }
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
const Var weight
Proxy for caf::StandardRecord.
Definition: SRProxy.h:2126
Encapsulate code to systematically shift a caf::SRProxy.
Definition: ISyst.h:14
void Shift(double sigma, caf::SRProxy *sr, double &weight) const override
Perform the systematic shift.
caf::StandardRecord * sr
const NueExtrapSystSignalKin2017 kNueExtrapSystSignalKin2017
const NueExtrapSystBkg2017 kNueExtrapSystBkg2017
double sigma(TH1F *hist, double percentile)