#include <PtYDistributor.h>
Public Member Functions | |
double | firePt (CLHEP::HepRandomEngine *) |
double | firePt (double ptmin, double ptmax, CLHEP::HepRandomEngine *) |
double | fireY (CLHEP::HepRandomEngine *) |
double | fireY (double ymin, double ymax, CLHEP::HepRandomEngine *) |
PtYDistributor () | |
PtYDistributor (const edm::FileInPath &fip, 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 14 of file PtYDistributor.h.
|
inline |
Definition at line 16 of file PtYDistributor.h.
PtYDistributor::PtYDistributor | ( | const edm::FileInPath & | fip, |
double | ptmax = 100 , |
||
double | ptmin = 0 , |
||
double | ymax = 10 , |
||
double | ymin = -10 , |
||
int | ptbins = 1000 , |
||
int | ybins = 50 |
||
) |
Definition at line 16 of file PtYDistributor.cc.
References gather_cfg::cout, Exception, validate-o2o-wbm::f, fPtGenerator, edm::FileInPath::fullPath(), fYGenerator, mps_fire::i, edm::errors::NullPointerError, ptbins_, ptmax_, ptmin_, AlCaHLTBitMon_QueryRunRegistry::string, xy(), ybins_, ymax_, and ymin_.
|
inlinevirtual |
Definition at line 20 of file PtYDistributor.h.
double PtYDistributor::firePt | ( | CLHEP::HepRandomEngine * | engine | ) |
Definition at line 72 of file PtYDistributor.cc.
References ptmax_, and ptmin_.
Referenced by gen::Pythia6PtYDistGun::generateEvent().
double PtYDistributor::firePt | ( | double | ptmin, |
double | ptmax, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 87 of file PtYDistributor.cc.
References Exception, fPtGenerator, edm::errors::NullPointerError, DiDispStaMuonMonitor_cfi::pt, ptmax_, and ptmin_.
double PtYDistributor::fireY | ( | CLHEP::HepRandomEngine * | engine | ) |
Definition at line 70 of file PtYDistributor.cc.
Referenced by gen::Pythia6PtYDistGun::generateEvent().
double PtYDistributor::fireY | ( | double | ymin, |
double | ymax, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 74 of file PtYDistributor.cc.
References Exception, fYGenerator, edm::errors::NullPointerError, ymax_, and ymin_.
|
private |
Definition at line 37 of file PtYDistributor.h.
Referenced by firePt(), and PtYDistributor().
|
private |
Definition at line 36 of file PtYDistributor.h.
Referenced by fireY(), and PtYDistributor().
|
private |
Definition at line 33 of file PtYDistributor.h.
Referenced by PtYDistributor().
|
private |
Definition at line 28 of file PtYDistributor.h.
Referenced by firePt(), and PtYDistributor().
|
private |
Definition at line 29 of file PtYDistributor.h.
Referenced by firePt(), and PtYDistributor().
|
private |
Definition at line 34 of file PtYDistributor.h.
Referenced by PtYDistributor().
|
private |
Definition at line 30 of file PtYDistributor.h.
Referenced by fireY(), and PtYDistributor().
|
private |
Definition at line 31 of file PtYDistributor.h.
Referenced by fireY(), and PtYDistributor().