#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 469 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 584 of file CMSCGEN.cc.
References alpha, AR, funct::cos(), geometryDiff::epsilon, N_A, funct::pow(), ProdAlt, Rearth, sigma, funct::sin(), and SurfaceOfEarth.
Referenced by generateNuMu(), and initializeNuMu().
double CMSCGEN::flux | ( | ) |
Definition at line 485 of file CMSCGEN.cc.
References gather_cfg::cout, initialization, and integrated_flux.
int CMSCGEN::generate | ( | ) |
Definition at line 263 of file CMSCGEN.cc.
References b0, b0c, b1, b1c, b2, b2c, c, cemax, cmax, cmin, corr, gather_cfg::cout, alignCSCRings::e, initialization, relval_2017::k, dttmaxenums::L, Lfac, Lmin, Max(), Min(), pe, pq, 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 595 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 30 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, relval_2017::k, dttmaxenums::L, Lfac, Lmax, Lmin, AlCaHLTBitMon_ParallelJobs::p, p1, p2, pe, pmax, pmin, pmin_max, pmin_min, funct::pow(), RanGen2, alignCSCRings::s, TIFOnly_const, TIFOnly_lin, 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 254 of file CMSCGEN.cc.
References delRanGen, and initialize().
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 502 of file CMSCGEN.cc.
References AR, cmax, cmin, gather_cfg::cout, delRanGen, dNdEmudEnu(), dNdEmudEnuMax, alignCSCRings::e, enumax, enumin, 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 574 of file CMSCGEN.cc.
References delRanGen, and initializeNuMu().
double CMSCGEN::momentum_times_charge | ( | ) |
Definition at line 454 of file CMSCGEN.cc.
References gather_cfg::cout, initialization, and pq.
Referenced by CosmicMuonGenerator::nextEvent().
void CMSCGEN::setRandomEngine | ( | CLHEP::HepRandomEngine * | v | ) |
Definition at line 23 of file CMSCGEN.cc.
References delRanGen, RanGen2, and findQualityFiles::v.
Referenced by CosmicMuonGenerator::setRandomEngine().
double CMSCGEN::AR |
Definition at line 122 of file CMSCGEN.h.
Referenced by dNdEmudEnu(), and initializeNuMu().
|
private |
Definition at line 65 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 74 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 66 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 74 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 67 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 74 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 47 of file CMSCGEN.h.
Referenced by cos_theta(), generate(), and generateNuMu().
|
private |
Definition at line 62 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 63 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 71 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 42 of file CMSCGEN.h.
Referenced by generate(), generateNuMu(), initialize(), and initializeNuMu().
|
private |
Definition at line 44 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 56 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 55 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 41 of file CMSCGEN.h.
Referenced by generate(), generateNuMu(), initialize(), and initializeNuMu().
|
private |
Definition at line 43 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 75 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 79 of file CMSCGEN.h.
Referenced by initialize(), initializeNuMu(), setRandomEngine(), and ~CMSCGEN().
double CMSCGEN::dNdEmudEnuMax |
Definition at line 124 of file CMSCGEN.h.
Referenced by generateNuMu(), and initializeNuMu().
|
private |
Definition at line 87 of file CMSCGEN.h.
Referenced by generateNuMu(), and initializeNuMu().
|
private |
Definition at line 86 of file CMSCGEN.h.
Referenced by generateNuMu(), and initializeNuMu().
|
private |
Definition at line 37 of file CMSCGEN.h.
Referenced by cos_theta(), flux(), generate(), generateNuMu(), initialize(), initializeNuMu(), and momentum_times_charge().
|
private |
Definition at line 69 of file CMSCGEN.h.
Referenced by flux(), initialize(), and initializeNuMu().
|
private |
Definition at line 60 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 59 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 58 of file CMSCGEN.h.
Referenced by generate(), and initialize().
double CMSCGEN::negabs |
Definition at line 125 of file CMSCGEN.h.
Referenced by initializeNuMu().
double CMSCGEN::negfrac |
Definition at line 125 of file CMSCGEN.h.
Referenced by initializeNuMu().
|
private |
Definition at line 73 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 40 of file CMSCGEN.h.
Referenced by generateNuMu(), initialize(), and initializeNuMu().
|
private |
Definition at line 39 of file CMSCGEN.h.
Referenced by generateNuMu(), initialize(), and initializeNuMu().
|
private |
Definition at line 53 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 52 of file CMSCGEN.h.
Referenced by initialize().
|
private |
Definition at line 46 of file CMSCGEN.h.
Referenced by generate(), generateNuMu(), and momentum_times_charge().
double CMSCGEN::ProdAlt |
Definition at line 120 of file CMSCGEN.h.
Referenced by dNdEmudEnu(), and initializeNuMu().
|
private |
Definition at line 78 of file CMSCGEN.h.
Referenced by generate(), generateNuMu(), initialize(), initializeNuMu(), setRandomEngine(), and ~CMSCGEN().
double CMSCGEN::Rnunubar |
Definition at line 119 of file CMSCGEN.h.
Referenced by generateNuMu(), and initializeNuMu().
double CMSCGEN::sigma |
Definition at line 121 of file CMSCGEN.h.
Referenced by dNdEmudEnu(), and initializeNuMu().
|
private |
Definition at line 81 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 82 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 50 of file CMSCGEN.h.
Referenced by generate(), and initialize().
|
private |
Definition at line 49 of file CMSCGEN.h.
Referenced by generate(), and initialize().