Jpp 19.3.0-rc.3
the software that should make you happy
Loading...
Searching...
No Matches
JRootTestkit.hh File Reference
#include <cstddef>
#include <vector>
#include <algorithm>
#include "TH1.h"
#include "TH2.h"
#include "TH3.h"
#include "TRandom3.h"

Go to the source code of this file.

Namespaces

namespace  JROOT
 Auxiliary classes and methods for ROOT I/O.
 
namespace  JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Functions

template<class T >
void JROOT::FillRandom (TH1 *h1, const T &f1)
 Fill 1D histogram according Poisson statistics with expectation values from given 1D function.
 
template<class T >
void JROOT::FillRandom (TH2 *h2, const T &f2)
 Fill 2D histogram according Poisson statistics with expectation values from given 2D function.
 
template<class T >
void JROOT::FillRandom (TH3 *h3, const T &f3)
 Fill 3D histogram according Poisson statistics with expectation values from given 3D function.
 
template<class T >
void JROOT::FillRandom (TH1 *h1, const T &f1, const size_t ns)
 Fill 1D histogram according PDF as given 1D function.
 
template<class T >
void JROOT::FillRandom (TH2 *h2, const T &f2, const size_t ns)
 Fill 2D histogram according PDF as given 2D function.
 
template<class T >
void JROOT::FillRandom (TH3 *h3, const T &f3, const size_t ns)
 Fill 3D histogram according PDF as given 3D function.