CombineHarvester
ch::Systematic Class Reference

#include "/afs/cern.ch/user/a/agilbert/CMSSW_14_1_0_pre4/src/CombineHarvester/CombineTools/interface/Systematic.h"

+ Inheritance diagram for ch::Systematic:

Public Member Functions

 Systematic ()
 
 ~Systematic ()
 
 Systematic (Systematic const &other)
 
 Systematic (Systematic &&other)
 
Systematicoperator= (Systematic other)
 
void set_name (std::string const &name)
 
std::string const & name () const
 
void set_type (std::string const &type)
 
std::string const & type () const
 
void set_value_u (double const &value_u)
 
double value_u () const
 
void set_value_d (double const &value_d)
 
double value_d () const
 
void set_scale (double const &scale)
 
double scale () const
 
void set_asymm (bool const &asymm)
 
bool asymm () const
 
TH1 const * shape_u () const
 
std::unique_ptr< TH1 > ClonedShapeU () const
 
std::unique_ptr< TH1 > ClonedShapeD () const
 
TH1F ShapeUAsTH1F () const
 
TH1F ShapeDAsTH1F () const
 
TH1 const * shape_d () const
 
RooDataHist const * data_u () const
 
RooDataHist const * data_d () const
 
RooAbsReal const * pdf_u () const
 
RooAbsReal const * pdf_d () const
 
void set_data (RooDataHist *data_u, RooDataHist *data_d, RooDataHist const *nominal)
 
void set_pdf (RooAbsReal *pdf_u, RooAbsReal *pdf_d, RooAbsReal const *nominal)
 
void set_shapes (std::unique_ptr< TH1 > shape_u, std::unique_ptr< TH1 > shape_d, TH1 const *nominal)
 
void set_shapes (TH1 const &shape_u, TH1 const &shape_d, TH1 const &nominal)
 
void set_param_str_ext (std::string const &param_str_ext)
 
std::string const & param_str_ext () const
 
std::string to_string () const
 
void SwapUpAndDown ()
 
- Public Member Functions inherited from ch::Object
 Object ()
 
virtual ~Object ()
 
 Object (Object const &other)
 
 Object (Object &&other)
 
Objectoperator= (Object other)
 
virtual void set_bin (std::string const &bin)
 
virtual std::string const & bin () const
 
virtual void set_process (std::string const &process)
 
virtual std::string const & process () const
 
void set_signal (bool const &signal)
 
bool signal () const
 
virtual void set_analysis (std::string const &analysis)
 
virtual std::string const & analysis () const
 
virtual void set_era (std::string const &era)
 
virtual std::string const & era () const
 
virtual void set_channel (std::string const &channel)
 
virtual std::string const & channel () const
 
virtual void set_bin_id (int const &bin_id)
 
virtual int bin_id () const
 
virtual void set_mass (std::string const &mass)
 
virtual std::string const & mass () const
 
virtual void set_attribute (std::string const &attr_label, std::string const &attr_value)
 
virtual void delete_attribute (std::string const &attr_label)
 
virtual void set_all_attributes (std::map< std::string, std::string > const &attrs_)
 
virtual std::map< std::string, std::string > const & all_attributes () const
 
virtual std::string const attribute (std::string const &attr_label) const
 

Static Public Member Functions

static std::ostream & PrintHeader (std::ostream &out)
 

Friends

std::ostream & operator<< (std::ostream &out, Systematic const &val)
 
void swap (Systematic &first, Systematic &second)
 

Detailed Description

Definition at line 13 of file Systematic.h.

Constructor & Destructor Documentation

◆ Systematic() [1/3]

ch::Systematic::Systematic ( )

Definition at line 36 of file Systematic.cc.

◆ ~Systematic()

ch::Systematic::~Systematic ( )

Definition at line 52 of file Systematic.cc.

◆ Systematic() [2/3]

ch::Systematic::Systematic ( Systematic const &  other)

Definition at line 80 of file Systematic.cc.

◆ Systematic() [3/3]

ch::Systematic::Systematic ( Systematic &&  other)

Definition at line 106 of file Systematic.cc.

Member Function Documentation

◆ operator=()

Systematic & ch::Systematic::operator= ( Systematic  other)

Definition at line 123 of file Systematic.cc.

◆ set_name()

void ch::Systematic::set_name ( std::string const &  name)

Definition at line 54 of file Systematic.cc.

◆ name()

std::string const& ch::Systematic::name ( ) const
inline

Definition at line 22 of file Systematic.h.

◆ set_type()

void ch::Systematic::set_type ( std::string const &  type)
inline

