#include <HydjetHadronizer.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 () |
HydjetHadronizer (const edm::ParameterSet &) | |
bool | initializeForExternalPartons () |
bool | initializeForInternalPartons () |
bool | readSettings (int) |
bool | residualDecay () |
void | statistics () |
virtual | ~HydjetHadronizer () |
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) |
virtual bool | select (HepMC::GenEvent *) const |
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 |
~BaseHadronizer () | |
Private Member Functions | |
void | add_heavy_ion_rec (HepMC::GenEvent *evt) |
HepMC::GenParticle * | build_hyjet (int index, int barcode) |
HepMC::GenVertex * | build_hyjet_vertex (int i, int id) |
bool | call_hyinit (double energy, double a, int ifb, double bmin, double bmax, double bfix, int nh) |
virtual void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
virtual std::vector< std::string > const & | doSharedResources () const override |
bool | get_particles (HepMC::GenEvent *evt) |
bool | hydjet_init (const edm::ParameterSet &pset) |
double | nuclear_radius () const |
void | rotateEvtPlane () |
Private Attributes | |
double | abeamtarget_ |
int | angularspecselector_ |
double | bfixed_ |
double | bmax_ |
double | bmin_ |
int | cflag_ |
double | comenergy |
double | cosphi0_ |
bool | docollisionalenloss_ |
DEFAULT = true. More... | |
bool | doradiativeenloss_ |
bool | embedding_ |
HepMC::GenEvent * | evt |
double | fracsoftmult_ |
DEFAULT = true. More... | |
double | hadfreeztemp_ |
std::string | hymode_ |
unsigned int | maxEventsToPrint_ |
double | maxlongy_ |
double | maxtrany_ |
int | nhard_ |
int | nmultiplicity_ |
unsigned int | nquarkflavor_ |
int | nsoft_ |
int | nsub_ |
double | phi0_ |
edm::ParameterSet | pset_ |
Pythia6Service * | pythia6Service_ |
unsigned int | pythiaPylistVerbosity_ |
double | qgpt0_ |
double | qgptau0_ |
bool | rotate_ |
unsigned int | shadowingswitch_ |
double | signn_ |
double | sinphi0_ |
edm::InputTag | src_ |
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 37 of file HydjetHadronizer.h.
HydjetHadronizer::HydjetHadronizer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 59 of file HydjetHadronizer.cc.
References embedding_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), LogDebug, maxEventsToPrint_, pythiaPylistVerbosity_, and src_.
|
virtual |
Definition at line 112 of file HydjetHadronizer.cc.
References pythia6Service_.
|
private |
Definition at line 128 of file HydjetHadronizer.cc.
References hyfpar, hyjpar, nsub_, nuclear_radius(), and phi0_.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 156 of file HydjetHadronizer.cc.
References crabWrap::convertStatus(), cosphi0_, GenParticle::GenParticle, hyjets, diffTreeTool::index, gen::p, sinphi0_, and x().
Referenced by get_particles().
|
private |
Definition at line 181 of file HydjetHadronizer.cc.
References cosphi0_, hyjets, mps_fire::i, sinphi0_, lumiQTWidget::t, and x().
Referenced by get_particles().
|
private |
Definition at line 351 of file HydjetHadronizer.cc.
References HYINIT.
Referenced by initializeForInternalPartons().
const char * HydjetHadronizer::classname | ( | ) | const |
Definition at line 509 of file HydjetHadronizer.cc.
bool HydjetHadronizer::decay | ( | ) |
Definition at line 491 of file HydjetHadronizer.cc.
|
inline |
Definition at line 50 of file HydjetHadronizer.h.
References data-class-funcs::classname, myMessageLogger_cff::statistics, and findQualityFiles::v.
bool HydjetHadronizer::declareStableParticles | ( | const std::vector< int > & | _pdg | ) |
Definition at line 462 of file HydjetHadronizer.cc.
References gen::call_pygive(), gather_cfg::cout, mps_fire::i, and gen::pycomp_().
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 121 of file HydjetHadronizer.cc.
References pythia6Service_, and gen::Pythia6Service::setRandomEngine().
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 59 of file HydjetHadronizer.h.
void HydjetHadronizer::finalizeEvent | ( | ) |
Definition at line 501 of file HydjetHadronizer.cc.
bool HydjetHadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 198 of file HydjetHadronizer.cc.
References add_heavy_ion_rec(), bfixed_, cflag_, funct::cos(), cosphi0_, MillePedeFileConverter_cfg::e, embedding_, gen::BaseHadronizer::event(), edm::errors::EventCorruption, evt, get_particles(), edm::Event::getByLabel(), gen::BaseHadronizer::getEDMEvent(), edm::HepMCProduct::GetEvent(), HYEVNT, hyflow, hyfpar, hyjpar, input, nhard_, nsoft_, nsub_, phi0_, pypars, pyqpar, pythia6Service_, rotate_, rotateEvtPlane(), funct::sin(), sinphi0_, and src_.
|
private |
Definition at line 268 of file HydjetHadronizer.cc.
References build_hyjet(), build_hyjet_vertex(), GenParticle::GenParticle, hyjets, hyjpar, mps_fire::i, LogDebug, nhard_, nsoft_, nsub_, and HadronAndPartonSelector_cfi::particles.
Referenced by generatePartonsAndHadronize().
bool HydjetHadronizer::hadronize | ( | ) |
Definition at line 486 of file HydjetHadronizer.cc.
|
private |
Definition at line 363 of file HydjetHadronizer.cc.
References angularspecselector_, docollisionalenloss_, doradiativeenloss_, fracsoftmult_, hadfreeztemp_, hyflow, hyjpar, hymode_, maxlongy_, maxtrany_, nquarkflavor_, pyqpar, qgpt0_, qgptau0_, shadowingswitch_, and signn_.
Referenced by initializeForInternalPartons().
bool gen::HydjetHadronizer::initializeForExternalPartons | ( | ) |
bool HydjetHadronizer::initializeForInternalPartons | ( | ) |
Definition at line 441 of file HydjetHadronizer.cc.
References abeamtarget_, bfixed_, bmax_, bmin_, call_hyinit(), cflag_, comenergy, hydjet_init(), nmultiplicity_, nuclear_radius(), pset_, and pythia6Service_.
|
inlineprivate |
Definition at line 132 of file HydjetHadronizer.h.
References funct::pow().
Referenced by add_heavy_ion_rec(), and initializeForInternalPartons().
bool HydjetHadronizer::readSettings | ( | int | ) |
Definition at line 430 of file HydjetHadronizer.cc.
References pythia6Service_, and gen::Pythia6Service::setGeneralParams().
bool HydjetHadronizer::residualDecay | ( | ) |
Definition at line 496 of file HydjetHadronizer.cc.
|
private |
Definition at line 476 of file HydjetHadronizer.cc.
References funct::cos(), cosphi0_, phi0_, pi, gen::pyr_(), funct::sin(), and sinphi0_.
Referenced by generatePartonsAndHadronize().
void HydjetHadronizer::statistics | ( | ) |
Definition at line 505 of file HydjetHadronizer.cc.
|
private |
Definition at line 75 of file HydjetHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 76 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 77 of file HydjetHadronizer.h.
Referenced by generatePartonsAndHadronize(), and initializeForInternalPartons().
|
private |
Definition at line 78 of file HydjetHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 80 of file HydjetHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 82 of file HydjetHadronizer.h.
Referenced by generatePartonsAndHadronize(), and initializeForInternalPartons().
|
private |
Definition at line 86 of file HydjetHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 120 of file HydjetHadronizer.h.
Referenced by build_hyjet(), build_hyjet_vertex(), generatePartonsAndHadronize(), and rotateEvtPlane().
|
private |
|
private |
Definition at line 87 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 85 of file HydjetHadronizer.h.
Referenced by generatePartonsAndHadronize(), and HydjetHadronizer().
|
private |
Definition at line 73 of file HydjetHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
|
private |
Definition at line 95 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 97 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 98 of file HydjetHadronizer.h.
Referenced by HydjetHadronizer().
|
private |
Definition at line 99 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 102 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 106 of file HydjetHadronizer.h.
Referenced by generatePartonsAndHadronize(), and get_particles().
|
private |
Definition at line 107 of file HydjetHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 110 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 109 of file HydjetHadronizer.h.
Referenced by generatePartonsAndHadronize(), and get_particles().
|
private |
Definition at line 105 of file HydjetHadronizer.h.
Referenced by add_heavy_ion_rec(), generatePartonsAndHadronize(), and get_particles().
|
private |
Definition at line 118 of file HydjetHadronizer.h.
Referenced by add_heavy_ion_rec(), generatePartonsAndHadronize(), and rotateEvtPlane().
|
private |
Definition at line 74 of file HydjetHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 128 of file HydjetHadronizer.h.
Referenced by doSetRandomEngine(), generatePartonsAndHadronize(), initializeForInternalPartons(), readSettings(), and ~HydjetHadronizer().
|
private |
number of active quark flavors in qgp DEFAULT=0; allowed values: 0,1,2,3.
Definition at line 112 of file HydjetHadronizer.h.
Referenced by HydjetHadronizer().
|
private |
Definition at line 113 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 115 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 121 of file HydjetHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 123 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 125 of file HydjetHadronizer.h.
Referenced by hydjet_init().
|
private |
Definition at line 119 of file HydjetHadronizer.h.
Referenced by build_hyjet(), build_hyjet_vertex(), generatePartonsAndHadronize(), and rotateEvtPlane().
|
private |
Definition at line 129 of file HydjetHadronizer.h.
Referenced by generatePartonsAndHadronize(), and HydjetHadronizer().
|
staticprivate |
Definition at line 61 of file HydjetHadronizer.h.