![]() |
ATLAS Offline Software
|
#include <PunchThroughPDFCreator.h>
Public Member Functions | |
PunchThroughPDFCreator () | |
construct the class with a given TF1 and a random engine More... | |
~PunchThroughPDFCreator () | |
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 34 of file PunchThroughPDFCreator.h.
|
inline |
construct the class with a given TF1 and a random engine
Definition at line 39 of file PunchThroughPDFCreator.h.
PunchThroughPDFCreator::~PunchThroughPDFCreator | ( | ) |
Definition at line 21 of file PunchThroughPDFCreator.cxx.
void PunchThroughPDFCreator::addToEnergyEtaHist1DMap | ( | int | energy, |
int | etaMin, | ||
TH1 * | hist | ||
) |
Definition at line 29 of file PunchThroughPDFCreator.cxx.
|
inline |
Definition at line 49 of file PunchThroughPDFCreator.h.
double PunchThroughPDFCreator::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 44 of file PunchThroughPDFCreator.cxx.
|
inline |
all following is used to set up the class
Definition at line 44 of file PunchThroughPDFCreator.h.
|
private |
map of energies to map of eta ranges to 1D histograms
Definition at line 53 of file PunchThroughPDFCreator.h.
|
private |
Give pdf a name for debug purposes.
Definition at line 52 of file PunchThroughPDFCreator.h.