Definition at line 24 of file Systematic.h.

◆ type()

std::string const& ch::Systematic::type ( ) const
inline

Definition at line 25 of file Systematic.h.

◆ set_value_u()

void ch::Systematic::set_value_u ( double const &  value_u)
inline

Definition at line 27 of file Systematic.h.

◆ value_u()

double ch::Systematic::value_u ( ) const
inline

Definition at line 28 of file Systematic.h.

◆ set_value_d()

void ch::Systematic::set_value_d ( double const &  value_d)
inline

Definition at line 30 of file Systematic.h.

◆ value_d()

double ch::Systematic::value_d ( ) const
inline

Definition at line 31 of file Systematic.h.

◆ set_scale()

void ch::Systematic::set_scale ( double const &  scale)
inline

Definition at line 33 of file Systematic.h.

◆ scale()

double ch::Systematic::scale ( ) const
inline

Definition at line 34 of file Systematic.h.

◆ set_asymm()

void ch::Systematic::set_asymm ( bool const &  asymm)
inline

Definition at line 36 of file Systematic.h.

◆ asymm()

bool ch::Systematic::asymm ( ) const
inline

Definition at line 37 of file Systematic.h.

◆ shape_u()

TH1 const* ch::Systematic::shape_u ( ) const
inline

Definition at line 39 of file Systematic.h.

◆ ClonedShapeU()

std::unique_ptr< TH1 > ch::Systematic::ClonedShapeU ( ) const

Definition at line 200 of file Systematic.cc.

◆ ClonedShapeD()

std::unique_ptr< TH1 > ch::Systematic::ClonedShapeD ( ) const

Definition at line 207 of file Systematic.cc.

◆ ShapeUAsTH1F()

TH1F ch::Systematic::ShapeUAsTH1F ( ) const

Definition at line 214 of file Systematic.cc.

◆ ShapeDAsTH1F()

TH1F ch::Systematic::ShapeDAsTH1F ( ) const

Definition at line 232 of file Systematic.cc.

◆ shape_d()

TH1 const* ch::Systematic::shape_d ( ) const
inline

Definition at line 47 of file Systematic.h.

◆ data_u()

RooDataHist const* ch::Systematic::data_u ( ) const
inline

Definition at line 49 of file Systematic.h.

◆ data_d()

RooDataHist const* ch::Systematic::data_d ( ) const
inline

Definition at line 51 of file Systematic.h.

◆ pdf_u()

RooAbsReal const* ch::Systematic::pdf_u ( ) const
inline

Definition at line 53 of file Systematic.h.

◆ pdf_d()

RooAbsReal const* ch::Systematic::pdf_d ( ) const
inline

Definition at line 55 of file Systematic.h.

◆ set_data()

void ch::Systematic::set_data ( RooDataHist *  data_u,
RooDataHist *  data_d,
RooDataHist const *  nominal 
)

Definition at line 184 of file Systematic.cc.

◆ set_pdf()

void ch::Systematic::set_pdf ( RooAbsReal *  pdf_u,
RooAbsReal *  pdf_d,
RooAbsReal const *  nominal 
)

Definition at line 194 of file Systematic.cc.

◆ set_shapes() [1/2]

void ch::Systematic::set_shapes ( std::unique_ptr< TH1 >  shape_u,
std::unique_ptr< TH1 >  shape_d,
TH1 const *  nominal 
)

Definition at line 128 of file Systematic.cc.

◆ set_shapes() [2/2]

void ch::Systematic::set_shapes ( TH1 const &  shape_u,
TH1 const &  shape_d,
TH1 const &  nominal 
)

Definition at line 177 of file Systematic.cc.

◆ set_param_str_ext()

void ch::Systematic::set_param_str_ext ( std::string const &  param_str_ext)
inline

Definition at line 69 of file Systematic.h.

◆ param_str_ext()

std::string const& ch::Systematic::param_str_ext ( ) const
inline

Definition at line 70 of file Systematic.h.

◆ to_string()

std::string ch::Systematic::to_string ( ) const

Definition at line 264 of file Systematic.cc.

◆ PrintHeader()

std::ostream & ch::Systematic::PrintHeader ( std::ostream &  out)
static

Definition at line 251 of file Systematic.cc.

◆ SwapUpAndDown()

void ch::Systematic::SwapUpAndDown ( )

Definition at line 273 of file Systematic.cc.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
Systematic const &  val 
)
friend

Definition at line 268 of file Systematic.cc.

◆ swap

void swap ( Systematic first,
Systematic second 
)
friend

Definition at line 63 of file Systematic.cc.


The documentation for this class was generated from the following files: