#include <PtYDistributor.h>
Public Member Functions | |
double | firePt () |
double | firePt (double ptmin, double ptmax) |
double | fireY () |
double | fireY (double ymin, double ymax) |
PtYDistributor () | |
PtYDistributor (edm::FileInPath fip, CLHEP::HepRandomEngine &fRandomEngine, double ptmax, double ptmin, double ymax, double ymin, int ptbins, int ybins) | |
virtual | ~PtYDistributor () |
Private Attributes | |
CLHEP::RandGeneral * | fPtGenerator |
CLHEP::RandGeneral * | fYGenerator |
int | ptbins_ |
double | ptmax_ |
double | ptmin_ |
int | ybins_ |
double | ymax_ |
double | ymin_ |
Definition at line 15 of file PtYDistributor.h.
|
inline |
Definition at line 17 of file PtYDistributor.h.
PtYDistributor::PtYDistributor | ( | edm::FileInPath | fip, |
CLHEP::HepRandomEngine & | fRandomEngine, | ||
double | ptmax = 100 , |
||
double | ptmin = 0 , |
||
double | ymax = 10 , |
||
double | ymin = -10 , |
||
int | ptbins = 1000 , |
||
int | ybins = 50 |
||
) |
Definition at line 10 of file PtYDistributor.cc.
References gather_cfg::cout, edm::hlt::Exception, f, fPtGenerator, edm::FileInPath::fullPath(), fYGenerator, i, edm::errors::NullPointerError, ptbins_, ptmax_, ptmin_, create_public_lumi_plots::xy, ybins_, ymax_, and ymin_.
|
inlinevirtual |
Definition at line 22 of file PtYDistributor.h.
double PtYDistributor::firePt | ( | ) |
Definition at line 68 of file PtYDistributor.cc.
References ptmax_, and ptmin_.
Referenced by gen::Pythia6PtYDistGun::generateEvent().
double PtYDistributor::firePt | ( | double | ptmin, |
double | ptmax | ||
) |
Definition at line 88 of file PtYDistributor.cc.
References edm::hlt::Exception, fPtGenerator, edm::errors::NullPointerError, ptmax_, and ptmin_.
double PtYDistributor::fireY | ( | ) |
Definition at line 63 of file PtYDistributor.cc.
Referenced by gen::Pythia6PtYDistGun::generateEvent().
double PtYDistributor::fireY | ( | double | ymin, |
double | ymax | ||
) |
Definition at line 73 of file PtYDistributor.cc.
References edm::hlt::Exception, fYGenerator, edm::errors::NullPointerError, detailsBasic3DVector::y, ymax_, and ymin_.
|
private |
Definition at line 39 of file PtYDistributor.h.
Referenced by firePt(), and PtYDistributor().
|
private |
Definition at line 38 of file PtYDistributor.h.
Referenced by fireY(), and PtYDistributor().
|
private |
Definition at line 35 of file PtYDistributor.h.
Referenced by PtYDistributor().
|
private |
Definition at line 30 of file PtYDistributor.h.
Referenced by firePt(), and PtYDistributor().
|
private |
Definition at line 31 of file PtYDistributor.h.
Referenced by firePt(), and PtYDistributor().
|
private |
Definition at line 36 of file PtYDistributor.h.
Referenced by PtYDistributor().
|
private |
Definition at line 32 of file PtYDistributor.h.
Referenced by fireY(), and PtYDistributor().
|
private |
Definition at line 33 of file PtYDistributor.h.
Referenced by fireY(), and PtYDistributor().