![]() |
ATLAS Offline Software
|
#include <PDFcreator.h>
Public Member Functions | |
| PDFcreator () | |
| construct the class with a given TF1 and a random engine More... | |
| ~PDFcreator () | |
| void | setName (const std::string &PDFname) |
| all following is used to set up the class More... | |
| void | addToEnergyEtaHist1DMap (int energy, int etaMin, TH1 *hist) |
| double | getRand (CLHEP::HepRandomEngine *rndmEngine, const std::vector< int > &inputParameters) const |
| get the random value with this method, by providing the input parameters More... | |
| const std::string & | getName () const |
Private Attributes | |
| std::string | m_name |
| Give pdf a name for debug purposes. More... | |
| std::map< int, std::map< int, TH1 * > > | m_energy_eta_hists1D |
| map of energies to map of eta ranges to 1D histograms More... | |
Creates random numbers with a distribution given as ROOT TF1. The TF1 function parameters will be retrieved from a histogram given by addPar.
Definition at line 36 of file PDFcreator.h.
|
inline |
construct the class with a given TF1 and a random engine
Definition at line 41 of file PDFcreator.h.
| ISF::PDFcreator::~PDFcreator | ( | ) |
Definition at line 32 of file PDFcreator.cxx.
| void ISF::PDFcreator::addToEnergyEtaHist1DMap | ( | int | energy, |
| int | etaMin, | ||
| TH1 * | hist | ||
| ) |
Definition at line 41 of file PDFcreator.cxx.
|
inline |
Definition at line 51 of file PDFcreator.h.
| double ISF::PDFcreator::getRand | ( | CLHEP::HepRandomEngine * | rndmEngine, |
| const std::vector< int > & | inputParameters | ||
| ) | const |
get the random value with this method, by providing the input parameters
Definition at line 56 of file PDFcreator.cxx.
|
inline |
all following is used to set up the class
Definition at line 46 of file PDFcreator.h.
|
private |
map of energies to map of eta ranges to 1D histograms
Definition at line 55 of file PDFcreator.h.
|
private |
Give pdf a name for debug purposes.
Definition at line 54 of file PDFcreator.h.
1.8.18