CombineHarvester
ch::Object Class Reference

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

+ Inheritance diagram for ch::Object:

Public Member Functions

 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
 

Friends

void swap (Object &first, Object &second)
 

Detailed Description

Definition at line 8 of file Object.h.

Constructor & Destructor Documentation

◆ Object() [1/3]

ch::Object::Object ( )

Definition at line 5 of file Object.cc.

◆ ~Object()

ch::Object::~Object ( )
virtual

Definition at line 16 of file Object.cc.

◆ Object() [2/3]

ch::Object::Object ( Object const &  other)

Definition at line 31 of file Object.cc.

◆ Object() [3/3]

ch::Object::Object ( Object &&  other)

Definition at line 43 of file Object.cc.

Member Function Documentation

◆ operator=()

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

Definition at line 63 of file Object.cc.

◆ set_bin()

virtual void ch::Object::set_bin ( std::string const &  bin)
inlinevirtual

Definition at line 16 of file Object.h.

◆ bin()

virtual std::string const& ch::Object::bin ( ) const
inlinevirtual

Definition at line 17 of file Object.h.

◆ set_process()

virtual void ch::Object::set_process ( std::string const &  process)
inlinevirtual

Definition at line 19 of file Object.h.

◆ process()

virtual std::string const& ch::Object::process ( ) const
inlinevirtual

Definition at line 20 of file Object.h.

◆ set_signal()

void ch::Object::set_signal ( bool const &  signal)
inline

Definition at line 22 of file Object.h.

◆ signal()

bool ch::Object::signal ( ) const
inline

Definition at line 23 of file Object.h.

◆ set_analysis()

virtual void ch::Object::set_analysis ( std::string const &  analysis)
inlinevirtual

Definition at line 25 of file Object.h.

◆ analysis()

virtual std::string const& ch::Object::analysis ( ) const
inlinevirtual

Definition at line 26 of file Object.h.

◆ set_era()

virtual void ch::Object::set_era ( std::string const &  era)
inlinevirtual

Definition at line 28 of file Object.h.

◆ era()

virtual std::string const& ch::Object::era ( ) const
inlinevirtual

Definition at line 29 of file Object.h.

◆ set_channel()

virtual void ch::Object::set_channel ( std::string const &  channel)
inlinevirtual

Definition at line 31 of file Object.h.

◆ channel()

virtual std::string const& ch::Object::channel ( ) const
inlinevirtual

Definition at line 32 of file Object.h.

◆ set_bin_id()

virtual void ch::Object::set_bin_id ( int const &  bin_id)
inlinevirtual

Definition at line 34 of file Object.h.

◆ bin_id()

virtual int ch::Object::bin_id ( ) const
inlinevirtual

Definition at line 35 of file Object.h.

◆ set_mass()

virtual void ch::Object::set_mass ( std::string const &  mass)
inlinevirtual

Definition at line 37 of file Object.h.

◆ mass()

virtual std::string const& ch::Object::mass ( ) const
inlinevirtual

Definition at line 38 of file Object.h.

◆ set_attribute()

void ch::Object::set_attribute ( std::string const &  attr_label,
std::string const &  attr_value 
)
virtual

Definition at line 55 of file Object.cc.

◆ delete_attribute()

virtual void ch::Object::delete_attribute ( std::string const &  attr_label)
inlinevirtual

Definition at line 41 of file Object.h.

◆ set_all_attributes()

virtual void ch::Object::set_all_attributes ( std::map< std::string, std::string > const &  attrs_)
inlinevirtual

Definition at line 42 of file Object.h.

◆ all_attributes()

virtual std::map<std::string,std::string> const& ch::Object::all_attributes ( ) const
inlinevirtual

Definition at line 43 of file Object.h.

◆ attribute()

virtual std::string const ch::Object::attribute ( std::string const &  attr_label) const
inlinevirtual

Definition at line 44 of file Object.h.

Friends And Related Function Documentation

◆ swap

void swap ( Object first,
Object second 
)
friend

Definition at line 18 of file Object.cc.


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