#include "/afs/cern.ch/user/a/agilbert/CMSSW_14_1_0_pre4/src/CombineHarvester/CombineTools/interface/Process.h"
Public Member Functions | |
Process () | |
~Process () | |
Process (Process const &other) | |
Process (Process &&other) | |
Process & | operator= (Process other) |
void | set_rate (double const &rate) |
double | rate () const |
double | no_norm_rate () const |
Get the process normalisation without multiplying by the RooAbsReal value (in the case that it's present) More... | |
void | set_shape (std::unique_ptr< TH1 > shape, bool set_rate) |
void | set_shape (TH1 const &shape, bool set_rate) |
TH1 const * | shape () const |
std::unique_ptr< TH1 > | ClonedShape () const |
std::unique_ptr< TH1 > | ClonedScaledShape () const |
TH1F | ShapeAsTH1F () const |
void | set_pdf (RooAbsReal *pdf) |
RooAbsReal const * | pdf () const |
void | set_data (RooAbsData *data) |
RooAbsData const * | data () const |
void | set_norm (RooAbsReal *norm) |
RooAbsReal const * | norm () const |
void | set_observable (RooRealVar *obs) |
RooRealVar * | observable () const |
std::string | to_string () const |
Public Member Functions inherited from ch::Object | |
Object () | |
virtual | ~Object () |
Object (Object const &other) | |
Object (Object &&other) | |
Object & | operator= (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, Process const &val) |
void | swap (Process &first, Process &second) |
ch::Process::Process | ( | ) |
Definition at line 21 of file Process.cc.
ch::Process::~Process | ( | ) |
Definition at line 32 of file Process.cc.
ch::Process::Process | ( | Process const & | other | ) |
Definition at line 48 of file Process.cc.
ch::Process::Process | ( | Process && | other | ) |
Definition at line 64 of file Process.cc.
Definition at line 76 of file Process.cc.
|
inline |
Get the process normalisation without multiplying by the RooAbsReal value (in the case that it's present)
Generally this isn't a very useful method, it just returns the value of the rate
class member without multipling by the RooAbsReal term. If the process has a RooAbsReal attached then this is often an (or the) important part of determining the total process normalisation. One place this is useful is writing the rate into the text datacard.
void ch::Process::set_shape | ( | std::unique_ptr< TH1 > | shape, |
bool | set_rate | ||
) |
Definition at line 81 of file Process.cc.
void ch::Process::set_shape | ( | TH1 const & | shape, |
bool | set_rate | ||
) |
Definition at line 105 of file Process.cc.
std::unique_ptr< TH1 > ch::Process::ClonedShape | ( | ) | const |
Definition at line 110 of file Process.cc.
std::unique_ptr< TH1 > ch::Process::ClonedScaledShape | ( | ) | const |
Definition at line 117 of file Process.cc.
TH1F ch::Process::ShapeAsTH1F | ( | ) | const |
Definition at line 124 of file Process.cc.
|
inline |
std::string ch::Process::to_string | ( | ) | const |
Definition at line 166 of file Process.cc.
|
static |
Definition at line 153 of file Process.cc.
|
friend |
Definition at line 170 of file Process.cc.
Definition at line 36 of file Process.cc.