![]() |
AmpGen 2.1
|
Definition at line 22 of file Projection.h.
Public Member Functions | |
| Projection () | |
| template<class FCN> | |
| Projection (const FCN &fcn, const std::string &name, const std::string &xAxisTitle, const size_t &nBins, const double &min, const double &max, const std::string &units="") | |
| Projection (const std::function< double(const Event &)> &fcn, const std::string &name, const std::string &xAxisTitle, const size_t &nBins, const double &min, const double &max, const std::string &units="") | |
| const std::string | name () const |
| template<class eventlist_type, class... ARGS> | |
| TH1D * | operator() (const eventlist_type &evts, const ARGS... args) const |
| template<class eventlist_type, class... ARGS> | |
| std::tuple< std::vector< TH1D * >, THStack * > | operator() (const eventlist_type &evts, const keyedFunctors &weightFunction, const ARGS... args) const |
| double | operator() (const Event &evt) const |
| TH1D * | plot (const std::string &prefix="") const |
| std::function< int(const Event &evt)> | binFunctor () const |
| void | setRange (const double &min, const double &max) |
| template<class eventlist_type> | |
| TH1D * | projInternal (const eventlist_type &, const ArgumentPack &) const |
| private: | |
| template<class eventlist_type> | |
| std::tuple< std::vector< TH1D * >, THStack * > | projInternal (const eventlist_type &, const keyedFunctors &, const ArgumentPack &) const |
Public Attributes | |
| std::function< double(const Event &)> | m_func |
| std::string | m_name = {""} |
| std::string | m_xAxisTitle = {""} |
| std::string | m_units = {""} |
| size_t | m_nBins = {0} |
| double | m_min = {0} |
| double | m_max = {0} |
| double | m_width = {0} |
Friends | |
| class | Projection2D |
| AmpGen::Projection::Projection | ( | ) |
|
inline |
Definition at line 28 of file Projection.h.
| AmpGen::Projection::Projection | ( | const std::function< double(const Event &)> & | fcn, |
| const std::string & | name, | ||
| const std::string & | xAxisTitle, | ||
| const size_t & | nBins, | ||
| const double & | min, | ||
| const double & | max, | ||
| const std::string & | units = "" ) |
| std::function< int(const Event &evt)> AmpGen::Projection::binFunctor | ( | ) | const |
| const std::string AmpGen::Projection::name | ( | ) | const |
| double AmpGen::Projection::operator() | ( | const Event & | evt | ) | const |
|
inline |
Definition at line 34 of file Projection.h.
|
inline |
Definition at line 38 of file Projection.h.
| TH1D * AmpGen::Projection::plot | ( | const std::string & | prefix = "" | ) | const |
| TH1D * AmpGen::Projection::projInternal | ( | const eventlist_type & | , |
| const ArgumentPack & | ) const |
| std::tuple< std::vector< TH1D * >, THStack * > AmpGen::Projection::projInternal | ( | const eventlist_type & | , |
| const keyedFunctors & | , | ||
| const ArgumentPack & | ) const |
|
inline |
Definition at line 47 of file Projection.h.
|
friend |
Definition at line 53 of file Projection.h.
| std::function<double(const Event &)> AmpGen::Projection::m_func |
Definition at line 58 of file Projection.h.
| double AmpGen::Projection::m_max = {0} |
Definition at line 64 of file Projection.h.
| double AmpGen::Projection::m_min = {0} |
Definition at line 63 of file Projection.h.
| std::string AmpGen::Projection::m_name = {""} |
Definition at line 59 of file Projection.h.
| size_t AmpGen::Projection::m_nBins = {0} |
Definition at line 62 of file Projection.h.
| std::string AmpGen::Projection::m_units = {""} |
Definition at line 61 of file Projection.h.
| double AmpGen::Projection::m_width = {0} |
Definition at line 65 of file Projection.h.
| std::string AmpGen::Projection::m_xAxisTitle = {""} |
Definition at line 60 of file Projection.h.