DESY Hbb Analysis Framework
|
#include <PileupWeight.h>
Public Member Functions | |
std::shared_ptr< TH1D > | histogram (const int &var=0) |
PileupWeight () | |
constructors More... | |
PileupWeight (const std::string &) | |
float | weight (const float &truepu, const int &var=0) |
~PileupWeight () | |
desctructor More... | |
Protected Attributes | |
std::map< int, std::shared_ptr< TH1D > > | histos_ |
Definition at line 41 of file PileupWeight.h.
PileupWeight::PileupWeight | ( | ) |
PileupWeight::PileupWeight | ( | const std::string & | fname | ) |
Definition at line 20 of file PileupWeight.cc.
PileupWeight::~PileupWeight | ( | ) |
desctructor
Definition at line 51 of file PileupWeight.cc.
std::shared_ptr<TH1D> analysis::tools::PileupWeight::histogram | ( | const int & | var = 0 | ) |
float PileupWeight::weight | ( | const float & | truepu, |
const int & | var = 0 |
||
) |
Definition at line 64 of file PileupWeight.cc.
References histos_.
|
protected |
Definition at line 51 of file PileupWeight.h.
Referenced by PileupWeight(), and weight().