Definition at line 23 of file Projection.h.
|
| 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 |
|
◆ Projection() [1/3]
AmpGen::Projection::Projection |
( |
| ) |
|
◆ Projection() [2/3]
template<class FCN>
AmpGen::Projection::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 = "" ) |
|
inline |
◆ Projection() [3/3]
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 = "" ) |
◆ binFunctor()
std::function< int(const Event &evt)> AmpGen::Projection::binFunctor |
( |
| ) |
const |
◆ name()
const std::string AmpGen::Projection::name |
( |
| ) |
const |
◆ operator()() [1/3]
double AmpGen::Projection::operator() |
( |
const Event & | evt | ) |
const |
◆ operator()() [2/3]
template<class eventlist_type, class... ARGS>
TH1D * AmpGen::Projection::operator() |
( |
const eventlist_type & | evts, |
|
|
const ARGS... | args ) const |
|
inline |
◆ operator()() [3/3]
template<class eventlist_type, class... ARGS>
std::tuple< std::vector< TH1D * >, THStack * > AmpGen::Projection::operator() |
( |
const eventlist_type & | evts, |
|
|
const keyedFunctors & | weightFunction, |
|
|
const ARGS... | args ) const |
|
inline |
◆ plot()
TH1D * AmpGen::Projection::plot |
( |
const std::string & | prefix = "" | ) |
const |
◆ projInternal() [1/2]
template<class eventlist_type>
TH1D * AmpGen::Projection::projInternal |
( |
const eventlist_type & | , |
|
|
const ArgumentPack & | ) const |
◆ projInternal() [2/2]
template<class eventlist_type>
std::tuple< std::vector< TH1D * >, THStack * > AmpGen::Projection::projInternal |
( |
const eventlist_type & | , |
|
|
const keyedFunctors & | , |
|
|
const ArgumentPack & | ) const |
◆ setRange()
void AmpGen::Projection::setRange |
( |
const double & | min, |
|
|
const double & | max ) |
|
inline |
◆ Projection2D
◆ m_func
std::function<double( const Event& )> AmpGen::Projection::m_func |
◆ m_max
double AmpGen::Projection::m_max = {0} |
◆ m_min
double AmpGen::Projection::m_min = {0} |
◆ m_name
std::string AmpGen::Projection::m_name = {""} |
◆ m_nBins
size_t AmpGen::Projection::m_nBins = {0} |
◆ m_units
std::string AmpGen::Projection::m_units = {""} |
◆ m_width
double AmpGen::Projection::m_width = {0} |
◆ m_xAxisTitle
std::string AmpGen::Projection::m_xAxisTitle = {""} |
The documentation for this class was generated from the following file: