#include <CMSCGEN.h>
Public Member Functions | |
CMSCGEN () | |
double | cos_theta () |
double | dNdEmudEnu (double Enu, double Emu, double theta) |
double | flux () |
int | generate () |
int | generateNuMu () |
int | initialize (double, double, double, double, CLHEP::HepRandomEngine *, bool, bool) |
int | initialize (double, double, double, double, int, bool, bool) |
int | initializeNuMu (double, double, double, double, double, double, double, double, double, CLHEP::HepRandomEngine *) |
int | initializeNuMu (double, double, double, double, double, double, double, double, double, int) |
double | momentum_times_charge () |
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
~CMSCGEN () | |
Public Attributes | |
double | AR |
double | dNdEmudEnuMax |
double | negabs |
double | negfrac |
double | ProdAlt |
double | Rnunubar |
double | sigma |
Private Attributes | |
double | b0 |
double | b0c [3] |
double | b1 |
double | b1c [3] |
double | b2 |
double | b2c [3] |
double | c |
double | c1 |
double | c2 |
double | cemax |
double | cmax |
double | cmax_in |
double | cmax_max |
double | cmax_min |
double | cmin |
double | cmin_in |
double | corr [101] |
bool | delRanGen |
double | enumax |
double | enumin |
int | initialization |
double | integrated_flux |
double | Lfac |
double | Lmax |
double | Lmin |
double | pe [9] |
double | pmax |
double | pmin |
double | pmin_max |
double | pmin_min |
double | pq |
CLHEP::HepRandomEngine * | RanGen2 |
bool | TIFOnly_const |
bool | TIFOnly_lin |
double | xemax |
double | xemin |
CMSCGEN::CMSCGEN | ( | ) |
Definition at line 13 of file CMSCGEN.cc.
CMSCGEN::~CMSCGEN | ( | ) |
double CMSCGEN::cos_theta | ( | ) |
Definition at line 431 of file CMSCGEN.cc.
References c, gather_cfg::cout, and initialization.
Referenced by CosmicMuonGenerator::nextEvent().
double CMSCGEN::dNdEmudEnu | ( | double | Enu, |
double | Emu, | ||
double | theta | ||
) |
Definition at line 544 of file CMSCGEN.cc.
References simBeamSpotPI::alpha, AR, funct::cos(), geometryDiff::epsilon, N_A, conifer::pow(), ProdAlt, Rearth, sigma, funct::sin(), and SurfaceOfEarth.
Referenced by generateNuMu(), and initializeNuMu().
double CMSCGEN::flux | ( | ) |
Definition at line 441 of file CMSCGEN.cc.
References gather_cfg::cout, initialization, and integrated_flux.
int CMSCGEN::generate | ( | ) |
Definition at line 249 of file CMSCGEN.cc.
References b0, b0c, b1, b1c, b2, b2c, c, cemax, cmax, cmin, corr, gather_cfg::cout, MillePedeFileConverter_cfg::e, initialization, createfilelist::int, dqmdumpme::k, dttmaxenums::L, PixelRegions::L2, Lfac, Lmin, METSkim_cff::Max, METSkim_cff::Min, pe, pq, TtFullHadEvtBuilder_cfi::prob, diffTwoXMLs::r1, diffTwoXMLs::r2, RanGen2, mathSSE::sqrt(), TIFOnly_const, TIFOnly_lin, xemax, xemin, and z.
Referenced by CosmicMuonGenerator::nextEvent().
int CMSCGEN::generateNuMu | ( | ) |
Definition at line 556 of file CMSCGEN.cc.
References c, cmax, cmin, gather_cfg::cout, dNdEmudEnu(), dNdEmudEnuMax, enumax, enumin, initialization, pmax, pmin, pq, RanGen2, RPCpg::rate(), and Rnunubar.
Referenced by CosmicMuonGenerator::nextEvent().
int CMSCGEN::initialize | ( | double | pmin_in, |
double | pmax_in, | ||
double | thetamin_in, | ||
double | thetamax_in, | ||
CLHEP::HepRandomEngine * | rnd, | ||
bool | TIFOnly_constant, | ||
bool | TIFOnly_linear | ||
) |
Definition at line 27 of file CMSCGEN.cc.
References b0, b0c, b1, b1c, b2, b2c, c1, c2, cemax, cmax, cmax_in, cmax_max, cmax_min, cmin, cmin_in, corr, gather_cfg::cout, delRanGen, initialization, integrated_flux, dqmdumpme::k, dttmaxenums::L, PixelRegions::L2, Lfac, Lmax, Lmin, AlCaHLTBitMon_ParallelJobs::p, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, pe, pmax, pmin, pmin_max, pmin_min, conifer::pow(), RanGen2, alignCSCRings::s, TIFOnly_const, CMSCGENproducer_cfi::TIFOnly_constant, TIFOnly_lin, CMSCGENproducer_cfi::TIFOnly_linear, xemax, and xemin.
Referenced by initialize(), and CosmicMuonGenerator::initialize().
int CMSCGEN::initialize | ( | double | pmin_in, |
double | pmax_in, | ||
double | thetamin_in, | ||
double | thetamax_in, | ||
int | RanSeed, | ||
bool | TIFOnly_constant, | ||
bool | TIFOnly_linear | ||
) |
Definition at line 235 of file CMSCGEN.cc.
References delRanGen, initialize(), CMSCGENproducer_cfi::TIFOnly_constant, and CMSCGENproducer_cfi::TIFOnly_linear.
int CMSCGEN::initializeNuMu | ( | double | pmin_in, |
double | pmax_in, | ||
double | thetamin_in, | ||
double | thetamax_in, | ||
double | Enumin_in, | ||
double | Enumax_in, | ||
double | Phimin_in, | ||
double | Phimax_in, | ||
double | ProdAlt_in, | ||
CLHEP::HepRandomEngine * | rnd | ||
) |
Definition at line 450 of file CMSCGEN.cc.
References AR, cmax, cmin, gather_cfg::cout, delRanGen, dNdEmudEnu(), dNdEmudEnuMax, MillePedeFileConverter_cfg::e, enumax, enumin, mps_fire::i, initialization, integrated_flux, negabs, negfrac, pmax, pmin, ProdAlt, RanGen2, RPCpg::rate(), Rnunubar, and sigma.
Referenced by CosmicMuonGenerator::initialize(), and initializeNuMu().
int CMSCGEN::initializeNuMu | ( | double | pmin_in, |
double | pmax_in, | ||
double | thetamin_in, | ||
double | thetamax_in, | ||
double | Enumin_in, | ||
double | Enumax_in, | ||
double | Phimin_in, | ||
double | Phimax_in, | ||
double | ProdAlt_in, | ||
int | RanSeed | ||
) |
Definition at line 526 of file CMSCGEN.cc.
References delRanGen, and initializeNuMu().
double CMSCGEN::momentum_times_charge | ( | ) |
Definition at line 422 of file CMSCGEN.cc.
References gather_cfg::cout, initialization, and pq.
Referenced by CosmicMuonGenerator::nextEvent().
void CMSCGEN::setRandomEngine | ( | CLHEP::HepRandomEngine * | v | ) |
Definition at line 20 of file CMSCGEN.cc.
References delRanGen, RanGen2, and findQualityFiles::v.
Referenced by CosmicMuonGenerator::setRandomEngine().
double CMSCGEN::AR |
Definition at line 113 of file CMSCGEN.h.
Referenced by dNdEmudEnu(), and initializeNuMu().
|
private |
Definition at line 61 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 70 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 62 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 70 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 63 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 70 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 43 of file CMSCGEN.h.
Referenced by cos_theta(), generate(), and generateNuMu().
|
private |
Definition at line 58 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 59 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 67 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 38 of file CMSCGEN.h.
Referenced by generate(), generateNuMu(), initialize(), and initializeNuMu().
|
private |
Definition at line 40 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 52 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 51 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 37 of file CMSCGEN.h.
Referenced by generate(), generateNuMu(), initialize(), and initializeNuMu().
|
private |
Definition at line 39 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 71 of file CMSCGEN.h.
Referenced by MuScleFitCorrector.MuScleFitCorr::corrected_p4(), generate(), and initialize().
|
private |
Definition at line 74 of file CMSCGEN.h.
Referenced by initialize(), initializeNuMu(), setRandomEngine(), and ~CMSCGEN().
double CMSCGEN::dNdEmudEnuMax |
Definition at line 115 of file CMSCGEN.h.
Referenced by generateNuMu(), and initializeNuMu().
|
private |
Definition at line 81 of file CMSCGEN.h.
Referenced by generateNuMu(), and initializeNuMu().
|
private |
Definition at line 80 of file CMSCGEN.h.
Referenced by generateNuMu(), and initializeNuMu().
|
private |
Definition at line 33 of file CMSCGEN.h.
Referenced by cos_theta(), flux(), generate(), generateNuMu(), initialize(), initializeNuMu(), and momentum_times_charge().
|
private |
Definition at line 65 of file CMSCGEN.h.
Referenced by flux(), initialize(), and initializeNuMu().
|
private |
Definition at line 56 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 55 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 54 of file CMSCGEN.h.
Referenced by generate(), and initialize().
double CMSCGEN::negabs |
Definition at line 116 of file CMSCGEN.h.
Referenced by initializeNuMu().
double CMSCGEN::negfrac |
Definition at line 116 of file CMSCGEN.h.
Referenced by initializeNuMu().
|
private |
Definition at line 69 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 36 of file CMSCGEN.h.
Referenced by generateNuMu(), initialize(), and initializeNuMu().
|
private |
Definition at line 35 of file CMSCGEN.h.
Referenced by generateNuMu(), initialize(), and initializeNuMu().
|
private |
Definition at line 49 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 48 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 42 of file CMSCGEN.h.
Referenced by generate(), generateNuMu(), and momentum_times_charge().
double CMSCGEN::ProdAlt |
Definition at line 111 of file CMSCGEN.h.
Referenced by dNdEmudEnu(), and initializeNuMu().
|
private |
Definition at line 73 of file CMSCGEN.h.
Referenced by generate(), generateNuMu(), initialize(), initializeNuMu(), setRandomEngine(), and ~CMSCGEN().
double CMSCGEN::Rnunubar |
Definition at line 110 of file CMSCGEN.h.
Referenced by generateNuMu(), and initializeNuMu().
double CMSCGEN::sigma |
Definition at line 112 of file CMSCGEN.h.
Referenced by dNdEmudEnu(), and initializeNuMu().
|
private |
Definition at line 76 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 77 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 46 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 45 of file CMSCGEN.h.
Referenced by generate(), and initialize().