#include <PyquenHadronizer.h>
Public Member Functions | |
const char * | classname () const |
bool | decay () |
bool | declareSpecialSettings (const std::vector< std::string > &) |
bool | declareStableParticles (const std::vector< int > &) |
void | finalizeEvent () |
bool | generatePartonsAndHadronize () |
bool | hadronize () |
bool | initializeForExternalPartons () |
bool | initializeForInternalPartons () |
PyquenHadronizer (const edm::ParameterSet &) | |
bool | readSettings (int) |
bool | residualDecay () |
virtual bool | select (HepMC::GenEvent *evtTry) const override |
void | statistics () |
virtual | ~PyquenHadronizer () |
Public Member Functions inherited from gen::BaseHadronizer | |
BaseHadronizer (edm::ParameterSet const &ps) | |
void | cleanLHE () |
void | generateLHE (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine, unsigned int ncpu) |
edm::Event & | getEDMEvent () const |
HepMC::GenEvent * | getGenEvent () |
GenEventInfoProduct * | getGenEventInfo () |
virtual GenLumiInfoHeader * | getGenLumiInfoHeader () const |
GenRunInfoProduct & | getGenRunInfo () |
const boost::shared_ptr< lhef::LHERunInfo > & | getLHERunInfo () const |
const std::string & | gridpackPath () const |
int | randomIndex () const |
const std::string & | randomInitConfigDescription () const |
void | randomizeIndex (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine) |
void | resetEvent (HepMC::GenEvent *event) |
void | resetEventInfo (GenEventInfoProduct *eventInfo) |
void | setEDMEvent (edm::Event &event) |
void | setLHEEvent (lhef::LHEEvent *event) |
void | setLHERunInfo (lhef::LHERunInfo *runInfo) |
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
std::vector< std::string > const & | sharedResources () const |
virtual | ~BaseHadronizer ()(false) |
Private Member Functions | |
void | add_heavy_ion_rec (HepMC::GenEvent *evt) |
virtual void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
virtual std::vector< std::string > const & | doSharedResources () const override |
const char * | nucleon () |
bool | pyqpythia_init (const edm::ParameterSet &pset) |
bool | pyquen_init (const edm::ParameterSet &pset) |
void | rotateEvtPlane (HepMC::GenEvent *evt, double angle) |
Private Attributes | |
double | abeamtarget_ |
unsigned int | angularspecselector_ |
beam/target atomic mass number More... | |
double | bfixed_ |
max impact param (fm); valid only if cflag_!=0 More... | |
double | bmax_ |
min impact param (fm); valid only if cflag_!=0 More... | |
double | bmin_ |
int | cflag_ |
fixed impact param (fm); valid only if cflag_=0 More... | |
double | comenergy |
centrality flag =0 fixed impact param, <>0 minbias More... | |
bool | docollisionalenloss_ |
DEFAULT = true. More... | |
bool | doIsospin_ |
DEFAULT = true. More... | |
bool | doquench_ |
collision energy More... | |
bool | doradiativeenloss_ |
if true perform quenching (default = true) More... | |
bool | embedding_ |
double | evtPlane_ |
std::string | filterType_ |
unsigned int | maxEventsToPrint_ |
unsigned int | nquarkflavor_ |
Proton fraction in the nucleus. More... | |
double | pfrac_ |
int | protonSide_ |
Run n&p with proper ratios; if false, only p+p collisions. More... | |
edm::ParameterSet | pset_ |
Pythia6Service * | pythia6Service_ |
bool | pythiaHepMCVerbosity_ |
Events to print if verbosity. More... | |
unsigned int | pythiaPylistVerbosity_ |
HepMC verbosity flag. More... | |
double | qgpt0_ |
double | qgptau0_ |
BaseHiGenEvtSelector * | selector_ |
edm::InputTag | src_ |
Pythia PYLIST Verbosity flag. More... | |
Static Private Attributes | |
static const std::vector< std::string > | theSharedResources |
Additional Inherited Members | |
Protected Member Functions inherited from gen::BaseHadronizer | |
std::auto_ptr< HepMC::GenEvent > & | event () |
std::auto_ptr< GenEventInfoProduct > & | eventInfo () |
lhef::LHEEvent * | lheEvent () |
lhef::LHERunInfo * | lheRunInfo () |
GenRunInfoProduct & | runInfo () |
Protected Attributes inherited from gen::BaseHadronizer | |
std::string | lheFile_ |
int | randomIndex_ |
Definition at line 31 of file PyquenHadronizer.h.
PyquenHadronizer::PyquenHadronizer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 38 of file PyquenHadronizer.cc.
References cflag_, embedding_, filterType_, HiGenEvtSelectorFactory::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), LogDebug, maxEventsToPrint_, pythiaHepMCVerbosity_, pythiaPylistVerbosity_, selector_, and src_.
|
virtual |
Definition at line 85 of file PyquenHadronizer.cc.
References pythia6Service_.
|
private |
Definition at line 103 of file PyquenHadronizer.cc.
References evtPlane_, and plfpar.
Referenced by generatePartonsAndHadronize().
const char * PyquenHadronizer::classname | ( | ) | const |
Definition at line 358 of file PyquenHadronizer.cc.
bool PyquenHadronizer::decay | ( | ) |
Definition at line 341 of file PyquenHadronizer.cc.
|
inline |
Definition at line 45 of file PyquenHadronizer.h.
bool PyquenHadronizer::declareStableParticles | ( | const std::vector< int > & | _pdg | ) |
Definition at line 316 of file PyquenHadronizer.cc.
References gen::call_pygive(), gather_cfg::cout, mps_fire::i, and gen::pycomp_().
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 96 of file PyquenHadronizer.cc.
References pythia6Service_, and gen::Pythia6Service::setRandomEngine().
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 54 of file PyquenHadronizer.h.
void PyquenHadronizer::finalizeEvent | ( | ) |
Definition at line 351 of file PyquenHadronizer.cc.
bool PyquenHadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 127 of file PyquenHadronizer.cc.
References abeamtarget_, add_heavy_ion_rec(), bfixed_, bmax_, bmin_, cflag_, comenergy, doIsospin_, doquench_, MillePedeFileConverter_cfg::e, embedding_, gen::BaseHadronizer::event(), evtPlane_, edm::Event::getByLabel(), gen::BaseHadronizer::getEDMEvent(), edm::HepMCProduct::GetEvent(), hepevtio, input, nucleon(), protonSide_, gen::pyexec_(), pypars, PYQUEN, pythia6Service_, rotateEvtPlane(), and src_.
bool PyquenHadronizer::hadronize | ( | ) |
Definition at line 336 of file PyquenHadronizer.cc.
bool gen::PyquenHadronizer::initializeForExternalPartons | ( | ) |
bool PyquenHadronizer::initializeForInternalPartons | ( | ) |
Definition at line 212 of file PyquenHadronizer.cc.
References comenergy, and pythia6Service_.
|
private |
Definition at line 270 of file PyquenHadronizer.cc.
References pfrac_, gen::pyr_(), and random.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 225 of file PyquenHadronizer.cc.
References gen::call_pygive().
Referenced by readSettings().
|
private |
Definition at line 238 of file PyquenHadronizer.cc.
References angularspecselector_, docollisionalenloss_, doradiativeenloss_, nquarkflavor_, pyqpar, qgpt0_, and qgptau0_.
Referenced by readSettings().
bool PyquenHadronizer::readSettings | ( | int | ) |
Definition at line 192 of file PyquenHadronizer.cc.
References abeamtarget_, pfrac_, funct::pow(), pset_, pyqpythia_init(), pyquen_init(), pythia6Service_, gen::Pythia6Service::setCSAParams(), and gen::Pythia6Service::setGeneralParams().
bool PyquenHadronizer::residualDecay | ( | ) |
Definition at line 346 of file PyquenHadronizer.cc.
|
private |
Definition at line 280 of file PyquenHadronizer.cc.
References funct::cos(), funct::sin(), lumiQTWidget::t, and x().
Referenced by generatePartonsAndHadronize().
|
inlineoverridevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 46 of file PyquenHadronizer.h.
References data-class-funcs::classname, myMessageLogger_cff::statistics, and findQualityFiles::v.
void PyquenHadronizer::statistics | ( | ) |
Definition at line 355 of file PyquenHadronizer.cc.
|
private |
Definition at line 66 of file PyquenHadronizer.h.
Referenced by generatePartonsAndHadronize(), and readSettings().
|
private |
beam/target atomic mass number
Definition at line 67 of file PyquenHadronizer.h.
Referenced by pyquen_init().
|
private |
max impact param (fm); valid only if cflag_!=0
Definition at line 73 of file PyquenHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
min impact param (fm); valid only if cflag_!=0
Definition at line 72 of file PyquenHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
angular emitted gluon spectrum selection DEFAULT= 0 – small angular emitted gluon spectrum = 1 – broad angular emitted gluon spectrum = 2 – collinear angular emitted gluon spectrum
Definition at line 71 of file PyquenHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
fixed impact param (fm); valid only if cflag_=0
Definition at line 74 of file PyquenHadronizer.h.
Referenced by generatePartonsAndHadronize(), and PyquenHadronizer().
|
private |
centrality flag =0 fixed impact param, <>0 minbias
Definition at line 75 of file PyquenHadronizer.h.
Referenced by generatePartonsAndHadronize(), and initializeForInternalPartons().
|
private |
|
private |
DEFAULT = true.
Definition at line 79 of file PyquenHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
collision energy
Definition at line 76 of file PyquenHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
if true perform quenching (default = true)
Definition at line 77 of file PyquenHadronizer.h.
Referenced by pyquen_init().
|
private |
Definition at line 81 of file PyquenHadronizer.h.
Referenced by generatePartonsAndHadronize(), and PyquenHadronizer().
|
private |
Definition at line 82 of file PyquenHadronizer.h.
Referenced by add_heavy_ion_rec(), and generatePartonsAndHadronize().
|
private |
Definition at line 98 of file PyquenHadronizer.h.
Referenced by PyquenHadronizer().
|
private |
proper time of QGP formation DEFAULT = 0.1 fm/c; allowed range [0.01,10.0]fm/c;
Definition at line 91 of file PyquenHadronizer.h.
Referenced by PyquenHadronizer().
|
private |
Proton fraction in the nucleus.
Definition at line 85 of file PyquenHadronizer.h.
Referenced by pyquen_init().
|
private |
Definition at line 83 of file PyquenHadronizer.h.
Referenced by nucleon(), and readSettings().
|
private |
Run n&p with proper ratios; if false, only p+p collisions.
Definition at line 80 of file PyquenHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 65 of file PyquenHadronizer.h.
Referenced by readSettings().
|
private |
Definition at line 97 of file PyquenHadronizer.h.
Referenced by doSetRandomEngine(), generatePartonsAndHadronize(), initializeForInternalPartons(), readSettings(), and ~PyquenHadronizer().
|
private |
Events to print if verbosity.
Definition at line 92 of file PyquenHadronizer.h.
Referenced by PyquenHadronizer().
|
private |
HepMC verbosity flag.
Definition at line 93 of file PyquenHadronizer.h.
Referenced by PyquenHadronizer().
|
private |
number of active quark flavors in qgp DEFAULT=0; allowed values: 0,1,2,3.
Definition at line 87 of file PyquenHadronizer.h.
Referenced by pyquen_init().
|
private |
initial temperature of QGP DEFAULT = 1GeV; allowed range [0.2,2.0]GeV;
Definition at line 89 of file PyquenHadronizer.h.
Referenced by pyquen_init().
|
private |
Definition at line 99 of file PyquenHadronizer.h.
Referenced by PyquenHadronizer().
|
private |
Pythia PYLIST Verbosity flag.
Definition at line 96 of file PyquenHadronizer.h.
Referenced by generatePartonsAndHadronize(), and PyquenHadronizer().
|
staticprivate |
Definition at line 56 of file PyquenHadronizer.h.