1 #ifndef CombineTools_Observation_h
2 #define CombineTools_Observation_h
6 #include "RooAbsData.h"
21 double rate()
const {
return rate_; }
27 TH1
const*
shape()
const {
return shape_.get(); }
35 RooAbsData
const*
data()
const {
return data_; }
39 static std::ostream&
PrintHeader(std::ostream &out);
43 std::unique_ptr<TH1> shape_;
void set_rate(double const &rate)
TH1 const * shape() const
std::unique_ptr< TH1 > ClonedScaledShape() const
static std::ostream & PrintHeader(std::ostream &out)
Observation & operator=(Observation other)
void set_shape(std::unique_ptr< TH1 > shape, bool set_rate)
RooAbsData const * data() const
std::string to_string() const
std::unique_ptr< TH1 > ClonedShape() const
void set_data(RooAbsData *data)
friend void swap(Observation &first, Observation &second)
friend std::ostream & operator<<(std::ostream &out, Observation const &val)