1 #ifndef CombineTools_Systematic_h
2 #define CombineTools_Systematic_h
6 #include "RooAbsReal.h"
7 #include "RooDataHist.h"
22 std::string
const&
name()
const {
return name_; }
25 std::string
const&
type()
const {
return type_; }
28 double value_u()
const {
return value_u_; }
31 double value_d()
const {
return value_d_; }
34 double scale()
const {
return scale_; }
37 bool asymm()
const {
return asymm_; }
39 TH1
const*
shape_u()
const {
return shape_u_.get(); }
47 TH1
const*
shape_d()
const {
return shape_d_.get(); }
49 RooDataHist
const*
data_u()
const {
return data_u_; }
51 RooDataHist
const*
data_d()
const {
return data_d_; }
53 RooAbsReal
const*
pdf_u()
const {
return pdf_u_; }
55 RooAbsReal
const*
pdf_d()
const {
return pdf_d_; }
58 RooDataHist
const* nominal);
61 RooAbsReal
const* nominal);
74 static std::ostream&
PrintHeader(std::ostream &out);
85 std::unique_ptr<TH1> shape_u_;
86 std::unique_ptr<TH1> shape_d_;
89 RooDataHist * data_u_;
90 RooDataHist * data_d_;
91 std::string param_str_ext_;
friend std::ostream & operator<<(std::ostream &out, Systematic const &val)
void set_param_str_ext(std::string const ¶m_str_ext)
Systematic & operator=(Systematic other)
void set_pdf(RooAbsReal *pdf_u, RooAbsReal *pdf_d, RooAbsReal const *nominal)
RooDataHist const * data_d() const
std::unique_ptr< TH1 > ClonedShapeU() const
std::string const & type() const
std::unique_ptr< TH1 > ClonedShapeD() const
void set_shapes(std::unique_ptr< TH1 > shape_u, std::unique_ptr< TH1 > shape_d, TH1 const *nominal)
void set_value_d(double const &value_d)
TH1 const * shape_d() const
void set_name(std::string const &name)
void set_data(RooDataHist *data_u, RooDataHist *data_d, RooDataHist const *nominal)
void set_value_u(double const &value_u)
TH1 const * shape_u() const
std::string const & name() const
std::string to_string() const
RooAbsReal const * pdf_d() const
std::string const & param_str_ext() const
RooAbsReal const * pdf_u() const
void set_asymm(bool const &asymm)
RooDataHist const * data_u() const
void set_scale(double const &scale)
TH1F ShapeUAsTH1F() const
TH1F ShapeDAsTH1F() const
void set_type(std::string const &type)
friend void swap(Systematic &first, Systematic &second)
static std::ostream & PrintHeader(std::ostream &out)